Skip to content

SPANs reduced width #185

Description

@SteMMo33

Hello,
I'm using your wonderful plugin in my project: I defined a list of 5 images, scrolling to right. The images are tagged with onclick handler.
Sometimes happens that some images are not more sensible to the click: I discovered in the developer window that the containing SPAN was resized to 20px.
My code is a series of lines like:

<span onclick="injectCode();"><img src="images/demoSlide/demo_1.png" style="margin-left:20px;background-color:transparent;" /></span>

After the first round of images the plugin add to the style the opacity and width attributes.
The width is almost always equal to 517 and the clicks work well.
Sometimes the width of the SPAN is reduced to 20px so the sensible area is very small.
Is there a reason?

Thanks, regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions