Making jquery plugins work after an Ajax call
It's gonna be a long post, but I really had enough of trying to fix this. I'm really looking for some help solving my case. First: fade.js : $(document).ready(function(){ $(".gallery ul li img.a").fadeTo("slow", 0.5); // This sets the opacity of the thumbs to fade down to 30% when the page loads $(".gallery ul li img.a").hover(function(){ $(this).fadeTo("slow", 1.0); // This should set the opacity to 100% on hover },function(){ $(this).fadeTo("slow", 0.5); // This should set the opacity back to 30% on mouseout }); }); The problem here is after the ajax call of the next page, the fade stops