Smilies Box next to the quick reply space
2 posters
Page 1 of 1
Smilies Box next to the quick reply space
Is possible to show the full smilies box next to the quick reply box. For example:
I Know is possible editting templates in PunBB or PhpBB2. Is possible on PHPBB3?
Thanks alot
I Know is possible editting templates in PunBB or PhpBB2. Is possible on PHPBB3?
Thanks alot
Re: Smilies Box next to the quick reply space
Here's a script that will do just that.
Things will need styled yourself though.
You can style it under the className of 'smileybox'
- Code:
$(function(){
var form = document.getElementById('quick_reply');
var textarea = document.getElementById('textarea_content');
textarea.style.clear = 'none'; textarea.nextSibling.style.clear = 'both';
var x = form.insertBefore(document.createElement('div'),textarea);
var smilies_content = '<div id="sel_smilies_content" align="center">';
for (var smilieid in smilieoptions) {
smilies_content += "<button onclick=\"emoticonp('" + smilieoptions[smilieid][2] + "');selectWysiwyg(this, 'sel_smilies');return false;\"><img alt=\"" + smilieoptions[smilieid][1] + "\" title=\"" + smilieoptions[smilieid][1] + "\" src=\"" + smilieoptions[smilieid][0] + "\" /></button> ";
}
smilies_content += "</div>";
x.innerHTML = smilies_content;
x.className = 'smileybox';
x.setAttribute('style','float:left;max-width: 250px; max-height:150px;overflow:auto;');
});
Things will need styled yourself though.
You can style it under the className of 'smileybox'
- Code:
.smileybox {
//styling...
}
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Smilies Box next to the quick reply space
Thanks for your reply but with that JS, the smileys have an bug:
Similar topics
» Smilies don't appear in quick reply for some users
» Smilies by quick reply.
» Quick reply and smilies
» smilies in quick reply
» Quick reply smilies not working
» Smilies by quick reply.
» Quick reply and smilies
» smilies in quick reply
» Quick reply smilies not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum