|
|
Is there a way to expand only the javascript drop down menus and not the submenus?
Return to Recent Questions
Q:
I'm trying to set the frame parameters to frame name body. I have tried
seven different text items: body, _body, frame name=body, framename=body,
"framename=body", the relative URL, and the exact URL in the titemTarget
parameter (common parameters). Nothing seems to work. It always sets the
target to a new window. What text do I need to enter for the default
parameter to be the body frame target?
Also, is there a way to expand only the menus and not the submenus? There
doesn't seem to be a halfway point. Either all the menus are open, or all
closed. If I set the default to hidden, it is non-functional. If I set it to
expanded, that's not what I'm looking for either.
The menu looks good; other than these two problems it is functioning
properly.
A:
Please, check the following parameter:
var titemTarget="framename";
You can also set item target for each item
["|Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "framename", "", "", ],
Try that.
> Also, is there a way to expand only the menus and not the submenus?
You want to expand only the main items when you load your page?
If it is so you can set expanded items by default.
If you want to expand specific items by default you should set "+"
symbol at the beginning of item text.
["+Deluxe Tree: XP Style","", "default.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", ], // this item is expanded by default
["|Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "framename", "", "", ],
["|Product Info","", "default.files/icon2_s.gif",
"default.files/icon2_so.gif", "", "Product Info Tip", "", "", "", ], // this subitem is not expanded by default
Return to Recent Questions
|