Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,243 members, 7,953,916 topics. Date: Friday, 20 September 2024 at 08:52 AM |
Nairaland Forum / Science/Technology / Programming / Script (830 Views)
(1) (Reply)
Script by legendmic: 5:11pm On Dec 27, 2013 |
<!DOCTYPE html> <html> <body> <script> function changeImage() { element=document.getElementById('myimage') if (element.src.match("bulbon") { element.src="pic_bulboff.gif"; } else { element.src="pic_bulbon.gif"; } } </script> <img id="myimage" onclick="changeImage()" src="pic_bulboff.gif" width="100" height="180"> <p>Click the light bulb to turn on/off the light</p> </body> </html> |
Re: Script by legendmic: 5:15pm On Dec 27, 2013 |
|
(1) (Reply)
Top 10 Risks Worth Considering When Expanding IT Business In Africa / Need Help On Visual Basic. / Building A Naija Based Creative Messenger App With Paullo240
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |