The background previewer script is almost exactly what I'm looking for BUT usable in more browsers than just IE. Any chance of a script that works with NS 6+ and Firefox/Mozilla?
Please?!!
The background previewer script is almost exactly what I'm looking for BUT usable in more browsers than just IE. Any chance of a script that works with NS 6+ and Firefox/Mozilla?
Please?!!
Last edited by janet321; 01-15-2005 at 12:18 AM.
Hi:
That certainly looks possible, I'll make a note of this, and if an update is posted, update this thread.
I hope it can be done. Thank you for considering it!![]()
You may pass image name directly, e.g.:
Code:<html> <head> <script language="JavaScript1.2"> <!-- function tile(mysrc){ document.body.style.backgroundImage = 'url('+mysrc+')'; } //--> </script> </head> <body> <img src="photo1.jpg" onClick="tile('photo1.jpg');"> <img src="photo2.jpg" onClick="tile('photo2.jpg');"> </body> </html>
Thanks, FPit! I'll give your script a try.![]()
Bookmarks