Recent Questions Javascript Treeview Folder Example
Q: I am trying to setup a popup tab menu like the one that you have on top part of your web pages (containing items; "Home", "Product Info", "Sample"...).
Right now I am using <div id=""> tag to load everything and break the content into each tab, but it is taking a long time to load everything first then break them down into tabs. So I thought maybe having each tab's content in each page, and have a link to each page would be more efficient. But when I put a link for each tab, for example "link:www.google.com" I get an javascript error saying "tabs[...].id is null or not an object". When I test this straight from Deluxe Tuner, I get the same message.
Can you tell me what I am doing wrong here? Or is there any better way to solve my problem? Thanks in advance.
A: Check that you have style=" visibility: hidden;" for your DIVs
<div id="content1" style=" visibility: hidden; height: 400px;" class="tabPage">
> But when I put a link for each tab, for example
> "link:www.google.com" I get an javascript error saying "tabs[...].id is
You should write:
link:http://www.google.comQ: I 've faced problem in new version v3 of dhtml menu generator.
The problem is visualization of cyrillic fonts I took my js file - just edited it ( adding one menu item) and saved.
I think it's not just browser problem because if reopen js in deluxe menu we can see unreadable text. There are no such problems in V2.4.
A: Yes, this problem was fixed in the new version of dhtml menu generator.
Download the new version from the same link in your license messageand install it.
You should use UTF-8 encoding in that case.
Q: Can data be loaded dynamically in the free drop down menu? For example, can you load the child of a node once the node is clicked on.
A: You can use AJAX like technology.
http://deluxe-menu.com/ajax-technology-menu-sample.html
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>
<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.htmlQ: I use Deluxe-Menu on my website and the nag message "Incorrect Copyright" appears in MS-Explorer V6 (not in Firefox though). How can I fix that?
A: Now you have:
<noscript>
<a href=http://deluxe-menu.com/><br><p>Javascript Menu by Deluxe-Menu.com</a></noscript>
You should write NOSCRIPT tag in the single line:
<noscript><a href=http://deluxe-menu.com/><p>Javascript Menu by Deluxe-Menu.com</a></p></noscript>