Help - Search - Members - Calendar
Full Version: Do anyone know the codes for 'alert that pop up when u click on the picture'..=.="?
Forums > Resource Center > Webmasters' Corner > Resolved Topics
innocent_boyZ
Ok.. the title says it all biggrin.gif ...can somebody please 'enlighten' me on this? laugh.gif ...i use this codes but it didn't work... whistling.gif

<a href="http://www.friendster.com/example"><img src="http://www.geocities.com/tata/Vpic.jpg"onClick='alert("You Caught a shoe!")'border="0" width="150" alt="Copyrighted Aznxzerokid" /></a>

ThankZ in advance..
BonneVache
I just tested your code & it worked in firefox. An alert displayed and the page then redirected to the linked url.


Firefox 1.5.0.7 os x, safari 2.04 gave the same result.
innocent_boyZ
thank BonneVache.. happy.gif ...i just tested it again and it worked on firefox and IE..it's just my stupid mistake for trusting the 'preview'... laugh.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.