|
|
How can I code the DIV to appear in the JS file of my mouseover tabs?
Return to Recent Questions
Q:
I am currently testing the DHTML Tabs product, and I am trying to
find ways of replicating how it is being done in your website at
http://deluxe-tabs.com/.
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 of my mouseover tabs?
A:
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.
<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>
You can paste any code within DIV's (PHP, Javascript ...)
Return to Recent Questions
Related:
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 28, 2006 - Do I need any additional loaded software using the javascript select menu?
- Dec 15, 2006 - I can't seem to have a "contact us" menu item to work in the html navigation menu.
- Jan 01, 2007 - Does your vertical slide menu compatible with Namo WebEditor 2007?
- Jan 19, 2007 - The floating buttons turn white or unload and reload when hovered over.
- Feb 03, 2007 - The dhtml menu example looks different in IE and Firefox. In IE it is much
- Feb 21, 2007 - The down arrows of my vertical menu css only show on the main page, how to fix it?
- March 07, 2007 - The roll over menu won't align itself correctly in Firefox.
- March 25, 2007 - My mouse over drop down menu disappears on the home page.
|