Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,154,621 members, 7,823,719 topics. Date: Friday, 10 May 2024 at 01:53 PM |
Nairaland Forum / Science/Technology / Programming / Script (816 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)
I Want To Develop My First Web Application, Please I Need Your Suggestions / Kudaisi, The Man Of The Moment / Urgent; Guys Pls How Can I Restore/get A New Stock Rom For My Samsung Duos 2
(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. 8 |