Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with window.location #668

Open
pavankorupolu opened this issue Apr 27, 2020 · 1 comment
Open

issue with window.location #668

pavankorupolu opened this issue Apr 27, 2020 · 1 comment

Comments

@pavankorupolu
Copy link

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

@Mottie
Copy link
Contributor

Mottie commented May 26, 2020

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
Projects
None yet
Development

No branches or pull requests

2 participants