• Advertisement
Sign in to follow this  

[web] Show hide tabs, please help me.

This topic is 4163 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I am using >Show products <LI style="display:none;">Product 'a' <LI style="display:none;">Product 'b' etc. So far it looks like this when run: Show products. Now how do I open the closed tabs when I click show products? Is this the correct way (Don't think so as I can't get it working) or is there another way?

Share this post


Link to post
Share on other sites
Advertisement
Enclose them in a div:
Show products
<DIV id="products" style="display:none">
<LI>Product 'a'
<LI>Product 'b'
</DIV>

Then you can change the display functionality f the div using document.getElementById("products").style.display.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement