[Pro] LazyLoad JQuery

What’s the most efficient way to add a lazyload jquery effect to a website.
http://www.appelsiini.net/projects/lazyload/enabled_fadein.html

Is it better to use Mootool version? MooTools LazyLoad Plugin


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you’re going to do anything else in Freeway (use the effects built in to the app, or the like) then you should use a Prototype-based effect. Here’s how to make a lazy loader for Prototype in Freeway.

  1. Lay out your incredibly tall page.
  2. Make your “loading” image to replace any images below the fold. I used http://ajaxload.com to make a nice spinner in white on gray, then placed it in a gray image box above the top of the page. Preview into a text editor, or view source in a browser, and figure out what the path is to your loading image – mine was ‘Resources/ajaxloader2.gif’.
  3. Apply the Protaculous Action to the page, and select the prototype-packed library.
  4. Copy this code: http://pastie.org/979332.txt
  5. Back in Freeway, click on a blank spot on the page so the page itself is selected, then click on the top Function Body button in the Actions palette. Paste the code in.
  6. Before you close the dialog, make sure the last line is correct – that’s where you specify your loading image.

Preview this in a browser, or better, from your server. The images below the fold will be replaced with the placeholder image until they scroll into view, then their original images will load in.

Walter


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You should remove that, because it’s just going to fight with the rest
of it.

Walter

On May 27, 2010, at 3:27 AM, Paul Everett wrote:

Ok doing it now, does this effect it or should I now remove this
from my last exercise?

also like scriptylightbox, how would I implement a transparent div,
that covers the page until it has finished loading?
is it a transparent div?

also while I am draining you… I really do appreciate all this
what gallery method that has rollovers like current design though
maybe fade in would you suggest that could help with the loading of
the page.

My page loading only takes about 2-3 seconds if that… (with caches
cleared)


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options