AnythingSlider icon indicating copy to clipboard operation
AnythingSlider copied to clipboard

issue with window.location

Open pavankorupolu opened this issue 5 years ago • 1 comments

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

pavankorupolu avatar Apr 27 '20 17:04 pavankorupolu

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:

  • http://jsfiddle.net/Mottie/ycUB6/11837/
  • http://jsfiddle.net/Mottie/ycUB6/11836/

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.

Mottie avatar May 26 '20 11:05 Mottie