PDA

View Full Version : Horizontal accordion "persiststate_bool" option doesn't work with Opera9 and 10



bingel
03-24-2010, 11:00 PM
1) Horizontal Accordion

2) http://www.dynamicdrive.com/dynamicindex17/haccordion.htm

3) Problem is that the "persiststate_bool" option works bad with Opera 9 and 10 (latest version).It works fine only if you use browser "back button" but if you use [F5] (refresh button) it doesn't works: if you open an accordion panel and then if you press the "refresh button" you should not leave this panel, instead Opera reopen the default panel.

You can set this option by this parameter:

selectedli: [int, bool]

"int" parameter sets the accordion content (index) that should be expanded by default when the page loads, "bool" parameter sets whether to enable persistence of the last expanded content (within a browser session).

This last feature doesn't run with Opera 9 and 10 (these are the only Opera versions I have tested).

Anyone knows why?