jquery fadein/out
jquery fadein/out
Out of context: Reply #7
- Started
- Last post
- 10 Responses
- Stugoo0
sounds like teh element is toggling a show hide to start with.
I would chain it like this:
$(".infooverlay")
.stop()
.css( { 'display': 'block, opacity : 0} )
.fadeTo(400, 1 );then out
$(".infooverlay")
.hide()
.css({ 'display' : 'none, opacity : 0});