|
Can you walk me through the creating of a javascript expanding menu?
Return to Recent Questions
Q:
Can you walk me through the creating of a javascript expanding menu?
I opened DHTML Tuner program to build a javascript expanding menu and there are different categories
such as: common, dimensions, font, appearance etc. I have NO IDEA what to
do?
A:
First of all you should add items to the javascript expanding menu.
Click "Add item" and "Add subitem".
In the "Item parameters" window you can set text, link, target, icons, styles, .js files
for the javascript expanding menu items. But at first you should create Individual Styles. Click "Edit Individual
Style/Add Style" and set different parameters for the style.
Try to set different parameters for the javascript expanding menu.
In the "Preview window" you can see all your changes.
Choose javascript expanding menu orientation:
var isHorizontal = 1; Menu orientation: 0 - vertical, 1 - horizontal.
You can set exact width and height of the javascript expanding menu in the "Dimension"
category.
You should set
var absolutePos=1;
if you want to have absolute positioning javascript expanding menu.
Font style you can set in the "Font" category.
Try also to adjust the following parameters:
var itemSpacing=3;
var itemPadding="3px";
To set color of the javascript expanding menu you should set the following parameters:
var menuBackColor="#FCEEB0";
var menuBorderColor="#C0AF62";
var itemBackColor=["#FCEEB0","#65BDDC"];
var itemBorderColor=["#FCEEB0","#4C99AB"];
Arrows for main items and subitems you can set here:
var arrowImageMain=["default.files/arrowmain.gif","default.files/arrowmaino.gif"];
var arrowImageSub=["default.files/arrowsub.gif","default.files/arrowsubo.gif"];
If want to have floatable or movable javascript expanding menu you should set the following
parameters:
var floatable=1;
var movable=1;
You can also try to apply any template to your javascript expanding menu.
Return to Recent Questions
|