wp-ecommerce.js issue
-
i have to add fade effect in product image
that’s wy i change js
like thisjQuery(document).ready(function(){
jQuery(‘.attachment-gold-thumbnails’).click(function(){jQuery(this).parents(‘.imagecol:first’).find(‘.product_image’).attr(‘src’, jQuery(this).parent().attr(‘rev’));
jQuery(this).parents(‘.imagecol:first’).find(‘.product_image’).parent(‘a:first’).attr(‘href’, jQuery(this).parent().attr(‘href’));
jQuery(‘.product_image’).fadeOut(500, function () {
}).fadeIn(500);
return false;
});
});but problem is not solve yet i add fade effect in image.
but image come first then the effect is work..need help…
- The topic ‘wp-ecommerce.js issue’ is closed to new replies.