Recent Questions Collapsible Tree JqueryQ: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
itemPadding=0px 5px 0px 25px
top right bottom left
Q: Is it possible set a menu item to pressed when a page is loaded when you have multiple drop down menus on the page?
A: See the first parameter in
dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
function is index of the menu.
So, if you use several menus on the one page you should use differentmenuInd parameter.
For example you have:
So, for the second menu you should write:
dm_ext_setPressedItem (1, 2, 5)
Q: I’m setting an after item image as follows (this code was generated by Deluxe Tuner, not by hand/text editor):
As you can see, the after item image is not appearing in my access drop down menu – do you have any idea why that would be/how to fix?
A: You should create Individual style and assign it for the top access drop down menu items:
var itemStyles = [
["itemBackImage=designimgs/blank.gif,designimgs/blank.gif", "beforeItemImage=designimgs/blank.gif,designimgs/blank.gif", "afterItemImage=designimgs/btn-ico.gif,designimgs/btn-ico-active.gif", "beforeItemImageW=1","afterItemImageW=8", "beforeItemImageH=1","afterItemImageH=7","itemBorderWidth=0"],
Q: I'm having trouble getting some of my drop down menu scripts 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", ],