2011-08-16, 11:06 AM
2011-08-16, 11:22 AM
2011-08-16, 11:31 AM
ive just added this but is the a way to change the text to a image
this is the code
<div style="background: #FFF7C0; text-align: left; margin-left: 15px; padding: 13px 20px 13px 45px; border-top: 2px solid #F7D229; border-bottom: 2px solid #F7D229; line-height: 150%; margin-top: 5px; margin-bottom: 5px;">{$msg}</div>
anyway to change that to a image
thanks again favious
i want to add this image if possible
this is the code
<div style="background: #FFF7C0; text-align: left; margin-left: 15px; padding: 13px 20px 13px 45px; border-top: 2px solid #F7D229; border-bottom: 2px solid #F7D229; line-height: 150%; margin-top: 5px; margin-bottom: 5px;">{$msg}</div>
anyway to change that to a image
thanks again favious
i want to add this image if possible
also how do i add this to a custom tag so i dont have to keep typing it
[lock]
[/lock]
2011-08-16, 11:43 AM
You can replace that code with:
And assuming you want to add a button to the editor, see this tutorial:
http://forums.mybbcommunity.com/thread-502.html
<img src="http://img803.imageshack.us/img803/2282/enhidepost.gif" alt="Hidden Content" title="Hidden Content" />
And assuming you want to add a button to the editor, see this tutorial:
http://forums.mybbcommunity.com/thread-502.html
2011-08-16, 11:45 AM
to keep the yellow border
will i have to do this
<div style="background: #FFF7C0; text-align: left; margin-left: 15px; padding: 13px 20px 13px 45px; border-top: 2px solid #F7D229; border-bottom: 2px solid #F7D229; line-height: 150%; margin-top: 5px; margin-bottom: 5px;"><img src="http://img803.imageshack.us/img803/2282/enhidepost.gif" alt="Hidden Content" title="Hidden Content" /></div>
and for button editor do i do this
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
will i have to do this
<div style="background: #FFF7C0; text-align: left; margin-left: 15px; padding: 13px 20px 13px 45px; border-top: 2px solid #F7D229; border-bottom: 2px solid #F7D229; line-height: 150%; margin-top: 5px; margin-bottom: 5px;"><img src="http://img803.imageshack.us/img803/2282/enhidepost.gif" alt="Hidden Content" title="Hidden Content" /></div>
and for button editor do i do this
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
2011-08-16, 11:46 AM
Yes, if you want to put to the image inside the yellow bar, that's what you need to use.
2011-08-16, 11:48 AM
thanks
and for button editor do i do this
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
and for button editor do i do this
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
2011-08-16, 11:50 AM
Yes, that should work.
2011-08-16, 11:54 AM
ill try it now
picture worked but this didnt
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
my mistake it worked i didnt put a comma
i just need to find image now
picture worked but this didnt
{type: 'button', name: 'lock', insert: 'lock', image: 'hide.png', title: 'lock'}
my mistake it worked i didnt put a comma
i just need to find image now