From 1898bfa9f09a3276b7126e6ef672aa9fc241da92 Mon Sep 17 00:00:00 2001 From: Mika Tuupola Date: Sat, 15 Mar 2008 13:19:04 +0000 Subject: [PATCH] Show source in example pages. --- enabled.html | 7 +++++++ enabled_fadein.html | 15 ++++++++++++--- enabled_gazillion.html | 13 +++++++++++-- enabled_timeout.html | 2 +- enabled_wide.html | 7 +++++++ 5 files changed, 38 insertions(+), 6 deletions(-) diff --git a/enabled.html b/enabled.html index 89fe28f8..a80430de 100644 --- a/enabled.html +++ b/enabled.html @@ -60,6 +60,13 @@

Plugin enabled

disabled.

+ +
+ $("img").lazyload({         
+     placeholder : "img/grey.gif"
+ });
+
+ BMW M1 Hood
BMW M1 Side
Viper 1
diff --git a/enabled_fadein.html b/enabled_fadein.html index 73ad236c..dae11a0c 100644 --- a/enabled_fadein.html +++ b/enabled_fadein.html @@ -54,15 +54,24 @@

Lazy Load


-

Plugin enabled

+

Plugin enabled with fadein effect

Images below the fold (the ones lower than window bottom) are not loaded. When scrolling down - they are loaded when needed. Shift-reload to test again. Compare this to page where plugin is - disabled. + they are loaded when needed. Images appear using fadeIn + effect. Shift-reload to test again. Compare this to page where plugin is + without effects.

+ +
+ $("img").lazyload({
+     placeholder : "img/grey.gif",       
+     effect      : "fadeIn"
+ });
+
+ BMW M1 Hood
BMW M1 Side
Viper 1
diff --git a/enabled_gazillion.html b/enabled_gazillion.html index 279f38b0..944265a6 100644 --- a/enabled_gazillion.html +++ b/enabled_gazillion.html @@ -13,12 +13,14 @@ _uacct = "UA-190966-1"; urchinTracker(); - +