Heya,
I was wondering if anyone knows the php code and script for a background change plz thanks
+ rep btw

Heya,
I was wondering if anyone knows the php code and script for a background change plz thanks
+ rep btw
Heya im Dj Matt on HxL Please to meet ya mwahhh
Theres a javascript one here;
http://www.codebelly.com/javascript/...lorchange.html
Lets set the stage on fire, and hollywood will be jealous.
cheers anyone else i need like a image background one not colors
Heya im Dj Matt on HxL Please to meet ya mwahhh
There's this thing, that was made for situations like this, uhm what's it called...oh yeah GOOGLE.
That's a working one off CodeBelly, (Hint: I used Google). See the result: http://users.decrypterlive.com/~andre/bg/index.htmCode:<html> <head> <title>BG Changer</title> <STYLE type="text/css"> img{ border-color: black; border-width:1px; } </style> </head> <body background="green.png"> <script language="JavaScript"> <!-- // Copyright 2001 by www.CodeBelly.com // Please do *not* remove this notice. var backImage = new Array(); // don't change this // Enter the image filenames you wish to use. // Follow the pattern to use more images. The // number in the brackets [] is the number you // will use in the function call to pick each // image. // Note how backImage[3] = "" -- which would // set the page to *no* background image. backImage[0] = "blue.png"; backImage[1] = "yellow.png"; backImage[2] = "green.png"; backImage[3] = ""; // Do not edit below this line. //----------------------------- function changeBGImage(whichImage){ if (document.body){ document.body.background = backImage[whichImage]; } } //--> </script> <a href="javascript:changeBGImage(0)"><img src="blue_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(1)"><img src="yellow_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(2)"><img src="green_select.PNG" border="0" alt="Blue"></a> </body> </html>
thnx for posting I was looking for this +rep
Chippiewill.
Woah. didnt know the javascript to change background was that simple :S
Coming and going...
Highers are getting the better of me
Wow...That's a working one off CodeBelly, (Hint: I used Google). See the result: http://users.decrypterlive.com/~andre/bg/index.htmCode:<html> <head> <title>BG Changer</title> <STYLE type="text/css"> img{ border-color: black; border-width:1px; } </style> </head> <body background="green.png"> <script language="JavaScript"> <!-- // Copyright 2001 by www.CodeBelly.com // Please do *not* remove this notice. var backImage = new Array(); // don't change this // Enter the image filenames you wish to use. // Follow the pattern to use more images. The // number in the brackets [] is the number you // will use in the function call to pick each // image. // Note how backImage[3] = "" -- which would // set the page to *no* background image. backImage[0] = "blue.png"; backImage[1] = "yellow.png"; backImage[2] = "green.png"; backImage[3] = ""; // Do not edit below this line. //----------------------------- function changeBGImage(whichImage){ if (document.body){ document.body.background = backImage[whichImage]; } } //--> </script> <a href="javascript:changeBGImage(0)"><img src="blue_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(1)"><img src="yellow_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(2)"><img src="green_select.PNG" border="0" alt="Blue"></a> </body> </html>
Woaaaaaaaaaaah I've been searching for this and trying to make one myself for ages and that is SO SIMPLE.
Thanks so much, I would rep but hehe I just joined.
Lol thanksand i found one before hand but forgot to say thanks anyway im sure people would like that i have the same code i found on google toThat's a working one off CodeBelly, (Hint: I used Google). See the result: http://users.decrypterlive.com/~andre/bg/index.htmCode:<html> <head> <title>BG Changer</title> <STYLE type="text/css"> img{ border-color: black; border-width:1px; } </style> </head> <body background="green.png"> <script language="JavaScript"> <!-- // Copyright 2001 by www.CodeBelly.com // Please do *not* remove this notice. var backImage = new Array(); // don't change this // Enter the image filenames you wish to use. // Follow the pattern to use more images. The // number in the brackets [] is the number you // will use in the function call to pick each // image. // Note how backImage[3] = "" -- which would // set the page to *no* background image. backImage[0] = "blue.png"; backImage[1] = "yellow.png"; backImage[2] = "green.png"; backImage[3] = ""; // Do not edit below this line. //----------------------------- function changeBGImage(whichImage){ if (document.body){ document.body.background = backImage[whichImage]; } } //--> </script> <a href="javascript:changeBGImage(0)"><img src="blue_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(1)"><img src="yellow_select.PNG" border="0" alt="Blue"></a> <br> <a href="javascript:changeBGImage(2)"><img src="green_select.PNG" border="0" alt="Blue"></a> </body> </html>![]()
Heya im Dj Matt on HxL Please to meet ya mwahhh
Want to hide these adverts? Register an account for free!