Follow the below steps to embed Lazy Load Script in Blogger :
2. Sign in with your Blogger account
3. Go to Dashboard than Design
4. Open Edit HTML
5. Click download template so that you have a backup for that template.
6. Now click ctrl + f to open the search feature
7. Search for </body> tag
8. Now paste the below <script> right above </body> tag.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2' type='text/javascript'/>
<script src='https://sites.google.com/site/merciblogger/jquery.lazyload.mini.js' type='text/javascript'/>
<script type='text/javascript'>
jQuery(document).ready(function($){
if (navigator.platform == "iPad") return;
jQuery('img').lazyload({
effect:"fadeIn",
placeholder: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEyYD_FQM9qT7DdWqFOYEzrx8HIRPY59FBqLRhuDwSK5zNgkTHPmVaIwFeswhn9HWC_uU5V8S6t3jiFjFIckFS27Yyzs5oVrgBSCzRpptahOJaXGD5j0OoNw4J5TGEW1HXOmtnuaK-Ex4/"});
});
</script>





No comments:
Post a Comment