PDA

View Full Version : Scrolling Smiliebox


PollyTX
11-18-2005, 11:08 PM
Here's what I replaced in the templates under "editor smiliebox":

<if condition="$show['smiliebox']">

<fieldset id="smiliebox" title="$vbphrase[smilies]">
<legend>$vbphrase[smilies]</legend>
<div style="height: 200px; overflow: scroll; width: 200px;">
<table cellpadding="4" cellspacing="0" border="0" align="center">
$smiliebits
<if condition="$show['showmoresmilieslink']">
<tr>
<td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, $wysiwyg, '$forumid'); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a>]</td>
</tr>
</if>
</table>
</div>
</fieldset>

<if condition="$show['wysiwyg']">
<script type="text/javascript">
init the WYSIWYG smilie box
wysiwyg_smiliebox_init();
</script>
</if>

<else />

<div id="smiliebox" style="display:none"></div>

</if>

It's not working, and I was wondering if someone could tell me what I am doing wrong. I'm trying to get a scrolling smiliebox that will incorporate ALL of our smilies, eliminating the need for the "More" link.

Thanks for your help!