Help me read this Javascript and pass the right parameters?
February 20, 2006 1:26 PM
Subscribe
I'm trying to implement some AJAX features in a project, and need help deciphering the possible options and parameters of the
Rico framework's
accordion display.
Specifically, I want to use it as a left-side site menu, ala Outlook. But to be useful, I think it needs to remember its open state as the user moves from page to page -- rather than resetting to a default state each time.
The Rico
JavaScript file has an accordion section which mentions parameters like lastExpandedTab and onLoadShowTab, but I'm not JS-savvy enough to figure out how to achieve what I'm after.
posted by Tubes to computers & internet (4 comments total)
If an "Outlook" look is what you're going for, why are you having users move from page to page at all? Why not simply refresh the content part of the page using AJAX and not modify the left hand Outlook-style accordion section?. This would make the menu not reset automatically, with no work on your part.
Also, it doesn't look like lastExpandedTab is an option. I believe it's used internally by Rico to determine how to animate the div transformations.
posted by null terminated at 1:40 PM on February 20, 2006