Persistent URLs with a jQuery Slider
I've created a simple jQuery slider for my web开发者_Python百科site, and I was wondering if it's possible to assign a URL for each pane.
For example /index.html#about will slide to the about tab by default.
Many thanks for your help and responses.
Try extending this:
http://www.stilbuero.de/jquery/history/
It could be done programatically in JavaScript (with jQuery). You should parse the page URL (from document.location), extract everything after "#" and use this data to initialize your slider.
精彩评论