All Lazy-load related Questions

by shabi | 14/01/17 | 1 Answers | Tags : jQuery , Javascript , lazy-load , delay-in-html-load Views : 3921
if you see above code , i made function AutoChangeImage() to change image but i need it should be change image after 2 second and i used for loop to delay it for 2 second for(d=0;d<=2000;d++){ //delay } i am thinking each iteration take one millisecond . i do not think its good way to use for loop to delay it .not good at JavaScript so suggest something more better

Read more

by yogi | 14/01/17 | 1 Answers | Tags : Javascript , lazy-load , page-load-sequence , delay-in-html-load Views : 1968
Page Load Sequence :: header and footer should be load at first but first middle view part should be load after 2 second and second middle view part should be load after 4 second and third middle view part should be load after 5 second so is that possible to load page like in sequence after some second delay. its JavaScript which help to load view part after some delay ?

Read more