Q:
In the dynamic context menu there’s no option for turning the cursor into a hand.
There’s hourglass etc but no hand. Is there a way to make it a hand?
A:
You should set the following parameter
var itemCursor=”pointer”;
Q:
There is one other issue I am hoping you can help with? When the dynamic context menu drops
down in Safari over a SWF — it disappears. I have added the function
dm_ext_ruleObjectHide() code to the top of my data file. Can you please
advise what else I can try?
A:
Submenu couldn’t overlap flash in Safari correctly.
And the following code:
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) &&
(navigator.vendor.indexOf(’Apple Computer’) != -1) &&
(navigator.product==’Gecko’))
return true;
in function
function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) &&
(navigator.vendor.indexOf(’Apple Computer’) != -1) &&
(navigator.product==’Gecko’))
return true;
else
return false;
}
cause flash to disappear in Safari.
You can try to write this function in the following way:
function dm_ext_ruleObjectHide()
{
return false;
}
Q:
I have a web site in which I am using Deluxe Menu in the top
frame as a dynamic context menu that crosses the frame and a menu in the lower
frame that uses it as a menu in the same frame. However, if a user
selects the menu in the upper frame they get the menu that is
associated with the menu of the lower frame. The configuration
files are names differently. Is there a setting that needs to be
set for the menu to distinguish between the two menus
instantiations?
A:
I suppose that you have two entries of dmenu.js file on your site in the tag.
You must have only one entry of dmenu.js file.
Please, delete the same code.
You should write so:
<head>
<!– Deluxe Menu –>
<noscript><a href=”http://deluxe-menu.com”>dynamic context menu by Deluxe-Menu.com</a></noscript>
<script type=”text/javascript”>var dmWorkPath = “menu2.files/”;</script>
<script type=”text/javascript” src=”menu2.files/dmenu.js”></script>
<!– (c) 2006, by Deluxe-Menu.com –>
</head>
<body>
…
<div>
<SCRIPT src=”deluxe-menu_files/data-deluxe-menu.js” type=text/javascript></SCRIPT>
</div>
…
<div>
<SCRIPT src=”deluxe-menu_files/data-deluxe-menu11.js” type=text/javascript></SCRIPT>
</div>
…
</body>>
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 dynamic context menu in a perl script. Please, see the example
below.
—————— 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>
<!– Deluxe Menu –>
<noscript><a href=http://deluxe-menu.com/>dynamic context menu by
Deluxe-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:
If there is a possibility to change the dropdown menus?
A:
You should use API functions.
dtreet_ext_changeItem (menuInd, itemID, itemParams)
More info you can find here:
http://deluxe-tree.com/functions-info.html
Q:
I am trying out your menu and I’ve made out a little test case in the attached file.
If you run it, you will see that the dynamic context menu scrolls
OUTSIDE the container div to the edges of the window. Is there
anyway I can make the hdynamic context menu be within the container div and yet scroll?
And will the solution be cross-browser?
Note that menuDiv needs to have a collapsableDiv style. I am
assuming that that is not a problem.
A:
Try to set exact width for the submenu:
var smWidth=”925px”;
Q:
I tried to create this dynamic context menu and it is still not working.
I have saved all of the files in the correct places and what it gives me is just all of the links in a straight line across the top of the page.
I really think it is sitebuilder that is creating the issue with the structure of the head and body tags, but I a am a little new so I may be wrong.
A:
You should delete <base> tag from your code.
Please delete the following string from your html page.
<base href=”file:///C:/Program%20Files/Yahoo%20SiteBuilder/sites/rainforestanimals/rainforestanimal/test2.html”>
Q:
I have started using your dynamic context menu and when testing in both
IE-browsers the CPU jumps to 100% for at least 30 to 60sec.
Then the sub menu appears but also not as fast as in Firefox(no effects).
Now does my menu contains about 1476 item-lines, and I use the cross-frame modus.
Any ideas?
A:
It is possible that the loading speed can be lower if the menu is very large. But it doesn’t take so much time.
Yes, you can notice some delay in IE, but in over browsers it works better.
Deluxe Menu works fast, but 1500 is a large value.
I tried to create large menus on my machine: P4 3GHz, 512RAM WinXP SP2
It takes:
- 1000 items ~ 10 sec
- 2000 items ~ 40 sec
You can try to use AJAX-like technology.
http://deluxe-menu.com/ajax-technology-menu-sample.html