471,598 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,598 software developers and data experts.

Hiding a picture

I want to have a picture that remains hidden until I click on a link.
I don't know how to do this please help!

Thanks!

/MI
Aug 15 '07 #1
5 1138
Hi,

There are many ways this can be done.

1. JavaScript - You can use a onmouseclick event
2. CSS - This will work as a hover rather than a click event

Hope this helps.

TheCSSKing
Jul 31 '08 #2
drhowarddrfine
7,435 Expert 4TB
CSS can do this if you make it visible using a:visited and making the href reference itself but you can't make it invisible and going off page can make it reset.
Jul 31 '08 #3
tharden3
916 512MB
Hi,

There are many ways this can be done.

1. JavaScript - You can use a onmouseclick event
2. CSS - This will work as a hover rather than a click event

Hope this helps.

TheCSSKing
I could be wrong, but I've heard that hover is not supported by IE????
Jul 31 '08 #4
acoder
16,027 Expert Mod 8TB
Hover is supported for a link and is supported for other elements too in IE7 Strict mode.
Jul 31 '08 #5
tharden3
916 512MB
Hover is supported for a link and is supported for other elements too in IE7 Strict mode.
oh, alrighty. I wasn't sure......
Jul 31 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

9 posts views Thread by Steve Loft | last post: by
8 posts views Thread by Rob McLennan - ZETLAND | last post: by
39 posts views Thread by WindAndWaves | last post: by
reply views Thread by Raj Chudasama | last post: by
9 posts views Thread by bob | last post: by
reply views Thread by mcnews | last post: by
10 posts views Thread by Tom Rahav | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.