lazy load not working
-
Hello, I tried to apply this code here http://www.appelsiini.net/projects/lazyload[^] But the picture does not appeare, I do not know what is the problem this is my code here
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="jquery.js" type="text/javascript"></script> <script>$("img.lazy").lazyload();</script>
<script src="jquery.lazyload.js" type="text/javascript"></script>
<title>Your Website</title>
</head><body>
</body>
</html>
Can any one give me some help please!
-
Hello, I tried to apply this code here http://www.appelsiini.net/projects/lazyload[^] But the picture does not appeare, I do not know what is the problem this is my code here
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script src="jquery.js" type="text/javascript"></script> <script>$("img.lazy").lazyload();</script>
<script src="jquery.lazyload.js" type="text/javascript"></script>
<title>Your Website</title>
</head><body>
</body>
</html>
Can any one give me some help please!
-
I try your code. It doesn't work. but below code works fine. Hoping it will help you. $(function() { $("img.lazy").lazyload(); });
Thank you, I had to put the script before the end tag of body. It does not work in the head.
-
Thank you, I had to put the script before the end tag of body. It does not work in the head.
check your image path first is that one ok?