Recent Questions Asp Classic Treeview XmlQ: I’d like to know how to populate the navigation bar menu from a database?
A: Please, see the example of .php file.The content of .php file depends on your database structure.
// The example for PHP/MySQL.
// MySQL database has the table "menuTable" that contains data for menu items.
// The table has the following fields:
// 1. "text" - item text
// 2. "link" - item link
// 3. "icon1" - item icon (normal state)
// 4. "icon2" - item icon (mouseover state)
$jsItems = '';
// Select all records from table "menuTable"
$allItems = mysql_query('SELECT * FROM menuTable;');
$jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],';
var menuParam1 = value1;
var menuParam2 = value2;
var menuParam2 = value2;
var menuItems = [
Q: My question is regarding the single user license. I am currently writing a website for use on my companies intranet. The machine I am writing it on will unlikely be the machine that it eventually lives on, which could also quite possibly change as well. Looking at the instructions for the license, it seems I require a domain name for the key. The problem is that the current machine I am using is not in DNS, & even if it were, the machine that it will eventually live on will not resolve to the same name (if it even will have a DNS entry in our internal DNS server). So, does the license look for the name that is specified from the client browser, or does it look internally on the web server itself? I am wondering if I set the web servers hosts file or httpd.conf to reference the name given in the license key taht will allow me to transfer the menu to another server?
A: You can register the menu for a domain name or for IP address.
In other words, you should register the menu for the domain name thatyou print in a browser's search string, for example:
Q: I have a question about your code for drop down menu; I was searching the internet for some programs that could generate a good menu for me. I came across your program deluxe tuner. It said it was freehowever it seems as if you need another program to get this one to work although it looks like deluxe tuner does everything I need to do. Anyways I am having a serious issue. The program generates the navbar perfectly fine, the problem is getting it to import into my web page. I tried the instructions below in dreamweaver CS3 severaltimes. I then tried to do it to a blank web page still nothing. I go into the source code and paste the code that this program generates exactly where I am told to place it then I also place the other code where I would like the navbar to be. Nothing happens I preview my site and I just get a blank page??? I placed the source files under the root of the web folder; I double checked the code to make sure that it is pointing to the source files. The Main .Js file sits in the root folder the same folder that the page is in, and the other .js files sit under a folder called “ NavBar.files “ that deluxe tuner generated for me.What could I possible be missing?? If I need to pay for the program I defiantly will but not until I get an answer on this question.
A: Your installation seems to be correct.
Please, check that you have all files for the code for drop down menu in the correctplaces, for example:
Try also to set exact width for the code for drop down menu, for example:
Q: If there was a way to show the links inside the html code instead of the dhtml menu js files. Shouldwe use an alternative mode as (css Style?)
A: You can move menuItems into html page directly inside <script> ...
var menuItems [
You can also use search engine friendly code and install it on yourpage before you call your dhtml menu js file.
You'll see text links in that case.
To create a search engine friendly menu you should add additional html code within your html page:
To generate such a code use Deluxe Tuner application.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3)