Url Hash Based Slider
JS Fiddle Original Idea / Another version of this question Attention! The other version of this idea/the original idea has been answered so if the other version works for you, your
Solution 1:
What I think you need is an event interception on the hashchange event:
$(window).hashchange( function(){
// Do something when the hash changes// alert( location.hash );
});
If you also use Ben Alman's fabulous hashchange plugin (0.8kb), it will also ensure the event is polyfilled into browsers that don't support it.
Post a Comment for "Url Hash Based Slider"