menu drop down by Deluxe-Menu.com

DHTML Faq » How can I code the DIV to appear in the JS file of site navigation menu?

How can I code the DIV to appear in the JS file of site navigation menu?

Filed under: Recent Posts — Tags: , , — admin @ May 30, 2009 at 6:20 pm

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://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 site navigation menu — Deluxe Tabs,
http://deluxe-tabs.com.
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 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>

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment