Skip to main content

Search and Top Navigation

#4976 closed bug (worksforme)

Opened November 24, 2009 11:45PM UTC

Closed November 27, 2009 06:01PM UTC

Last modified October 11, 2012 09:15PM UTC

Switch between tabs w/o AJAX, without in-page divs, but with plain old links

Reported by: danchak Owned by:
Priority: major Milestone:
Component: ui.tabs Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

I believe there is a fourth use-case for tabs which is not covered. The three which are covered are:

1. User wants to fill a tab from HTML content found within the DOM

2. User wants to fill a tab from an AJAX request

3. User wants clicking a tab to go to some external source

The fourth case is that you want a click to take you, via non-AJAX request, to a new page that represents one of the tabs, and still shows the tabs. The reason this case exists is that bookmarking and back-button presses are fragile when lots of AJAX is introduced. In the scenario I am describing, the jQuery tab feature is used only for the pretty-ness / extensibility / theme-ability of the tabs, but not for div swapping or AJAX.

So, formally:

Desired behavior:

1. Tabs A,B,C each point to a URL which displays a full page, with content A,B, or C.

2. Clicking a new tab should do a full page reload of the correct page, and highlight the correct tab.

Observed behavior:

When clicking a tab B, the correct data is displayed. However, moments later, the result of an AJAX request loads content for tab A, and causes it to push the correct content down the page.

Attachments (0)
Change History (2)

Changed November 27, 2009 06:01PM UTC by scottgonzalez comment:1

resolution: → worksforme
status: newclosed

You can already set which tab to open when the page loads. I don't see how this isn't sufficient for what you want to do.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted