Recent Questions
Q: Is there any way to call a javascript function on mouseover from a menu item?
A: You can use your own javascript functions in the menu items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];
var menuItems = [
["item text", "javascript:alert('Hello World')", , , , ,]
];
Unfortunately, you can't assign onmouseover/onClick event to each item. However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onMouseover='your_code_here'>item text</div>", "index.html"]
];
Q: I'm using your Delux Menu and I would like to know how to change the back ground color of the sub drop down menu from the teal color to a gray and am nothaving any luck locating this option.
Please advise.
A: Try to use the following parameters:
var menuBackColor="#C0C0C0";
var itemBackColor=["#C0C0C0","#65BDDC"];
You can also check Individual Styles. It is possible that you setbackground color there.
Q: it's possible to use on every Item the OnMouseOver / OnMouseOut event?
move the mouse over a Menu !!!!!!
A: Each menu items can include any html code.
So, you can include your own objects with onmouseover event, forexample:
var menuItems = [
["<div OnMouseOver='yourFunc()'>item text</div>"],
["<div OnMouseOut='yourFunc()'>item text</div>"],
];
Where yourFunc() is Javascript function.
Q: Now I experiences a problem with the Danish letters in dhtml menue.
I have changed the letters in the scriptfile - but this does not work.
Have we a problem with Danish letters?
A: Please, check that you've set "Tools/Use utf8 encode".
Notice that you should have UTF8 charset on your page too:
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
You can also use another charset on your html page and open your data file in text editor,
enter thissymbols and save data file in the way you save your html page.
Notice that you should turn off "Tools/Use utf8 encode" setting in
order to open your data file correctly in Deluxe Tuner.