468,103 Members | 1,307 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

image link tha disapears after 2 seconds

Mel
i like to place an image link on my page that stays up for 2 seconds
and user can interact with. if no interaction in 2 seconds the image
and the link should disapear

please help

Feb 16 '06 #1
5 1516
Mel wrote on 16 feb 2006 in comp.infosystems.www.authoring.stylesheets:
i like to place an image link on my page that stays up for 2 seconds
and user can interact with. if no interaction in 2 seconds the image
and the link should disapear


Not very nice to the user.

Beter follow up in a javascript group. CSS as such is static.

<script type='text/javascript'>
function thatSmean(){
document.getElementById('myImgLink').style.display ='none'
}
</script>
<body onload='setTimeout("thatSmean()",2000)'>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 16 '06 #2
"Mel" <Me*******@gmail.com> wrote:
i like to place an image link on my page that stays up for 2 seconds
and user can interact with. if no interaction in 2 seconds the image
and the link should disapear


Why?

--
Spartanicus
Feb 16 '06 #3
Spartanicus wrote:
"Mel" <Me*******@gmail.com> wrote:
i like to place an image link on my page that stays up for 2 seconds
and user can interact with. if no interaction in 2 seconds the image
and the link should disapear


Why?


Why so you want to know?

--
Gus
Feb 16 '06 #4
Evertjan. wrote:
Mel wrote on 16 feb 2006 in comp.infosystems.www.authoring.stylesheets:
i like to place an image link on my page that stays up for 2 seconds
and user can interact with. if no interaction in 2 seconds the image
and the link should disapear


Not very nice to the user.

Beter follow up in a javascript group. CSS as such is static.


lol - I'd love to see what some of the regulars on clj have to say
about that proposal... :>

Feb 16 '06 #5
Check this out. They have an effect that fades.

http://developer.yahoo.net/yui/index.html

Dan

Feb 17 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by ebobnar | last post: by
4 posts views Thread by Charles Crume | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.