Home › Forums › JavaScript › [Solved] Small AJAX issue. Please help me out guys › Re: [Solved] Small AJAX issue. Please help me out guys
I tried
$(“#artwork ul”).live(‘load’, function(){
//whatever you want to do
$(‘#artwork li a.quick-view’).css({‘display’ : ‘block’, ‘opacity’ : 0});
$(‘#artwork li’).hover(
function() {
$(this).children(‘.quick-view’).stop().animate({
opacity: 1,
},200);
},
function() {
$(this).children(‘.quick-view’).animate({
opacity: 0,
},400);
}
);
});
});
And also without the ul in the function with .live() attached to it. Did I do it right?
Another note in case it’s important (sorry, I forgot to mention it), the AJAX isn’t being controlled by my jquery, it’s being controlled by php. The site is being built on the Zend Frame work and I’m a front end guy so I don’t have much of any experience in it. Is there anything you could suggest?