Recent Questions Tree View Menu With Arrow
Q: Can I expand all tree category, or expand two tree category?
I like your javascript menu expand product.
A: You can expand all items in Javascript/DHTML Tree, set:
var texpanded=1;
To expand specific items you should add "+" sign before item's text:
["+Samples Gallery","", "", "", "", "XP Title Tip", "", "1", "0", "", ],
["|+Samples Block 1","", "default.files/icon3_s.gif", "default.files/icon3_so.gif", "", "", "", "", "", "", ],
["||New Sample 1","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", "", ],
["||New Sample 2","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", "", ],
Q: In IE 6.0 and Firefox 1.5.0.4, the dropdown submenus are not visible and it does not float in firefox (floats in IE but no submenus) whereas in Opera 8.53 and Opera 9 it works fully.
A: Now you have two entries of dmenu.js file on your site in the <head> and <body> tags.
You must have only one entry of dmenu.js file.
You should write so:
...
<body>
<script type="text/javascript"> var dmWorkPath = "http://www.gaurangapada.org/data.files/";</script>
<script type="text/javascript" src="http://www.gaurangapada.org/data.files/dmenu.js"></script>
</body>
Please, delete the same code from the tag.
Now you have:
var transparency="0";
That is why you can't see your subitems.
Please, write, for example, so:
var transparency="80";
Q: How can I keep the items in dhtml css menu from opening into a new window when selected?
A: You can set target parameter for all items:
var itemTarget="_self";
or for each item individually:
["Home","testlink.html", "", "", "", "_self", "", "", "", "", "", ],
Q: We are using your menu in a website here under development:
There is a problem with mac browsers - safari and firefox. The flash stops and goes blank when the html menu dropsdown.
We have tried numerous fixed including the one outlined on your website here:
http://deluxe-menu.com/objects-overlapping-sample.html Here is the link to our html menu file link/file to the menus: -> http://domain.org.au/js/menu
Any assistance you can provide would be appreciated.
A: Now you hide your flash on MAC using the following function:
function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;
}
Try to delete this function, try to set the following parameter also:
var dmObjectsCheck = 0;