Recent Questions
Q: The menu has a problem with newlines. The menu builds correctly (layout ok) but when pressed on the button nothing happens
At some point, in the DHTML menu, we have the following in the javascript:
var menuitems = [
["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,] ]
As you can see we have a newline (\n) between the words "screen" and "will". But when we click on the button nothing happens. If we remove the newline and we click on the button then we first get the alert box. After pressing the OK button the function printResult is called.
Is there any way for us to still use the newline character in the menuItems variable?
This can be easily reproducible. That's why I haven't made an example.
A: Try to write in the following way \\n:
["|Print HTML","javascript:alert('HTML print: Only the 7 most recent orders on the screen \\n will be printed because of space limitations on paper.');printResult('4'); ","","", ,"_parent",,]
Q: I am able to open the page but the 'x' which allows me to close the popup dhtml is missing.
A: Try to set this parameter:
closable:1,
Q: I have written my own javascripts function.
How to call the function in my java script menu?
A: You should paste "javascript:some_function()" into item's link field,for example:
var tmenuItems = [
["text", "javascript:window.print(...)", ...]
];
Q: Any idea when Deluxe Tabs will support Google Chrome?? None of my javascripts tabs work.
A: We fixed all issues with Google Chrome.