开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜