Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kris A on Jan 15, 2009 13:17
open dhtmlx forum
Accordion defaults when page refreshes

Hi,

I have more than 1 accordion within which there are grids, now, on a page refresh, the current accordion closes and the default
one is shown , is there anyway to handle this.

I want the currently chosen accordion to remain open, irrespective of the page refreshes. Any help would be great.

Best,
Kris A
Answer posted by Support on Jan 16, 2009 04:55
Hello,

You shpuld to save state into cookies and restore it after refreshing.
Answer posted on Jan 20, 2009 11:41

if its not too much trouble can you post a small example code. I have this accordion interworking with php, my application basically generates these accordions based on the current user's privileges.

All i want is, the current user's accordion selection in a php session!! Any help would be great.

Best,

Kris A