|
|
I have several problems with your java script download
Return to Recent Questions
Q:
I have several problems with your java script download.
#1. I want that my submenus be the same width as the parent item is there a simple command for this, or do
I have to guess the column widths until it fits correctly?
#2. I am creating a multi-level java script download, can every item have a variable column width?
#3. I have subitems that are longer than the parent items, is there a word wrap or a way to define a break in the java script download,
rather than having the scroll feature?
A:
1) Use Individual Item Styles to achive such effect in java script download.
var itemStyles = [
["itemWidth=120px"],
];
var menuStyles = [
["smWidth=120px"],
];
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], // itemStyles
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , "0", , ],
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ], // menuStyles
2) You should use Individual Item Styles and Individual Submenu Styles.
For example:
var itemStyles = [
["itemWidth=120","itemBorderWidth=1","itemBorderStyle=solid,solid","itemBackColor=#ACF88B,#ACF88B","itemBorderColor=#329309,#329309"], //style0
["itemWidth=100","itemBorderWidth=1","itemBorderStyle=solid,solid","itemBackColor=#FFFFFF,#FFFFFF","itemBorderColor=#1B92E9,#1B92E9"], //style1
["itemWidth=130","itemBorderWidth=1","itemBorderStyle=solid,solid","itemBackColor=#FF9684,#FF9684","itemBorderColor=#EC7575,#EC7575"], //style2
["itemWidth=150","itemBorderWidth=1","itemBorderStyle=solid,solid","itemBackColor=#84F9FF,#84F9FF","itemBorderColor=#00B8C1,#00B8C1"], //style3
];
var menuStyles = [
["smColumns=2"], //style0
];
["Home","testlink.htm"],
["Samples","testlink.htm"],
["|Group 1","", , , , , "0", , , ],
["|Group 2","", , , , , "1", , , ],
["|Group 3","", , , , , "2", , , ],
...
[" More Samples","testlink.htm"],
["|Group 1","", , , , , "3", "0", , ],
["|Group 2","", , , , , "1", , , ],
Where "0", "1", "2", "3" - style number in itemStyles.
3) Try to set the following parameter:
var noWrap=0;
Return to Recent Questions
Related:
- March 12, 2009 - I have problems with image paths when I create net navigation menu in DHTML Tuner.
- March 15, 2009 - I have problems with transitional effects in Firefox in the mouse over drop down menu...
- March 24, 2009 - In java script download creator there's no option for turning the cursor into a hand.
- Apr 10, 2009 - Do we have to change the domain key each time we move the java script download...
- Apr 13, 2009 - I have some problems with multiple down menu button on my site.
- Apr 27, 2009 - In my java script download I'm getting an error - Error: 'floatable' is undefined...
- May 15, 2009 - I can see the down arrows of my java script download on the main page only, how to fix it?
- Jun 01, 2009 - Is there a way to center java script download text because they are left justified now?
- Jul 06, 2009 - Can I create context menus on right click with Java script download?
- Jul 23, 2009 - I can't seem to have a mailto function to work in the java script download.
- Aug 05, 2009 - We have several problems with your css pulldown menu. Please, help to solve these problems!
|