Recent Questions
Q: I want to open a new html window on top of my current page – but I want the new html window to be a certain size only (800 x 400).
How do I do this? Can you give me the code so I can paste in the data file rather than the tuner?
A: You should write:
["Test Window","javascript:window.open('http://www.microsoft.com','_blank',
'height=400,width=800,top=10,left=10,status=yes,toolbar=no,menubar=no,location=no');", , ,'MonitorExceptions' , ,'', '',,],
Q: My Deluxe Menu works super.
Anyway, I would like to make it more comfortable for my users.
So, I would like to know if it possible to create a "Multicolumn Menu"
(http://deluxe-menu.com/multicolumn-menu-sample.html)
and separate define which submenu should be multicolumn and wich one looks "normal".
In your example all menu options which have submenus become multicolumn-look.
Is it maybe also possible to create such Multicolumn-look?
Group_01 Group_02 Group_03
- xxx - xxx - xxx
- xxx - xxx - xxx
- xxx - xxx - xxx
Group_04 Group_05 Group_06
- xxx - xxx - xxx
- xxx - xxx - xxx
- xxx - xxx - xxx
A: Yes, you can create such menu.
You can create "normal" items using separator.
["|-","testlink.htm"],
Please, see the attached example.
Q: Is there anyway of selecting the tab in mouse over tab menu according to what webpage you are on ?
A: Deluxe Tabs doesn't support API functions which can return the
selected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parameters
based on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parameters
from your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=;
var bselectedSmItem=;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, for
example:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
Q: I would like to add a javascript link but cannot seem to get it handle the event as a tag or onclick event. I just want to grab the current page, insert it into a string, and go off to the page it specifies. Can this be done?
A: You're able to use Javascript for each item, for example:
var menuitems = [
["item text", "javascript:your_code_here"]
];
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 onClick='your_code_here'>item text</div>", "index.html"]
];