开发者

how to get browser navigator (back and forward button) button handling for javascript (like jquery)

开发者 https://www.devze.com 2022-12-21 14:06 出处:网络
i need get browser navigator handling example. i\'m using example: imagine for many tab opener. open new tab and switch to main tab opener page and create new tab.

i need get browser navigator handling example. i'm using example: imagine for many tab opener.

  1. open new tab and switch to main tab opener page and create new tab.
  2. close first opened tab.
  3. click browser navigator back button. focus last tab. re click back , focus main tab opener , re click back stay main tab and history back disable. b开发者_Go百科ecause i closed first tab. imagine many probability. for exam: i have 6 tabs and i closed 4th tab. and back or forward and pass to tab 4 if forward button clicked then go tab 5 if press back focus tab 3.

Thanks in advance


Here is another jQuery plugin which might help: http://benalman.com/projects/jquery-bbq-plugin/


jQuery Address

Look at the example here.

It works with tabs and the back and forward buttons.

0

精彩评论

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