How would we know you if we saw you? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//--------->
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jörn Zaefferer Sent: Wednesday, October 04, 2006 4:04 PM To: jQuery Discussion. Subject: [jQuery] Small jQuery demo Hi folks, while I hardly get the chance to use jQuery at work (or even update my blog to use jQuery), I implemented a small script for a page of a friend. I implemented it to work with only one picture, but in FF it already works with two of em. You can see it here: http://www.erdeanthomas.de/ Just wait some seconds, then the pictures on the right should change. You may even spot myself on some of the pictures :-) The interesting code: var img = $('#images'); var loadThumbs = function() { $('<div>').hide().appendTo('body').load('/wp-content/themes/3c-black-let terhead/bilder.php', function() { var self = this; $(this).find('img').load(function() { $('a', img).fadeOut('slow', function() { img.empty().append($('a', self)).fadeIn('slow'); $(self).remove(); setTimeout(loadThumbs, 8000); applyHandlers() }); }); }); }; You simply have to love jQuery :-) -- Jörn _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
