VELKOMMEN

AmagerErhverv skaber netværk, events og fordele til Amagers erhvervsliv. Bliv gratis medlem i dag! Vi har medlemdfordele til en værdi af kr.

S5 Box
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:


Her bor vi

  • Amager Øst Erhvervsråd
  • Øresundsvej 6
    2300 København S
  • CVR 39088495
  • +45 29 725 725
Vi har cookies
Vi ønsker, at du får en god weboplevelse og benytter derfor cookies. Vi laver statistikker som ikke kun gør din weboplevelse bedre - men også andre besøgende. Dine cookies benyttes til at huske indstillinger og til at generere anonyme statistikker.

Hvis du ikke godkender vores cookies vil du måske få en lidt indskrænket brugeroplevelse.