1

I want to develop an entirely ajax backend for a website I'm developing, and I'm looking at using jQuery UI. The tabs widget looks like it could be useful for my menu, however, I want to know if there's a way to load a specific tab dynamically. So basically, if someone entered the URL mysite.com/tab1 it would open the first tab, and tab2 would open the second etc.

Can anyone point me in the right direction?

Thanks

Roham Rafii
  • 2,929
  • 7
  • 35
  • 49
richzilla
  • 40,440
  • 14
  • 56
  • 86

2 Answers2

1

UPDATED

There is no reason why it should not work! ;-)

Ahh! what you are looking for is called Hijax with support for the browser's back/forward navigation buttons and bookmarking. Enhance comparable DHTML driven links as well.

try this:

History/Remote - jQuery plugin solution for hijaxing links and enabling history - http://stilbuero.de/jquery/history/index.html

And also read this:

Community
  • 1
  • 1
Luca Filosofi
  • 30,905
  • 9
  • 70
  • 77
0

Try setting a name property on the tab link ( like so <a name="tab-1" > </a> and then yoursite.com/#tab-1 it will activate your tab :)

Nikola Sivkov
  • 2,812
  • 3
  • 37
  • 63