Recent Questions
Q: I am using collapsible javascript menu. In the menu are some links to pdf-files.
On clicking them, a new window opens and the pdf is shown.
But to download the file, the right mouse click is necessary, but the field with save link isn't displayed. Any idea to solve this problem?
A: You can try to write your tmenuItems in the following way:
["|<a href='file.pdf' target='_blank'>Open file</a>","", "", "", "", "", "", "", "", ],
But you should create correct style for <a> tag.
Q: How do I make the buttons in my java navigation menu transparent?
I only want to see the letters appear in my table and not the button until I mouse over it?
A: To set transparent background for the menu you should set:
var menuBackColor="transparent";
var itemBackColor=["transparent","transparent"];
Q: I'd like to buy a template for creating a basic vertical javascript popout menu that is image based. Can you tell me which of your products I should consider buying? I'm familiar with html, but not other programming languages.
A: If you want to create javascript popout menu you should buy Deluxe Menu,
http://deluxe-menu.com
See the example here:
http://deluxe-menu.com/image-based-menu-sample.html
You can also use your own images for the menu items.
If item text is empty, icon fields will be used as item images.
For example:
["", "index.html", "itemImageNormal.gif", "itemImageOver.gif", "Home Page"]
Please, try the trial version at first. It has full functionality.
Q: I need to work it with PHP/MySQL. I have found some information on it in your Support section, but have problems to understand and wonder if you have more information or a working sample of the loading bar with PHP/ MySQL.
A: Info about generating menu (menu items )from a database, please, see:
http://deluxe-menu.com/generate-menu-from-database-xml-php-asp-vb-support.html
Please, see the example of .php file.
The content of .php file depends on your database structure.
<?php
// 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)
function getMenuItems()
{
$jsItems = '';
// Select all records from table "menuTable"
$allItems = mysql_query('SELECT * FROM menuTable;');
// Extract items data from database and build Javascript code for menuItems
while ($itemData=mysql_fetch_array($allItems))
{
$jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],';
}
// Return Javascript code
return $jsItems;
}
?>
<script>
var menuParam1 = value1;
var menuParam2 = value2;
var menuParam2 = value2;
...
var menuItems = [
<?php
// Write Javascript code for menu items
echo getMenuItems();
?>
];
</script>