|
|
When using website tab menu, where do I place the text content related to the selected tab
Return to Recent Questions
Q:
When using website tab menu, where do I place the text content related to the selected tab,
(the text presented on the rest of the screen under the tab)? And who do I connect a specfic text to a certain tab?
A:
See, for each item you should assign the ID property of the content
DIV (see data file with your menu parameters). You should set
var tabMode=0;
["Style Name","contentName", "", "", "", "", "1", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Description","contentDescription", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Variations","contentVariations", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Empty","", "", "", "", "", "2", "", "", ],
And on your html page you should create DIV's with such ID. You can
set background image for these DIV's in styles.
<div id="contentName" style="height: 0%; visibility: hidden; background-image: url('img/back.jpg'); background-repeat:repeat-y;" class="tabPage">
<p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
You should paste your content here!!!!!
</div>
<div id="contentDescription" style="height: 0%; visibility: hidden;" class="tabPage">
<p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
You should paste your description here!!!!!
</div>
Return to Recent Questions
Related:
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Oct 26, 2006 - I would like to load an iframe into one of the items in oncontextmenu.
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 10, 2006 - I can't make my vertical dynamic menu work in at Dreaweaver template - why?!
- Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Nov 27, 2006 - In Firefox, the drop down menu html is displayed to the right of the top menu text
- Nov 30, 2006 - Does your html menu dropdown have the ability to have small text boxes on it?
- Jan 05, 2007 - Can html side menu support context menus on right click
|