|
|
|
How can I code the DIV to appear in the JS file of popup menu using?
Return to Recent Questions
Q:
I am currently testing the DHTML Tabs popup menu using, and I am trying to
find ways of replicating how it is being done in your website at
http://dhtml-menu.com/dhtml-tabs/tabs-examples.html.
In your website, when I click on a Tab, the content relevant to
that tab appears. I understand that the site is using "div id= "
method to control. However, my question is how can I code the DIV to
appear in the JS file ?
A:
I advise you to try our new popup menu using -- DHTML Tabs,
http://dhtml-menu.com/tabs/.
This is a newer version of DHTML Tabs. It works better.
See, for each item you should assign the ID property of the content
DIV (see data file with your popup menu using parameters).
["Style Name","contentName", "", "", "", "", "1", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Description","contentDescription", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Style Variations","contentVariations", "", "", "", "", "", "", "", ],
["-","", "", "", "", "", "0", "", "", ],
["Empty","", "", "", "", "", "2", "", "", ],
On your html page you should create DIV's with such ID.
<div id="contentName" 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 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:
|