Skip to content

Can't get 'parentEl' parameter to work at all! #4

@beneklisefski

Description

@beneklisefski

Hi Alex,

I can't tell if I'm being thick and missing something obvious, or if this is a bug. As soon as I introduce the 'parentEl' parameter to try to display the slideshow images inside a target box rather than as the entire page background, the image don't show at all.

HTML

`





` ## JS

$("#hero .slides img").slideshowify({ parentEl : "#hero .slides", randomize : false, aniSpeedMin : 8000, aniSpeedMax : 10000, });

It works just fine if I pull out the parentEl param but then the images fill the entire page background rather than the #hero box.

Is there any other way to specify a target?

Here's the generated HTML I get using this code:

`






`

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