Modify ↓
Ticket #2135 (closed bug: worksforme)
Initializing with a bookmarked tab fails in IE 6
| Reported by: | klaus | Owned by: | klaus |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | ui | Version: | 1.2.1 |
| Keywords: | tabs | Cc: | |
| Blocking: | Blocked by: |
Description
Expected: With an Url like http://stilbuero.de/jquery/tabs_3/#fragment-15 the corresponding tabs should be active.
In IE 6 this doesn't work, also the page scrolls to the given fragment which must be avoided.
Change History
comment:2 Changed 5 years ago by klaus
- Status changed from new to closed
- Resolution set to worksforme
Works for me. Please note that it does not work, if the fragment identifier is changed after the page has been loaded, but that is true for all supported browsers (this was also the case with Tabs 2 and even with history support, so far I couldn't find a fix for this).
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

similarly, when a cookie exists for a certain tab (e.g. #fragment-15) and there's no such tab on the page an error occurs. this happens on ff, dunno in other browsers. is it because there no function to check if the tab exists before trying to activate/load it?