On Nov 20, 1:13 pm, gizze <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I installed the Tab Plugin in my page and I got a question:
>
> Once I'm in the second tab and my page get reloaded, I always return
> to the first tab.
> Is it possible to stay in the second tab after a page reload?
>
> Can someone give me an example ?
>
> Thank you

You can use the cookie option to capture and start on the next load
with the last clicked tab. Simple example:

$('#example').tabs({ cookie: { expires: 30 } });

For more information on cookie options see documentation:
http://docs.jquery.com/UI/Tabs/tabs#toptions. Requires cookie plugin:
http://jqueryjs.googlecode.com/svn/trunk/plugins/cookie/


--Klaus

Reply via email to