Sign in to follow this  

[web] Show hide tabs, please help me.

This topic is 4089 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
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

This topic is 4089 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this