Search Our Site

咨询热线:400-160-1985(中国)    +1-302-476-2656(美国)
注册
images/slide/wxh-slide01.jpg
40万
全球校友
37年
办学经验
18名
国家重要领导题词
9215门
视频课程
The lazy load script is a great way to save bandwidth and load your pages much faster. Images that are not visible on the initial page load are not loaded or downloaded until they come into the main viewing area. Once an image comes into view it is then downloaded and faded into visibility. Scroll down this page to see the script in action.

Setup is very easy! By default this script is disabled, in order to enable it simply choose All Images or Individual Images from the drop down, as shown below from inside the template configuration page.



All images will load every standard image on the page with lazy load. There is no extra configuration or extra code to add with this configuration, it will just happen automatically. Individual images would be used if you want only certain images to load with this script and not all of them. To do this simply add class="s5_lazyload" to the image like so:
<img class="s5_lazyload" src="http://www.yoursite.com/image.jpg"></img>


This script is compatible with Firefox3+, IE8+, Chrome14+, Safari5.05+, Opera 11.11+

See the script in action:


想语音咨询吗?欢迎拨打:
400-160-1985 (中国)
302-476-2656 (美国)

专科、本科、硕士、博士、研修、研学
全球艺术远程教育祖庭

优秀校友

Prev
Next
中国书画国际大学的课程让我掌握了水墨山水画的创作技法。非常感谢教授们的细心指导!
通过在中国书画国际大学的学习,让我可以用水墨的语言来进行艺术表达,希望能与大家共同进步!
Maria Helfcoff
中国画专业
Brian Waldof
中国画专业