WordPress.org

Ready to get started?Download WordPress

Forums

Promotion Slider
[resolved] Slider duplicating image (4 posts)

  1. whiteorb
    Member
    Posted 2 years ago #

    When pressing forward or back, or leaving the page open for a period of time the slider will duplicate the image vertically. This is happening on two completely separate sites both using the twenty ten theme.

    Here's an example of what it looks like.
    http://imgur.com/a/pDG9J

    The slider is located at http://openeye.net and the other is in development.

    WordPress 3.2.1 and Promotion Slider 3.3.1

    Any help would be appreciated.

  2. Micah Wood
    Member
    Plugin Author

    Posted 2 years ago #

    Have you explicitly set a height and width for that slider in the shortcode?

  3. whiteorb
    Member
    Posted 2 years ago #

    Yes I have, however it seems as though the jQuery update resolved the issue.

  4. clazzid
    Member
    Posted 1 year ago #

    hi, im very new in jquery, ive been trying to fix that issue myself for some time, to no true avail, if you click faster than the "fadeOut" time, it bugs, opens new slide under lat one coz last one is still there, wast sure how to fix that, im thinking it needs to disable the next and prev function till fade out complete, but i didnt really understand your code.

    so i came up with a css hack fix
    in promo_slider.js go to the end where to // Add / Remove classes
    and add

    currentItem.css({position: 'absolute', top: '0px', left: '0px'});
    newItem.css({position: 'absolute', top: '0px', left: '0px'});

    and then just add

    .panel:not(.current) {
    visibility:hidden;
    }

    in your stylesheet or anywhere :P
    its a bit funky but works for me
    adding the first lines in css didn't work, apparently because the "current" class wasn't applied on load all the times,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic