Skip to content

issue with window.location #668

Open

Description

@pavankorupolu

in our website location the address is like in every page is having #$, #?, #&, #' etc. after hash I am having another character which is getting error to add the slider number, usually we can see only # after the link address but in my scenario it is having other character, so, how can I update the script here to match with my address.
Image2
image1

Activity

  1. Mottie commented on May 26, 2020

    @Mottie
    Contributor

    Hi @pavankorupolu!

    There are a bunch of demos on the home wiki page: https://github.com/CSS-Tricks/AnythingSlider/wiki

    These two might be of interest:

    Note: a bunch of demos on the home wiki page are set to use jQuery Edge, which breaks the slider. Change the jQuery version to 3.3.1 or earlier to get the demo to work

    So, in your case, disable the built-in hashTags and use the onInitialized and onSlideComplete callbacks to modify your window location as desired.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions