I am using this code in Forum Widgets and its visible only for staff.
- Code:
<script>jQuery(function(){jQuery(function(){jQuery('<a class="sceditor-button" unselectable="on" title="BBCode ( Ready Code)"><div unselectable="on" style="background-image:url(https://cdn1.iconfinder.com/data/icons/fatcow/16/text_letter_omega.png)"></div></a>').insertBefore('.sceditor-button-size').click(function(){jQuery('#text_editor_textarea').sceditor("instance").insertText("<center>???code???</center>")})})});</script>
- Code:
[font=Comic Sans MS][size=16][color=red][/color][/size][/font]
Last edited by Marios94 on November 19th 2013, 11:54 am; edited 1 time in total