i am using http://davidwalsh.name/lazyload-plugin when i run it giving a error in console as "Uncaught ReferenceError: Class is not defined". i added code as below
<script src="lazyload/Source/LazyLoad.js"></script>
then downside
<script>
/* do it! */
window.addEvent("domready",function() {
var lazyloader = new LazyLoad();
});
</script>
and in body for images i am using as below.
<img alt=\"\" src=\"lazyload/Assets/blank.gif\" data-src=\"{$v['image_path']}\" style=width:auto;height:200px;max-height:200px>
where $v['image_path'] is dynamic. What is the problem causing that error please help me.