Yes, just modify the code I provided accordingly. A solution
integrated into the plugin will take some time.
Jörn
On Tue, Oct 21, 2008 at 2:31 PM, evo <[EMAIL PROTECTED]> wrote:
>
> Hi Jörn,
>
> I was wondering how this sets and uses the cookie.
> I also assume I can still use a class rather then
Hi Jörn,
I was wondering how this sets and uses the cookie.
I also assume I can still use a class rather then a html tag to find
the header so h3 could be come .head ?
thanks again
On Oct 21, 1:27 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> var accordion = $("#accordion");
> var index = $
This sounds like something which could definitely work.
Thanks Jörn
On Oct 21, 12:09 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> I'm working on cookie persistence: When accordion is changed, it
> stores the active panel in a cookie, and restores that state on page
> load. Would that solve y
var accordion = $("#accordion");
var index = $.cookie("accordion");
var active;
if (index !== null) {
active = accordion.find("h3:eq(" + index + ")");
} else {
active = 0
}
accordion.accordion({
header: "h3",
active: active,
change: function(event, ui) {
Hi Jörn,
I was wondering if you had anything in a workable state for me to use?
Thanks,
Liam
evo wrote:
This sounds like something which could definitely work.
Thanks Jörn
On Oct 21, 12:09 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
I'm working on cookie persistence: When accordion i
I'm working on cookie persistence: When accordion is changed, it
stores the active panel in a cookie, and restores that state on page
load. Would that solve your problem?
Jörn
On Tue, Oct 21, 2008 at 12:54 PM, evo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've ran into a problem using the accordion
6 matches
Mail list logo