WordPress.org

Ready to get started?Download WordPress

Forums

wp-ecommerce.js issue (1 post)

  1. mukesh panchal
    Member
    Posted 1 year ago #

    i have to add fade effect in product image
    that's wy i change js
    like this

    jQuery(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...

Topic Closed

This topic has been closed to new replies.

About this Topic