jQuery fade-in
jQuery fade-in
- Started
- Last post
- 5 Responses
- ernexbcn0
that'd be three-fiddy
- Damn you, monstah. Comin' round to mah house, askin' me fo' tree-fiddy.Continuity
- hans_glib0
my go-to jquery place:
- dunno if it's what you're after thohans_glib
- I haven't found anything there, it was the first place I checked, too. :(Continuity
- spraycanII0
use a call back
like:
$(div div.div_class:eq(0)).fadeIn(100, function(){
$(div div.div_class:eq(1)).fadeIn(100, function(){
etc...
}
})- Where eq(0) is the load order?Continuity
- Thx for this spraycan, it pointed me in the right direction.Continuity
- pillhead0
JQuery Cycle Plugin is great for that.
- I'll dig into it, thxContinuity
- ...but that's not a simple fadein. the fadeIn-function from juery is quite simpler for a simple fadein. but... there is no "onload" in jquery(?)noel
- damn. way to much simples around herenoel
- Continuity0
I ended up doing it like so:
$(function(){
var delay = 100;
$(".folioProject").each(function...
var fade = $(this);
showItem(fade,delay);
delay += 250;
});});
function showItem($o,n) {
setTimeout(function() {
$o.fadeIn(500);
}, n);
}