Recent Questions Directory Tree Engine Javascript
Q: I have a transparent dhtml menu located at the bottom of the page with just one level of submenus. On larger screens, the submenus open either upwards or downwards, depending on how many items are in the transparent dhtml menu.
Can I set the submenu's to always open upwards?
A: Try to set the following parameter:
var subMenuVAlign="top";
Q: We are an enterprise license holder and have recently purchased JavaScript Tree Menu and are transitioning to it smoothly except for one minor annoyance; the first dhtml div menu item's submenu always has a gap between the browser’s left side as shown below. This happens for Internet Explorer 6, 7 and Firefox 2 and 3.04b.
If I move the menubar to the right about ten pixels, the submenu's left side will line up with the word "Search" as it should. Every other submenu on the dhtml div menu appears directly beneath its menubar item except for the very first one on the left. I’ve tried using a few of the example configurations but they all experience the same behavior.
The installation is in a multi-framed environment.
A: You should change dmenu.js file. Open it in any text editor and find:
space=15;
Change it to:
space=0;
Q: Ich habe ein Problem mit submenus. Es erscheint, dass es eine Grenze auf der Breite eines submenu Punkt undals ein concequence gibt, wenn Sie den Punkt herumdrehen, zwingt es den Kasten, nach rechts zu rollen. Gibt eseine Kappe auf der Breite von submenu Punkten? Ich kann nicht scheinen, diese Ausgabe aufzuheben.
Es geschieht, wenn ich sowohl CSS als auch die Standardaufstellung auf dem Menü benutze.
A: Sie sollen die Folgenden Parameter setzen:
var smWidth="";
var smSmartScroll=1;
>Kehren Sie zu Neuen Fragen zurückQ: Everything will go fine during setup, until I get further into it, I will get an error. It says error on a line of text that isnt even there. The line of text does not exists. Please let me know how I can correct this issue and get the program running right.
A: See, it is not correct to write " symbols within menuItems:
["||A23 (3" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A23+%283%22+DIAM%29",
Try to write your last items in the following way:
["||A15 (2" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A15+%282%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],
["||A19 (2.5" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A19+%282%2E5%22+DIAMETER%29", "", "", "", "", "", "", "", "", "", ],
["||A21 (2.6" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A21+%282%2E6%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],
["||A23 (3" DIAM)","http://www.interlight.biz/products.int?Category=INCANDESCENT&Subcat=A+SHAPE&Dept=A23+%283%22+DIAM%29", "", "", "", "", "", "", "", "", "", ],