02.12.2016, 12:16
Poradziłem sobie jakoś i wgrałem ShoutBox, Ale za gruba jest Belka jak to zrobić by ładnie wyglądało i zlewało się z stylem?
Obrazek:
http://prntscr.com/defejs
Obrazek:
http://prntscr.com/defejs
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead"><div>Shoutbox <span style="float: right;"><a href="{$mybb->settings[bburl]}/index.php?action=shoutbox_archive">« {$lang->dvz_sb_archivelink}</a></span></div>
</td>
</tr>
</thead>
<tr>
<td>
<div id="shoutbox">
<div class="panel-away" style="display:none"><button class="button" onclick="dvz_shoutbox.setBack()">{$lang->dvz_sb_away_button}</button>{$lang->dvz_sb_away}</div>
{$dvz_shoutbox_panel}
<div id="shoutbox_data" style="height:{$mybb->settings[dvz_sb_height]}px; overflow:auto;"></div>
</div></td></tr>
</table>
<script type="text/javascript" src="jscripts/dvz_shoutbox.js"></script>
<script>
now = new Date;
dvz_shoutbox.userLastAction = now.getTime();
dvz_shoutbox.interval = {$mybb->settings[dvz_sb_interval]};
dvz_shoutbox.antiflood = {$mybb->settings[dvz_sb_antiflood]};
dvz_shoutbox.maxShouts = {$mybb->settings[dvz_sb_num]};
dvz_shoutbox.awayTimeout = {$mybb->settings[dvz_sb_away]}*1000;
dvz_shoutbox.lang = ['{$lang->dvz_sb_delete_confirm}', '{$lang->dvz_sb_antiflood}'];
{$dvz_shoutbox_js}
dvz_shoutbox.checkForMessages();
</script>
<div class="thead">
{$lang->dvz_sb_shoutbox}<div align="right"><a href="{$mybb->settings['bburl']}/index.php?action=shoutbox_archive">« {$lang->dvz_sb_archivelink}</div>
</div>
<div class="head" style="background-color: #2c82c9; color: #FFF; padding: 1.2em 1.425em 1.1em 1.075em;">
<strong>{$lang->dvz_sb_shoutbox}</strong>
<p class="right"><a href="{$mybb->settings['bburl']}/index.php?action=shoutbox_archive" style="color: #FFF;">« {$lang->dvz_sb_archivelink}</a></p>
</div>