Not Solved Expander
#13
Not Solved
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['chat']}.gif" id="chat_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->sf_sb_shoutbox}</strong> (<a href="index.php?action=full_shoutbox">{$lang->sf_sb_fullsbox}</a>)<br /></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['chat_e']}" id="chat_e">
<tr>
 <td class="trow2" align="center"><form onSubmit="ShoutBox.postShout(); $('shout_data').value = ''; return false;">{$lang->sf_sb_shout} <input type="text" id="shout_data" size="128" /> - <input type="submit" value="{$lang->sf_sb_shoutnow}" id="shouting-status" /></form></td>
</tr>
<tr>
 <td class="trow1"><div id="shoutbox_data" style="height: {$mybb->settings[sf_sb_height]}px; overflow: auto;">{$lang->sf_sb_loading}</div></td>
</tr>
</tbody>
</table>

<br />

<script>
ShoutBox.refreshInterval = {$mybb->settings[sf_sb_refresh_interval]};
ShoutBox.MaxEntries = {$mybb->settings[sf_sb_shouts_main]};
ShoutBox.lang = ['{$lang->sf_sb_posting}', '{$lang->sf_sb_shoutnow}', '{$lang->sf_sb_loading}', '{$lang->sf_sb_flood_check}', "{$lang->sf_sb_no_perform}"];
{$extra_js}
Event.observe(window, 'load', ShoutBox.showShouts); 
</script>

www.impaledbeast.com/forums

account login
test <-user
testtest <-password

It works and is functional but does NOT save state so on reload it is ALWAYS expanded.
Reply


Messages In This Thread
Expander - by ~Rs - 2010-12-06, 04:31 PM
RE: Expander - by Firestryke31 - 2010-12-06, 06:12 PM
RE: Expander - by ~Rs - 2010-12-06, 08:42 PM
RE: Expander - by Firestryke31 - 2010-12-07, 06:25 PM
RE: Expander - by ~Rs - 2010-12-08, 05:57 PM
RE: Expander - by Firestryke31 - 2010-12-08, 07:03 PM
RE: Expander - by ~Rs - 2010-12-08, 07:26 PM
RE: Expander - by Firestryke31 - 2010-12-08, 10:25 PM
RE: Expander - by - G33K - - 2010-12-08, 11:05 PM
RE: Expander - by ~Rs - 2010-12-08, 11:26 PM
RE: Expander - by steven1022 - 2011-01-27, 04:02 AM
RE: Expander - by - G33K - - 2011-01-27, 09:57 AM
RE: Expander - by steven1022 - 2011-01-29, 11:02 PM
RE: Expander - by - G33K - - 2011-01-31, 11:27 AM
RE: Expander - by steven1022 - 2011-01-31, 07:33 PM
RE: Expander - by - G33K - - 2011-02-01, 12:50 AM
RE: Expander - by steven1022 - 2011-02-01, 11:51 PM
RE: Expander - by Shadowsword - 2011-02-24, 07:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)