Recent Questions Vertical Line Problem Firefox Ie8 Treeview
Q: Is there a way with your script drop down menu to make the menus appear to be expanded when on a certain page?
A: No, unfortunately there is no way to expand JavaScript Tree Menu.
You can try to use Javascript/DHTML Tree, http://deluxe-tree.com in that case.
You can expand specific items in Javascript/DHTML Tree using
dtreet_ext_expandItem ()
function.
Find more info here:
http://deluxe-tree.com/functions-info.htmlQ: May I use this menu in Arabic mode I mean in right to left mode?
If yes please let me know how?
A: You're able to use any characters for JavaScript Tree Menu in the same way asyou use them for standard html page.
The only issue is that submenus can be shown in incorrect positionwhen you're using dir=rtl for your page.
var dmRTL = 0;
Set this parameter to 1 if you're using right-to-left direction of html page <HTML dir=rtl>.
Use also
var smViewType = 2;
for right-to-left languages.
Please, see example:
http://deluxe-menu.com/ways-showing-submenus-sample.html
This examples demonstrates how the menu can change a submenusdirection. Use var smViewType parameter to change a submenusdirection:
var smViewType = 0..3;
Values:
0 - from left to right;
1 - from left to right + upwards;
2 - from right to left;
3 - from right to left + upwards;
In JavaScript Tree Menu when you call data .js file you can try to specify the encoding:
<script src="data.js" charset="utf-8"></script>
Unfortunately, you can't use arabic characters in Deluxe Tuner application.You should manually correct your code.
Q: Is there a property in the data.js file - or any other file - where the pulldown menu can be hidden initially until needed?
A: You can hide the menu onload
document.getElementById('dm0m0').style.visibility = "hidden";
And then show the menu when your user will be validated.
Q: Extremely new at this and likely way over my head…..but why when I attempt to use my own button image in the “itemBack Image” selection under “Edit Individual Styles” does it keep showing up blank in the preview screen?
A: Please, check all your paths.
You can also use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.