|
|
How do I show different content when selecting the different dhtml layer menu tabs?
Return to Recent Questions
Q:
I'm using the trial version of your product and have a question for you
before purchasing:
How do I show different content when selecting the different dhtml layer menu tabs?
For example, when I use the Windows Forms tab control in VB .NET, there's
more to the tab control than just the dhtml layer menu tabs themselves...there's also the
"body" of each individual tab that changes when I select different tabs.
Does your product do the same?
A:
You should specify any Object ID name of the DIV.
See, for each item you should assign the ID property of the content
DIV (see data file with your menu parameters).
["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">
<br><br><br>
<p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
<br><br><br>
You should paste your content here!!!!!
</div>
<div id="contentDescription" style="height: 0%; visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p>
<br><br><br>
You should paste your description here!!!!!
</div>
Return to Recent Questions
Related:
- Aug 28, 2006 - Horizontal at level 1, Horizontal at level 2, then vertical?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Sep 29, 2006 - I tried to use javascript function with the "Title item" of my javascript tree view.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 28, 2006 - Subitems of the mouseover menu don't close when the mouse goes away...
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- 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 23, 2006 - Can we right justify the secondary javascript navbar?
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
|