Skip to content

Create method to disable slideshow #8

@ryndel

Description

@ryndel

For various reason, you may want to disable the slideshow - for a particular screen width, old browser etc.
Create a method to disable slideshow: example code:
slideshow = null;
var $el = $("#slideshow");
$el.unbind();
$el.removeClass("ui-slideshow");
$el.find(".slide").removeClass("ui-slideshow-slide");
// remove inline styles
$el.find(".wrapper").removeAttr("style");
$el.find(".slide").removeAttr("style");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions