Recent Questions Jquery Simple Tree Onmouseover ErrorQ:
My site requires me to regularly update the drop down menu by inserting a new item at the top of the list. A: Add items using the following function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Adds the new item to a submenu.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
iParams = [array] - the array of item parameters.
This parameter has the same structure as an item in menuItems array.
You can assign parameters of another existent item of the menu
(for example, when you want to create a duplicate of the existent item) or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.
Find more info:
I'm currently experimenting with your script which I far more performant than any of the other I have tried so far, so we will probably go with yours and get a distributer license.
I do have a problem though...
I have two menus on my site.
Unfortunately, as they are being used, if you go over the first item in the left menu, it will show its submenu at the top; if you go over the first item of the top menu, it will also show the contents of the second menu...
How can we change this? A: Installation of your menu is not correct.
See more info about installation here:
There is no
parameter on your page.
Notice also that you should call dmenu.js file only once and then callyour data files.
Now you have two calls of dmenu.js file.
We are facing some problem, in our css drop menu. Please Advise -
When we used "Helvetica" font in deluxe menu, the css drop menu expand, if the above font not installed in user machine.
I would please request you to kindly assist me on the same as the client is getting impatient.A: It is normal behaviour if there is no such font on the user machine.
You can try to write fonts in the following way:
"fontStyle='bold 12px HelveticaNeue Condensed, Trebuchet MS','bold 12px HelveticaNeue Condensed, Trebuchet MS'"
var itemStyles = [
["itemBackImage=top.files/,top.files/menuhoverbg.gif","fontStyle='bold 12px HelveticaNeue Condensed, Trebuchet MS','bold 12px HelveticaNeue Condensed, , Trebuchet MS'","fontColor=#FFFFFF,#FFFFFF"],
["itemBackColor=#504B48,#7E7666","fontStyle='bold 12px HelveticaNeue Condensed, Trebuchet MS','bold 12px HelveticaNeue Condensed, Trebuchet MS'","fontColor=#FFFFFF,#ffffff"],
Find another font similar to your font and write it through a comma.If there will be no HelveticaNeue Condensed font on the user machinethe font will be Trebuchet MS.
You should choose the second font among the following fonts:
Times New Roman
These fonts are installed on the most of windows computers.