Recent Questions
Q: Could you please help me with coding of the submenu box in your java script dropdown menu?
I hope you can see images I've included in this email.
I want to put a large block of text in the submenu.
Now I can do it like the code shown here and it wraps and works OK.
["Text display","", "", "", "", "", "0", "0", "", ],
["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>text Line 2text Line 2text Line 2text Line 2<br>Text line 3Text line 3Text line 3Text line 3<br>text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],
];
The problem is that if I want a large amount of text, the line of code with text in it will be 10 miles long. Please note the line of code above isn't broken in practice. The email wraps it.
Is there any way to break the code into lines instead of one very long line?
For example:
["Text display","", "", "", "", "", "0", "0", "", ],
["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>
Line 2text Line 2text Line 2text Line 2<br>
Text line 3Text line 3Text line 3Text line 3<br>
text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],
];
No matter what way I try It won't work
Is there a way?
A: The only way to do that is
["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>"+
"Line 2text Line 2text Line 2text Line 2<br>"+
"Text line 3Text line 3Text line 3Text line 3<br>"+
"text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],
];
Q: I have now re-uploaded the data files.
The online dhtml menu works fine in Internet Explorer but, comparing the load time of IE with Firefix, Firefox is considerable faster.
I just wondered whether there was a faster way to force it to load in IE.
A: Try to set the following parameter:
var dm_writeAll=0;
Q: I created a new directory at the root called newmenu and placed all of the menu files there. I pointed this page to that new directoryIt works!
However, when I point my home page to the newmenu directory, the menu disappears again.
A: Try to move also the reference to dmenu.js after <Body> tag:
<body onload="...">
...
<!-- Deluxe Menu -->
<noscript><a href=http://deluxe-menu.com/>(c)2005 Deluxe-Menu.com</a> </noscript>
<!-- Copyright (c) 2005, Deluxe Menu, deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2"> var dmWorkPath="newmenu/"</script>
<script type="text/javascript" language="JavaScript1.2" src="newmenu/dmenu.js"></script>
Q: I made a css tab menu on this website and I noticed that I need to click two time to get the link.
It doesn't work if I click only one time. Could you help me to fixe that ?
A: You should set correct selected item:
var bselectedItem=2; //0,1,2...
Set also:
var tabMode=0;
var bselectedSmItem=0;
In that case you should write your links in the following way:
["Hem","link:index.php?p=1_10", "", "", "", "", "", "", "", ],
["Om oss","link:index.php?p=1_11", "", "", "", "", "", "", "", ],
["Kontakt","link:index.php?p=1_12", "", "", "", "", "", "", "", ],