Recent Questions
Q: How do I add padding around a top item in the javascript menu buttons?
A: You should specify itemPadding parameter in "px".
You shouldadd "px" in your style for subitems:
var menuStyles = [
["menuBackColor=#F2F3F2","menuBorderWidth=0","itemSpacing=1","itemPadding=4px","smOrientation=undefined"],
];
Notice also that you can set multiple value for itemPadding parameter,for example:
itemPadding=4px 10px 4px 10px// top right bottom left
Q: I'm having trouble getting some of my dhtml menus free opening in the frm2. If you look under products, then Hard drives, then Rugged Airborne .....this one and Rugged Ground will not open in frm2 but the Contact Us and Get Quote are working fine. Can you help me get these things to open in a frm2.
A: You should write your menu items correctly.
Now you have
["||Rugged Airborne","../RuggedAirborne.htm","Airborne,"frm2","0", ],
["||Rugged Ground","../RuggedGround.htm","Ground","frm2","0", ],
it is not correct.
You should write:
["||Rugged Airborne","../RuggedAirborne.htm","","","Airborne,"frm2","0", ],
["||Rugged Ground","../RuggedGround.htm","","","Ground","frm2","0", ],
Q: The dhtml floating menu does not align to the top of the column and it migrates as one scrolls up or down the page. I would like it to stay in one place.
A: 1) Add valign="top"> parameter for the TD tag with the menu:
<td valign="top">
<script type="text/javascript" src="welcome_files/frenchdata.js"></script>
2) Open your frenchdata.js file in any text editor (or Deluxe Tuner) and change:
var absolutePos=0;
var posX="20px";
var posY="120px";
to
var absolutePos=0;
var posX="0px";
var posY="0px";
3) To turn off the floating feature you should set the following parameter in yourfrenchdata.js file:
var floatable=0;
Q: How can I set Individual Style using dhtml menu creator?
A: 1) Click "Edit Individual Styles..." button.
2) In the "Individual Styles" window click "Add Style".
3) Set itemWidth parameter.
4) Click "OK" button.
5) Select your top items and assign "Item Style" to it. (in the "ItemParameters" window)