I'd really love the surrounding content to "scroll" up/down in like when using Scroll - but would also love the appropriate div to "fade" in.
views:
122answers:
1
+2
A:
Set is opacity to 100% transparent, then do a slide in effect to scroll the content down. Finally, fade the element in again.
Something like:-
$("mydiv").css("opacity", "0").slideDown("normal", function() {$(this).fadeIn("normal");});
rikh
2009-06-11 15:32:06
what'd be the best way to make that a toggle?
hejog
2009-06-11 16:06:52
opacity at 1 is 100% *visible*. opacity refers to how opaque it is. opacity at 0 is transparent.
Jonathan Fingland
2009-06-11 22:23:36
Ooops, you are right. I've changed the 1 to 0.
rikh
2009-06-16 14:58:00