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

2
  • You want to load content via AJAX, or when someone visits a URL you want that a specific tab to default as the open one? Commented May 29, 2010 at 10:45
  • Ahh! what you are looking for is called Hijax domscripting.com/blog/display/41 Commented May 29, 2010 at 11:25

2 Answers 2

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:

Sign up to request clarification or add additional context in comments.

Comments

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 :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.