Recent Questions
Q: I can't get the hand pointer to work with my dhtml menu scripts in firefox and IE. I know that firefox requires the itemCursor to be set to pointer, but it doesn't work for all links in my menus. I believe that this worked in past version of deluxe-menu, but stopped working somewhere along the way. To recreate this, create a horizontal menu, and set the pressedItem to be one of the menu items and set the itemCursor to be "pointer". Then, you'll see that the pressed item's pointer is the finger icon, but the other menu items are just the arrow. Is there something I'm doing wrong or a setting that will fix this?
A: No, the reason is not in the pressed item.
See when you set:
var itemCursor="pointer";
your cursor will be a hand for the items with url only. For the itemswithout url it will be default arrow.
Q: I have function "confirmLogout()" that it returns true or false. If it is false, the function does not make nothing. If it's true, I need to direct for the page "goout.jsp". How to use this function in the mouseover drop menu?
function confirmLogout() {
if(confirm('It really desires to leave? ?')) {
return true;
} else {
return false;
}
}
A: Actually you can use your own Javascript code instead standard mouseover drop menu links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];
Q: It seems like that I'm unable to pull data from Word, Excel, JPG's etc into the floating window?
A: You can use the following content for the popup window:
Iframe(url);
Object_id;
text(html content).
So, to add image/text inside the popup window you should set:
winContent - Html Content
and add the following tag.
<img src="images/img.jpg" alt="screen">
<p align="right"> Text text .... </p>
To add content from the excel file you can export it to html file andthen set the following parameter:
winContent - Iframe(url)
data.html
and then enter the name of the html file with your excel data
Q: How can I make the 'hand' icon appear when someone moves their mouse over an item in the javascript menu open?
A: You should set the following parameter:
var itemCursor="pointer";