Recent Questions
Q: Is there an option for word wrap or do I have to create my javascript menu button if I want to have a 2-line menu item?
A: To wrap your text you can use the following javascript menu button parameter:
var tnoWrap=0;
you can also use standard <br> tags.
["|Home aaaa aaaaaa aaaaaa<br>aaa aaaaaaaaaaa","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
Q: Earlier today I bought your Deluxe Tabbed Menu software. I "nearly" have the menu I want working, but my problem is that the sub menus I have created in my java script tabs disappear very quickly after being clicked. I want these sub-menus to stay when.
The website that I have developed the menu for can be seen at www.domain.ie/index.php I have sub menus created for the About, Courses & Contact Us items, but as mentioned these disappear very quickly.
FYI, I call the data.js menu file from an include file in the webpages. I don't know if this has anything to do with my problem.
A: That is happen because you have links for the top items with subitems:
About Us
Courses
Contact Us
Actually it is not correctly to use links for items with subitems. Youshould use these items to open subitems only.
But if you want to use links for them you should set the correctpressed item for this page, for example for
http://www.domain.ie/about.php
you should set
var bselectedItem=2;
http://www.domain.ie/courses.php
you should set
var bselectedItem=6;
Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=<?php echo $selsmtabs; ?>;
</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, forexample:
<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 am in the early stages of desgning a website for a client and am looking for a particular menu script.
I came across your site ad am impressed with the options. However, I am haivng trouble finding something that will do what the client is looking for.
With a horizontal menu bar across the top, a drop down sub-menu appears but the menu items appear side by side insdie of in a column.
I was hopeing that one of your options might be able to handle this type of menu but I do not see that there is a script for it. Is that true or is it possible to achieve this example in a setting in one of your scripts.
A: You can create such menu with Deluxe Menu.
Please, see the attached example.
You should set this parameter:
var smOrientation=1;
You can create any style of the menu.
Please, try the trial version, http://deluxe-menu.com/deluxe-menu.zip
Q: I have a question
How can i insert html code into Tree Menu?
Example: I need to put a form, inside of a menu
A: You are able to paste any html code within items.
So you can paste a form too.
For example:
var tmenuItems = [
...
["||<FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='search
the web' size=15 style='font-size:10'> <INPUT type=hidden name=cof
value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:http://domain.edu;
AWFID:e01cb67b8afe383e;'></form>","",
"images/icons/search.gif", "", "", "", "", "2", "", "", "",],