REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expander collapsed by default?
#1
Hello guys.....

I was wondering if you could help me with a small matter.
(And I hope I have posted this in the correct section)

On my board I have given select members and groups permission to post HTML.
I would like to have a "Previews Box" that uses the expander.
However, I want it to be collapsed by default so that the content is hidden.
Is that possible?

Thanks heaps for your help!

Owen

PHP Code:
<table width="100%" cellpadding="6" cellspacing="1" border="0" class="tborder">
<
tbody>
            <
tr>
                <
td class="thead" colspan="2">
<
div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['newbox_e']}.gif" id="newbox_img" class="expander" alt="[-]" title="[-]" /></div>
              <
strong>Previews</strong>
                </
td>
            </
tr>
        </
tbody>
        <
tbody style="{$collapsed['newbox_e']}id="newbox_e">  
            <
tr>
                <
td class="trow1">Test Content
                
</td>
            </
tr>
        </
tbody>
    </
table>
<
br /> 
Reply


Messages In This Thread
Expander collapsed by default? - by Stooj - May 07, 2009, 07:43 PM
RE: Expander collapsed by default? - by LeX- - May 08, 2009, 10:30 AM
RE: Expander collapsed by default? - by Stooj - May 09, 2009, 09:28 AM
RE: Expander collapsed by default? - by LeX- - May 09, 2009, 10:23 AM
RE: Expander collapsed by default? - by Stooj - May 09, 2009, 06:57 PM
RE: Expander collapsed by default? - by sova174 - Mar 02, 2017, 05:43 AM
RE: Expander collapsed by default? - by malkova - Apr 22, 2017, 09:42 AM
RE: Expander collapsed by default? - by Farrahs - Jul 03, 2017, 08:14 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [help] default mybb hooks location xCalifier 2 646 Oct 21, 2017, 01:12 AM
Last Post: Defult
Question Any way to make new users default to multiple groups? Jayfore 1 936 Oct 11, 2017, 06:06 PM
Last Post: DrBaja
  Problem with all themes (Less default theme) 7Liberty 0 877 Apr 28, 2013, 06:00 PM
Last Post: 7Liberty
  How to get rid of the default forum icons? Fishy 2 1,445 Nov 08, 2012, 04:03 AM
Last Post: Sparxgrafix.com
Question Rating Stars still default :( Oliver Evans 0 968 Oct 03, 2010, 06:58 PM
Last Post: Oliver Evans

Forum Jump:


Users browsing this thread: 1 Guest(s)