Welcome Guest Search | Active Topics | Sign In | Register

slide menu collapse Options
Marcela
Posted: Wednesday, August 1, 2007 9:38:32 AM
Rank: Newbie
Groups: Member

Joined: 6/28/2007
Posts: 6
I asked you previously:
How can i collapse a slide menu item that is expanded, with javascript?

and you tell me:
var menu = eo_GetObject(“SlideMenu1”);

var menuItem = menu.getTopGroup().getItemByIndex(0);

if (menuItem.getSelected())

menuItem.click();

But i have the SingleExpand=true (and i need that) and this code doesn't work until i change this property to false....
I need to collapse all the slide menu items
eo_support
Posted: Wednesday, August 1, 2007 9:44:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Marcela,

As mentioned in the previous reply, you must have SingleExpand to False for that to work. The reason is when SingleExpand is true, it's impossible to collpase the last expanded pane, either by javascript or user code.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.