Zwijanie działu po kliknięciu na belkę

Konfiguracja  Założony przez  Stannis.

Chciałbym, aby po kliknięciu na belkę z tytułem działu zwijał się on lub rozwijał. 
Chodzi mi o to, aby dział nie był zwijany poprzez klikanie w przycisk po prawej
stronie belki, ale po bezpośrednim kliknięciu na nią w którymkolwiek miejscu.
Czy ktoś z was wie jak takie coś zrobić?

Z góry dziękuję za pomoc :)
To jest do zrobienia. Szablon forumbit_depth1_cat, szukasz kodu od 'collapse', potem klasy i identyfikatory przenosisz na znaczniki tabelki.

Wrzuć go tu, jeśli chcesz.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
(25.02.2017, 19:42)Snake_ napisał(a): To jest do zrobienia. Szablon forumbit_depth1_cat, szukasz kodu od 'collapse', potem klasy i identyfikatory przenosisz na znaczniki tabelki.

Wrzuć go tu, jeśli chcesz.

<table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
thead>
<
tr>
<
td class="thead{$expthead}colspan="5">
<
div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}title="{$expaltext}/></div>
<
div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext clr_lgh">{$forum['description']}</div></div>
</
td>
</
tr>
</
thead>
<
tbody style="{$expdisplay}id="cat_{$forum['fid']}_e">
<
tr>
<
td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<
td class="tcat" width="50" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<
td class="tcat" width="70" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<
td class="tcat" width="240" align="right" style="padding-right: 28px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</
tr>
 {
$sub_forums}
<
br />
</
tbody>
</
table>
<
br /> 
Coś na takiej zasadzie:

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr class="expcolimage">
<td class="thead{$expthead} expander" id="cat_{$forum['fid']}_img" colspan="5">
<div><img src="{$theme['imgdir']}/{$expcolimage}"alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext clr_lgh">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="50" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="70" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="240" align="right" style="padding-right: 28px;"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
<br />
</tbody>
</table>
<br />
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości