Jump to content

What's it called?


niche
 Share

Recommended Posts

What's the box called on the Forum's main page that contains the HTML topics with the little minus sign in the right hand corner?Thanks

Link to comment
Share on other sites

i think all the subforums have their own container box with show/hide button, right? I think it could/would just be a div, although his forum uses table's, if I'm correct.

Link to comment
Share on other sites

show/hide does the work, but expand/collapse might come closer to the concept. The trick is not to accidentally hide the expand/collapse button.Yes, do what thescientist says and use a div. Put the expand/collapse button in a div that comes before the collapsible div. It might be easiest to code if the button div and the div it collapses are contained by the same div. You could work out parent-child-sibling relationships very easily (without having to know their id's), and write one function that would work for all your collapsible divs.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...