[jQuery] Re: New plugin - Lazy Load

2007-09-12 Thread Mika Tuupola
On Sep 7, 2007, at 3:58 PM, Erik Beeson wrote: Great stuff, as always. I'm looking over the source and had a couple of thoughts. It looks like you bind an event handler for each matching element, so 100 images will result in 100 event handlers firing on every scroll. That seems like it wou

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Rafael Santos
I havent try it yet, but it works with tabs plugin? On 9/7/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > Hi Mika, > > Great stuff, as always. I'm looking over the source and had a couple of > thoughts. It looks like you bind an event handler for each matching element, > so 100 images will result

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Erik Beeson
Hi Mika, Great stuff, as always. I'm looking over the source and had a couple of thoughts. It looks like you bind an event handler for each matching element, so 100 images will result in 100 event handlers firing on every scroll. That seems like it wouldn't scale as well as just have one event han

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Flesler
The idea is perfect! I'd only say you could combine your plugins, and once the whole page is loaded, you could start loading the lazy images sequentially, so that the user won't have to wait FOR SURE for those images. It would be like "balanced" loading. On Sep 7, 4:59 am, Dan Atkinson <[EMAIL PR

[jQuery] Re: New plugin - Lazy Load

2007-09-07 Thread Dan Atkinson
Thanks for checking it out. I was thinking about this last night. I thought about maybe writing something non-jQuery so that the page would hold off loading images until the page had been loaded to the bottom. But then, I don't want my guys doing that. I might just make an exception and put jQue

[jQuery] Re: New plugin - Lazy Load

2007-09-06 Thread Mika Tuupola
On Sep 6, 2007, at 4:55 PM, Dan Atkinson wrote: Am I right in assuming that this plugin would be redundant if the JS was loaded at the bottom of the page? I'm asking because several of my sites, I don't put JS files in the head for performance reasons. Quick test shows this seems to be the

[jQuery] Re: New plugin - Lazy Load

2007-09-06 Thread Dan Atkinson
Am I right in assuming that this plugin would be redundant if the JS was loaded at the bottom of the page? I'm asking because several of my sites, I don't put JS files in the head for performance reasons. On Sep 3, 11:15 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > Little something I worked on

[jQuery] Re: New plugin - Lazy Load

2007-09-06 Thread Mika Tuupola
On Sep 6, 2007, at 12:54 AM, Andy Matthews wrote: Just FYI, in IE7 none of the images ever loaded, no matter how far I scrolled down. It wasn't until I clicked on each image that they loaded correctly. I forgot to remove some code from demo page. I was testing another new feature. You c

[jQuery] Re: New plugin - Lazy Load

2007-09-05 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently there. http://

[jQuery] Re: New plugin - Lazy Load

2007-09-05 Thread Andy Matthews
er 05, 2007 4:42 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: New plugin - Lazy Load On Sep 3, 2007, at 3:06 PM, Dan Atkinson wrote: > Great work! This would be useful for any number of sites, including a > couple that I'm working on right now. I'd like to adapt it

[jQuery] Re: New plugin - Lazy Load

2007-09-05 Thread Dan G. Switzer, II
>> Great work! This would be useful for any number of sites, including a >> couple that I'm working on right now. I'd like to adapt it so that a >> loading animation is in the placeholder until the image is requested, >> instead of the box that is currently there. > >http://www.appelsiini.net/proj

[jQuery] Re: New plugin - Lazy Load

2007-09-05 Thread Mika Tuupola
On Sep 3, 2007, at 3:06 PM, Dan Atkinson wrote: Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:43 PM, eltom wrote: Looks interesting although it doesn't work in Safari. In Safari the top image loads last. Yes. It is a known issue with Safari which actually load all images whether plugin is used or not. I am currently working on it. -- Mika Tuupola http://www.a

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:22 PM, Tane Piper wrote: Very nice plugin - i notice the page starts off at 177kb and up to 909kb once the full page is loaded - very nice savings!!! Can't wait to try it out on my already heavily optimised code :) Yes. They are heavy images on purpose. To prove the poi

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:06 PM, Dan Atkinson wrote: Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread eltom
Looks interesting although it doesn't work in Safari. In Safari the top image loads last. On Sep 3, 11:15 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > Little something I worked on sunday. > > http://www.appelsiini.net/projects/lazyload > > Plugin which enables deferred loading (lazy loading) of

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Tane Piper
Very nice plugin - i notice the page starts off at 177kb and up to 909kb once the full page is loaded - very nice savings!!! Can't wait to try it out on my already heavily optimised code :) On 9/3/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: > > Little something I worked on sunday. > > http://www

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread David Duymelinck
I tried to reproduce it again but i observed my behaviour better now and it happened when i click on the enable/disable link and then do a shift refresh while the page is still loading. I guess it's not standard behaviour :) -- David Mika Tuupola schreef: On Sep 3, 2007, at 1:35 PM, Davi

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Dan Atkinson
Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently there. I'm looking forward to this being available

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 1:35 PM, David Duymelinck wrote: If i want to switch from disabled to enabled the page keeps on loading and crashed my browser the first time around. Looking at the page load in firebug i noticed http://www.appelsiini.net/mint/? js kept on loading. Could not reproduce.

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread David Duymelinck
Looks like a great plugin but there is something wrong with the demo page in FF. on IE6 i had no problem. If i want to switch from disabled to enabled the page keeps on loading and crashed my browser the first time around. Looking at the page load in firebug i noticed http://www.appelsiini.n

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Felix Geisendörfer
Very cool! That's a great idea to save traffic and optimize load times on image heavy pages. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Mika Tuupola wrote: Little something I worked on sunday. http://www.appelsiini.net/pro