...

View Full Version : Text Link to Display and Image



tcade@fuse.net
01-14-2004, 02:12 AM
Need help! New programmer...

I need to create a page that will have a text link that when the users clicks, an image will display on the same page.

Can anyone help??

Thanks so much!

glenngv
01-14-2004, 02:49 AM
<a href="myimage.jpg" onclick="document.images['pic'].style.display='inline';return false">Show Image</a>
<img src="myimage.jpg" name="pic" style="display:none">

tcade@fuse.net
01-14-2004, 03:06 AM
Thanks again Glenn!

One more thing, how can I add onMouseover and onMouseout to that picture?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum