Skip to content

option "toggleArrows" should support theme's custom position #260

@Krinkle

Description

@Krinkle

In a theme of mine I've got:

div.anythingSlider-Foo .forward {
    right: -70px;
}
div.anythingSlider-Foo .back {
    left: -70px;
}

However the following code from jquery.anythingslider.js lines 646/647:

base.$forward.stop(true,true).delay(t1).animate({ right: sign * base.$arrowWidth, opacity: op }, o.animationTime/2);
base.$back.stop(true,true).delay(t1).animate({ left: sign * base.$arrowWidth, opacity: op }, o.animationTime/2);

Which animate to 0 or (arrowWidth) respectively, only supporting the default theme's "left: 0" and "right: 0" on .forward and .backward elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions