Home › Forums › JavaScript › jQuery slide › Re: jQuery slide
January 31, 2013 at 10:11 am
#82268
Member
Type in `location.hash` into your console. It’s an empty string.
With `location.href.split(‘:’)[2]` it will return `2` with a url ending in `page:2`.
LOL, I’m usually not surprised about anything IE does or doesn’t do. It just has to be different :P
Edit: Oh, I thought you wrote that plugin… I just found it on github, it’s [this line](https://github.com/lautr/asfar/blob/master/source/asfar.jquery.js#L26) that I’m talking about, but nevermind, I see that the second part of the if statement is looking at the `location.pathname` ([ref](https://github.com/lautr/asfar/blob/master/source/asfar.jquery.js#L38))