Text color addition
2 posters
Page 1 of 1
Text color addition
Well ive folowed the tutorial for adding new colors to the text editor. I found the code in the posting_body template and copied one of the codes I changed the names of the color like said in tutorial. i even tried to copy paste the code from tutorial for teal and lime color on the right place. But nothing happens. I dont get any new colors. What do i have to do?
LINK TO THE SITE: http://www.advancedduelacademy.com
LINK TO THE SITE: http://www.advancedduelacademy.com
Re: Text color addition
Pozdrav Krokodile
Did you publish your template on the green cross, NOT only save it?
Did you publish your template on the green cross, NOT only save it?
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Text color addition
Šu, I really can't see where did you go wrong cause I'm not registred. I've just tried the tutorial and see what I got with lime http://i.imm.io/69mb.png
All you need to do is replace names in 3 places
P.S. I've returned the PM.
All you need to do is replace names in 3 places
- Code:
<button style="color:lime;"
onclick="bbfontstyle('[color=lime]', '[/color]');selectWysiwyg(this,
'color');return false;" onmouseover="this.className='selectHover';"
onmouseout="this.className='';">Lime color</button>
P.S. I've returned the PM.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Text color addition
Even when i copy your code or his in the right place, nothing changes.
Ive tried to delete 1 color but even that wont work.
Ive tried to delete 1 color but even that wont work.
Re: Text color addition
Hej,
I've just added lime through your templates http://i.imm.io/6aeO.png
Everything is OK but I can't see what are you doing wrong. Can you add lime and publish template so I can see where did you add it.
I've just added lime through your templates http://i.imm.io/6aeO.png
Everything is OK but I can't see what are you doing wrong. Can you add lime and publish template so I can see where did you add it.
- Code:
<button style="color:lime;"
onclick="bbfontstyle('[color=lime]', '[/color]');selectWysiwyg(this,
'color');return false;" onmouseover="this.className='selectHover';"
onmouseout="this.className='';">Lime color</button>
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Text color addition
lol u hacked my forum xD
Ive added several colors with the codes you gave me
Result in the template
But nothing shows up when i click the button O.o
Ive added several colors with the codes you gave me
Result in the template
- Code:
<div style="visibility:hidden" class="select" id="color">
<button style="color:darkred" onclick="bbfontstyle('[color=darkred]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_DARK_RED}</button><br />
<button style="color:red" onclick="bbfontstyle('[color=red]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_RED}</button><br />
<button style="color:orange" onclick="bbfontstyle('[color=orange]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_ORANGE}</button><br />
<button style="color:brown" onclick="bbfontstyle('[color=brown]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BROWN}</button><br />
<button style="color:yellow" onclick="bbfontstyle('[color=yellow]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_YELLOW}</button><br />
<button style="color:green" onclick="bbfontstyle('[color=green]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_GREEN}</button><br />
<button style="color:olive" onclick="bbfontstyle('[color=olive]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_OLIVE}</button><br />
<button style="color:cyan" onclick="bbfontstyle('[color=cyan]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_CYAN}</button><br />
<button style="color:blue" onclick="bbfontstyle('[color=blue]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BLUE}</button><br />
<button style="color:darkblue" onclick="bbfontstyle('[color=darkblue]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_DARK_BLUE}</button><br />
<button style="color:indigo" onclick="bbfontstyle('[color=indigo]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_INDIGO}</button><br />
<button style="color:violet" onclick="bbfontstyle('[color=violet]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_VIOLET}</button><br />
<button style="color:lightgrey" onclick="bbfontstyle('[color=white]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_WHITE}</button><br />
<button style="color:black" onclick="bbfontstyle('[color=black]','[/color]');selectWysiwyg(this,'color');return false">{L_COLOR_BLACK}</button><br />
<button style="color:lime;" onclick="bbfontstyle('[color=lime]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Lime color</button><br />
<button style="color:PaleTurquoise;" onclick="bbfontstyle('[color=PaleTurquoise]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">PaleTurquoise</button><br />
<button style="color:OrangeRed;" onclick="bbfontstyle('[color=OrangeRed]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">OrangeRed</button><br />
<button style="color:LightSalmon;" onclick="bbfontstyle('[color=LightSalmon]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSalmon</button><br />
<button style="color:LightSteelBlue;" onclick="bbfontstyle('[color=LightSteelBlue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSteelBlue</button><br />
<button style="color:LightSlateGray;" onclick="bbfontstyle('[color=LightSlateGray]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSlateGray</button><br />
<button style="color:Silver;" onclick="bbfontstyle('[color=Silver]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Silver</button><br />
<button style="color:SlateBlue;" onclick="bbfontstyle('[color=SlateBlue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">SlateBlue</button><br />
<button style="color:Lavender;" onclick="bbfontstyle('[color=Lavender]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Lavender</button><br />
<button style="color:RosyBrown;" onclick="bbfontstyle('[color=RosyBrown]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">RosyBrown</button><br />
</div>
But nothing shows up when i click the button O.o
Re: Text color addition
I can't see it in your posting_body template. It is like you never published it. :S
All you need is this
See my resault => http://i.imm.io/6ahu.png
Can you pass me a screens shot of your templates published?
All you need is this
- Code:
<button style="color:lime;" onclick="bbfontstyle('[color=lime]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Lime color</button><br />
<button style="color:PaleTurquoise;" onclick="bbfontstyle('[color=PaleTurquoise]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">PaleTurquoise</button><br />
<button style="color:OrangeRed;" onclick="bbfontstyle('[color=OrangeRed]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">OrangeRed</button><br />
<button style="color:LightSalmon;" onclick="bbfontstyle('[color=LightSalmon]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSalmon</button><br />
<button style="color:LightSteelBlue;" onclick="bbfontstyle('[color=LightSteelBlue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSteelBlue</button><br />
<button style="color:LightSlateGray;" onclick="bbfontstyle('[color=LightSlateGray]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">LightSlateGray</button><br />
<button style="color:Silver;" onclick="bbfontstyle('[color=Silver]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Silver</button><br />
<button style="color:SlateBlue;" onclick="bbfontstyle('[color=SlateBlue]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">SlateBlue</button><br />
<button style="color:Lavender;" onclick="bbfontstyle('[color=Lavender]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">Lavender</button><br />
<button style="color:RosyBrown;" onclick="bbfontstyle('[color=RosyBrown]', '[/color]');selectWysiwyg(this, 'color');return false;" onmouseover="this.className='selectHover';" onmouseout="this.className='';">RosyBrown</button><br />
See my resault => http://i.imm.io/6ahu.png
Can you pass me a screens shot of your templates published?
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Text color addition
Here is it
https://2img.net/h/oi51.tinypic.com/2ik75tt.png
Result on forum (theres no result)
https://2img.net/h/oi54.tinypic.com/awpzeg.png
Later:
Ive downloaded google chrome, and the text formating colors are visible there. But im actually using mozila and they dont show up in this browser. Do you have some code or something what makes it visible on all browsers?
https://2img.net/h/oi51.tinypic.com/2ik75tt.png
Result on forum (theres no result)
https://2img.net/h/oi54.tinypic.com/awpzeg.png
Later:
Ive downloaded google chrome, and the text formating colors are visible there. But im actually using mozila and they dont show up in this browser. Do you have some code or something what makes it visible on all browsers?
Similar topics
» (Completed--thanks!)Needed: Text addition
» Change color of post background and text color.
» (Half Solved) Almost finished! two minor problems lines in forums and text bg addition
» Rok needs some help with changing link text color and alternating text links
» How to make footer text bigger, fix reply box, add image under avatar box, and change text color of profile fields?
» Change color of post background and text color.
» (Half Solved) Almost finished! two minor problems lines in forums and text bg addition
» Rok needs some help with changing link text color and alternating text links
» How to make footer text bigger, fix reply box, add image under avatar box, and change text color of profile fields?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum