WordPress.org

Plugin Directory

Changeset 530895


Ignore:
Timestamp:
04/14/12 06:11:43 (6 years ago)
Author:
xiaoxu125634
Message:

modify the readme content
add js comment

Location:
simple-lazyload/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-lazyload/trunk/lazyload.php

    r529775 r530895  
    33Plugin Name: simple-lazyload 
    44Plugin URI: http://blog.brunoxu.info/simple-lazyload/ 
    5 Description: This plugin automatically copy image's src value to file attribute, replace src value with a blank image's url before showing, when the page is loaded, lazyload js will decide to load the images' actual content automatically, only when user wants to see them.¡¡¡¡±¾²å¼þʵÏÖÕæʵµÄͼƬ³Ù¼ÓÔع¦Ð§£¬×Ô¶¯±£´æ¡¢Ì滻ͼƬµÄÕæʵµØÖ·£¬Ö»Óе±Óû§ÕæʵÐèÒª¿´µ½Ê±£¬Í¼Æ¬²Å»áÏò·þÎñÆ÷È¥ÇëÇóÄÚÈÝ£¬·ñ×ÅËüÊÇÒ»ÕÅ¿Õ°×ͼƬ£¬¶Ô·þÎñÆ÷ûÓиºµ£¡£±¾²å¼þ¿ÉÒÔÓëauto-highslide²å¼þÅäºÏʹÓã¬Ð§¹û¸ü¼Ñ¡£µ±È»ÄãÒ²¿ÉÒÔʹÓÃÁíÒ»¸ö³¬Ç¿×éºÏ²å¼þ(http://blog.brunoxu.info/auto-lazyload-and-auto-highslide/)À´È¡´úËüÁ©µÄ¹¦ÄÜ¡£ 
     5Description: This plugin automatically copy image's src value to file attribute, replace src value with a blank image's url before showing, when the page is loaded, lazyload js will decide to load the images' actual content automatically, only when user wants to see them.¡¡¡¡±¾²å¼þʵÏÖÕæʵµÄͼƬ³Ù¼ÓÔع¦Ð§£¬×Ô¶¯±£´æ¡¢Ì滻ͼƬµÄʵ¼ÊµØÖ·£¬Ö»Óе±Óû§ÐèÒª¿´µ½Ê±£¬²Å»áÏò·þÎñÆ÷È¥ÇëÇóͼƬÄÚÈÝ£¬·ñÔòÊÇÒ»ÕÅ¿Õ°×ͼƬ£¬¶Ô·þÎñÆ÷ûÓиºµ£¡£¡¡¡¡±¾²å¼þ¿ÉÒÔÓ롾auto-highslide¡¿²å¼þÅäºÏʹÓã¬Ð§¹û¸ü¼Ñ¡£µ±È»ÄãÒ²¿ÉÒÔʹÓÃÁíÒ»¸ö³¬Ç¿×éºÏ²å¼þ¡¾<a href="http://blog.brunoxu.info/auto-lazyload-and-auto-highslide/" target="_blank">auto-lazyload-and-auto-highslide</a>¡¿À´È¡´úËüÁ©µÄ¹¦ÄÜ¡£ 
    66Version: 1.0 
    77Author: Bruno Xu 
     
    3030function simple_lazyload_head() { 
    3131    print(' 
     32<!-- simple-lazyload --> 
    3233<script type="text/javascript"> 
    3334var isJqueryLoaded = false; 
     
    8788needtodoFunctions.push(realize_lazyload); 
    8889</script> 
     90<!-- simple-lazyload end --> 
    8991'); 
    9092} 
  • simple-lazyload/trunk/readme.txt

    r530326 r530895  
    1212== Description == 
    1313 
    14 This plugin automatically copy image's src value to file attribute,replace src value with a blank image's url before showing, when the page is loaded,lazyload js will decide to load the images' actual content automatically,only when user wants to see the images. 
     14This plugin automatically copy image's src value to file attribute, replace src value with a blank image's url before showing, when the page is loaded, lazyload js will decide to load the images' actual content automatically, only when user wants to see them. 
    1515 
    1616This plugin has a more perfect performance working with the "auto-highslide" plugin. 
Note: See TracChangeset for help on using the changeset viewer.