|
|
How you get the content of link value of the tab to display below horizontal tabs.
Return to Recent Questions
Q:
However, I did not see how you get the content of link value of the tab to display below horizontal tabs.
A:
See in Deluxe Tabs there are two modes:
1. var tabMode=0;
You can create only one level of tabs and assign Object Id's of the
DIV's to show when you click on the tab.
["XP Tab 1","content1", "", "", "", "", "", "", "", ],
["XP Tab 2","content2", "", "", "", "", "", "", "", ],
["XP Tab 3","content3", "", "", "", "", "", "", "", ],
["XP Tab 4","content4", "", "", "", "", "", "", "", ],
2. var tabMode=1;
You can assign only links in this mode.
You should create top level items with subitems.
["XP Tab 1","", "", "", "", "", "", "", "", ],
["|Link 1_1","http://deluxe-tabs.com", "", "", "", "", "0", "", "", ],
["|Link 1_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 1_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 2","", "", "", "", "", "", "", "", ],
["|Link 2_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 2_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 3","", "", "", "", "", "", "", "", ],
["|Link 3_1","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_2","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_3","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_4","testlink.htm", "", "", "", "", "0", "", "", ],
["|Link 3_5","testlink.htm", "", "", "", "", "0", "", "", ],
You can use Object ID as well as Link in both modes. Use the following prefixes within item's link field:
"object:" - means that there is object id after it;
"link:" - means that there is a link after it.
"javascript:" - means that there is a javascript code after it, for example:javascript:alert(\'Hello!\')
So, you should write for example:
["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ],
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 01, 2006 - When I click on link of my vertical drop down menu no file is loaded!?
- Oct 07, 2006 - How do you change the back ground color of the javascript horizontal menus?
- Oct 16, 2006 - I need the sub menu of the drop menu to be vertical instead of horizontal
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 24, 2006 - How do I make the css submenu appear over the adjoining frame?
- Nov 25, 2006 - I need only one column of submenu html to be displayed, all other columns should be closed.
- Nov 27, 2006 - In Firefox, the drop down menu html is displayed to the right of the top menu text
- Dec 09, 2006 - Is there any way to change the font size of the secondary and tertiary links in menu.js?
- Dec 11, 2006 - Is there a way to get rid of the spacing on the main jscript menu?
|