Active
Project:
Tabs (jQuery UI tabs)
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 May 2009 at 18:37 UTC
Updated:
18 Aug 2009 at 20:56 UTC
Hi there,
i've read, that the ui.tabs.js has a cookie functions build in. What is to do, the use this function? Add/Change something in the tabs.js?
Could someone give me a hint. I like to understand what happens between the .module and the js-files.
Cheers Kai
//getter
var cookie = $('.selector').tabs('option', 'cookie');
//setter
$('.selector').tabs('option', 'cookie', { expires: 30 });
Comments
Comment #1
Apfel007 commentedHI there,
could someone help me to figure out that..
I add this to tabs.js
and that to the tabs.module
how can I now set the active-class to the id, the cookie saved? This this is the right function I think.. Thanks for helping me
Comment #2
nedjoI'd welcome a patch to add conditional cookie support.