Recent Questions Javascript Tree Method
Q: I am trying to use the Drop Down Menu in a perl script. I would like to know if this is possible?
A: You can use javascript menu in a perl script. Please, see the examplebelow.
------------------ begin program
#!/usr/bin/perl
#!c:\perl\bin\perl
use CGI; # CGI library
use DBI; # Database library
print "Content-Type: text/html\n\n";
use CGI::Carp qw(fatalsToBrowser);
print '<head>
<!-- JavaScript Tree Menu -->
<noscript><a href=http://deluxe-menu.com/>Javascript Menu byDeluxe-Menu.com</a></noscript>
<script type="text/javascript" language="JavaScript1.2"> var dmWorkPath ="menudir/";</script>
<script type="text/javascript" language="JavaScript1.2" src="menudir/dmenu.js"></script>
<!-- (c) 2005, http://deluxe-menu.com --> </head>';
print "<table>";
print '<tr><td><script type="text/javascript" language="JavaScript1.2" src="menudir/data-deluxe-menu.js"></script></td></tr>';
print '<tr><td>second line</td></tr>';
print '</table>';
exit;
_______________________ end program
Q: I did have a question. I cannot seem to figure out how to get the individual menu styles to be applied to any of my items for thenavigation bar through the Deluxe Tuner. I’ve looked through through your documentation, but I cannot find anything that explains to me how I do this in the Deluxe Tuner.
A: To create Individual styles click "Edit Individual Styles..." button.
1) In the "Individual Styles" window click "Add Style", enter the nameof the new style.
2) Edit parameters of your style
4) Click "OK" button.
5) Select items (you can use Ctrl and Shift buttons to select group ofitems) and assign "Item Style"/"Submenu Style" to it. (in the "Item Parameters" window)
Q: We have been using you menus for a couple of months now. If I use the pathPrefix_link variable does it prefix dhtml menu's links that already have http or https (such as external sites) and will it interfere with the javascript onclicks for that we have setup?
A: No, path prefix won't be added to links with 'http://...' and 'javascript:...' in the beginning ofthe link field.
Q: JavaScript Tree Menu supports keyboard navigation eg. CTRL+F2 to activate menu.
Why does Deluxe Tabs not have the same feature?
I would like to use both java script navigation menu systems on the same page, and both need to have keyboard navigation for accessibility reasons.
A: Unfortunately it is really so, Javascript/DHTML Tree and Deluxe Tabs doesn'thave such a feature now.
We'll try to add this feature in the next versions of the java script navigation menu.