Recent Questions Yui Treeview State CookieQ:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Shows/hides the item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0. See more info about indexes here.
visibility = true/false - visibility of the item.
More info you can find here:
I am curious why there are no font settings for "Individual Styles" for"Submenu styles".
Basically I want to have a different font and color for my submenu items so they appear differently than the normal primary Items - but it seems there is only two options for fonts:
- The global font parameters affecting all fonts (primary and sub).
- And the Individial Styles for primary Item Styles.
Why no font paramenters for Submenu Items? A: You can assign Item Style for the submenu item too.
See the example:
var itemStyles = [
["fontStyle=normal 13px Comic Sans MS"], //item style 0
var menuStyles = [
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], //item style 0
["||How To Setup","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , "0", , , ], //item style 0
How can I have the sub tab option that initiated the action highlighted once the new page is reloaded? I want to highlight the tab which is done with 'bselectedItem', please tell me about the sub-tab option.A: See you cannot create subitems in
it is not correct.
You should set
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
var bselectedSmItem=5; </script>
If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.
It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.
More info about cross-frame mode you can find here: