Recent Questions Extended Menu Csstree
Q: I want to be able to pull information into dynamic drop down menu from the mysql database.
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files, so,
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2008, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
Q: We are implementing your licensed drop down menu in dhtml on our new site and it does not appear to work in Firefox.
A: Now you have:
var transparency="";
it is not correct.
You should set, for example:
var transparency="100";
Try also to set:
var itemPadding="0px 15px 0px 15px";
Q: I follow the installation instructions, but I’m getting the error "dmObjectsCheck is undefined" in my javascript popup menu.
What is it wrong?
A: You should open your data file in Deluxe Tuner and save it.
Check also that you've set the following parameter:
var shadowLen="0";
Q: I have been using the DHTML Menu program for years and they are working good.
But I found an office where the javascript tree menu example just simply does'nt appear.
I am curious about it, why just in that office the Menu is not working.
I can note than other javascript routines I put on my page are not working neither.
Can you give me some idea of what can I check on the computers?
Something on the explorer? (IE6) , or a kind of program?
A: Your browser has JavaScript option disabled.
It means that no one JavaScript element can be run.
You should to enable JavaScript in IE:
Tools -> Internet Options -> Security -> Custom level... -> Scripting -> Active Scripting = Enable
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
You can use search engine friendly code, so you'll see all yourlinks (for the main items and submenus) when your security settings in IE doesn't allow Javascript.
You can generate search engine friendly code.
JavaScript Tree Menu is a search engine friendly menu since v1.12.
To create a search engine friendly menu you should add additional html code within your html page:
<div id="dmlinks">
<a href="http://deluxe-menu.com">menu_item_text1</a>
<a href="http://deluxe-tree.com">menu_item_text2</a>
...etc.
</div>
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).