niche Posted May 17, 2010 Share Posted May 17, 2010 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 More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 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 More sharing options...
niche Posted May 17, 2010 Author Share Posted May 17, 2010 Thanks. Link to comment Share on other sites More sharing options...
jeffman Posted May 17, 2010 Share Posted May 17, 2010 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 More sharing options...
real_illusions Posted May 17, 2010 Share Posted May 17, 2010 Its called 'magic'And none of this is real, its all a figment of your imagination, we're really all a dream inside a the head of a giant turtle... Link to comment Share on other sites More sharing options...
thescientist Posted May 17, 2010 Share Posted May 17, 2010 Its called 'magic'ah yes, that was the technical term I was reaching for earlier... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.