Recent Questions Java Tree Menu Gratis
Q: I purchased the most recent version of "JavaScript Tree Menu & Tree & Tabs & Window Multiple Website License", and now can't open menus from previous versions. When I try to open a custom drop down menu that was created in an older version, I get the error:
Can't open the file:
c:\webs\ltron\ltronmenudata.js
Check youre encode parameter
This happens on all of the older menus that we're trying to update............Do I have to run some type of conversion program on older menu files?
Please let me know as quickly as possible.........we have over 100 custom drop down menus out there and now it seems that we can't edit them!
A: This message means that you should change the encoding:
"Tools/Use utf8 encode"
Change this setting and then open your data files.
Q: I have looked through the FAQS on your site, but can’t find a clear answer to this questions:
Can a menu submenu dhtml be triggered to an open state upon onload?
I can get the top level menu over state to show, but the drop downs won’t open.
A: Unfortunately it is not possible to highlight the pressed menu submenu dhtml itemin JavaScript Tree Menu now. You can highlight the top items only.
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>
Q: I would like to use dhtml popup window in response to a mouse click on a picture.
A: To open your window on mouse click you should do the following:
<a title="Click to open the window" href="javascript:;"
onclick="deluxePopupWindow.open('win', '<img class=\'border0\'
src=\'../images/Tige/CabinetMod/Tige_CabinetMod04.JPG\' alt=\'Gasket
mount\'>', 'Full Image', 'width=180,height=270,resizable,scrollbars=no,middle,right,fade-effect', 'windowsvista_graphite')">
lt;img class="border0" src="../images/Tige/CabinetMod/Tige_CabinetMod04_small.JPG" alt="Gasket mount"></a>.