inherit
18398
0
Sept 18, 2006 12:56:25 GMT -8
Moonunit
78
January 2004
moonunit
|
Post by Moonunit on Sept 2, 2005 15:34:41 GMT -8
Is there a code that allows me to put the address of where my board buttons are placed. So it changes all the images on the board to my images automatically.
Instead of having to manually imput the address of every image?
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Sept 2, 2005 16:35:59 GMT -8
Assuming all your images have the exact same filename and sub-path as the ProBoards images, and you have every single image hosted included subtle ones like the poll image bar and weird stuff like that, you can use this:
<script type="text/javascript"> <!-- var yourPath = "PATH TO IMAGES, NO SLASH ON END"; for(i=0;i<document.images.length;i++) if(document.images.src.match(/v4images\/)) document.images.src = yourPath+document.images.src.split('v4images')[1]; // --> </script>
Global Footer
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Sept 3, 2005 5:14:01 GMT -8
Is there a code that allows me to put the address of where my board buttons are placed. So it changes all the images on the board to my images automatically. Instead of having to manually imput the address of every image? Use code support next time please
|
|