• ARCHIVES 
  • » [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

Pages: 12

[align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

[align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make gradient text with CSS, but we need javascript to replace and add new element. the basic knowledge is [url=http://en.wikipedia.org/wiki/HTML_DOM]DOM[/url] replacement and [url=http://en.wikipedia.org/wiki/CSS]CSS[/url]. [b]Credit : [/b][url=http://www.webdesignerwall.com]WebDesignerWall[/url] [b]browser compatibility :[/b] FF2+, FF3, Opera, Safari, [s]Internet Explorer[/s] [b]CSS codes :[/b] [i]open your css file and put this code :[/i] [spoiler] /* --- gradient --- */ .shine { background: url(path/to/gradient-shine.png) repeat-x; background-position: top; position: absolute; display: block; width: 100%; height: 14px; } [i]see your global header style and edit look like this :[/i] [i]/* --- basic color of font and background can be edited and make it blend with your profile --- */[/i] .commonbox h1, .commonbox h2 { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; color:[b]#cccccc[/b]; background-color:[b]#000000[/b]; [b] font-weight: bold; position: relative;[/b] /* underscore hack for IE */ _position:inherit !important; _display:block !important; } [i] gradient image : http://jollybear.freeunlimitedweb.com/80s/css/img/gradient-shine.png[/i] [quote][align=center][i][b]Tips :[/b] your background color must darker than font color[/i][/align][/quote] [/spoiler] [b]Example Replacement : [/b] [i]first back-up your main JS file, and replace default header with this script :[/i] [spoiler] //put this script inside onProfileLoad function //control panel header gr=document.getElementById("controlpanel_header"); gr.innerHTML="<span class=\"shine\"></span>[b]Control Panel Header[/b]"; //photo gallery g2=document.getElementById("1").getElementsByTagName("h2")[0]; g2.innerHTML="<span class=\"shine\"></span>[b]Photo Gallery[/b]"; //more about me g3=document.getElementById("6").getElementsByTagName("h2")[0]; g3.innerHTML="<span class=\"shine\"></span>[b]More About Gradient[/b]"; [i] if you already have header replacement, just put empty span with '[b]shine[/b]' class before your header title[/i] [quote][b]<span class=\"shine\"></span>[/b][/quote] [i]this effects also can be used on addBox Header or Show/Hide with effects by [b]ferruz[/b][/i] [/spoiler] [b]Preview :[/b] [spoiler][img]http://i38.tinypic.com/1exmdd.jpg[/img][/spoiler] [b]Demo :[/b] [url=http://profiles.friendster.com/60643239]Demo 1[/url] [quote][b]Internet Explorer Issue :[/b] - gradient effect not appear, but sometimes appear. - each of box header lose/hide/gone, but sometimes appear. - understanding box positioning IE(absolute box inside relative box). - transparent *.png image (IE6 only)[/quote]

Last edited by gumscumbag (2008-08-19 08:04:44)

lloyd
» FTalker
FTalk Level: zero
133
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

be the first to comment very nice men!! keep it up
cklahrckiey
» FTalkFreak
FTalk Level: zero
1891
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

great discovery dude... keep up the good work.... :D
darylldelfin
» FTalkGeek
FTalk Level: zero
1389
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=gumscumbag]Demo : Demo 1 Demo 2 <- FF2+ Only[/quote] :o how come demo1 is on my friends list ? :paranoid:
BwizetT
» FTalkGeek
FTalk Level: zero
1015
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[b]Great, Imma Gonna Try this now...[/b] :o
gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=darylldelfin]:o how come demo1 is on my friends list ? :paranoid:[/quote] dunno, maybe you are using auto friend adder. i'm never add friend using that account :D
---xXirukiTepe---
» SuperFTalker
FTalk Level: zero
8896
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

great effex.... lol
triciapink29
» FTalkFreak
FTalk Level: zero
1504
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

Good Job For a Newbie nice! Cool Effect i love it

Last edited by triciapink29 (2008-07-27 23:40:46)

eehjhay
» FTalkWhiz
FTalk Level: zero
2692
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

Why you said its CSS if you still use javascript? I thought there's a new trick but its just a background image. Dont get offended.
gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=eehjhay]Why you said its CSS if you still use javascript? I thought there's a new trick but its just a background image. Dont get offended.[/quote] yes this is just styled element with background image and absolute position, but we need javascript to insert new element inside box header. except we can modify or insert new element to box header without javascript, this trick will be a pure css.
kacang`z
» FTalkWhiz
FTalk Level: zero
Some FTalkers ♥ My Threads!
2662
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

nice your topic...... thanks for sharing............. :thumbsup: :thumbsup:
gratitude1
» FTalkElite
FTalk Level: zero
4368
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

nice trick tnx for sharing!!..
tweaktweakers
» FTalkAddict
FTalk Level: zero
421
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

thanks for sharing, It sounds good! :thumbsup: But I can't see the preview.. :(
gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=tweaktweakers]thanks for sharing, It sounds good! :thumbsup: But I can't see the preview.. :([/quote] Demo 1 not working ? see every box header, but they have pink color so the effect does not like gradient. but i have put old demo at sidebar(after friends box).
tweaktweakers
» FTalkAddict
FTalk Level: zero
421
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=gumscumbag]Demo 1 not working ?[/quote] Yes, Demo 1 is not working =| .... Try to fix it..it says 'error on page' on status bar.
gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=tweaktweakers]Yes, Demo 1 is not working =| .... Try to fix it..it says 'error on page' on status bar.[/quote] oh my fault. is not loaded from IE :wallbash: i'll try to make it work for IE
pulasara
» FTalkAddict
FTalk Level: zero
574
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

Yeah this is great i like this!! =) :thumbsup:
mootred
» n00b
FTalk Level: zero
12
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

thx it's helpfull
moonrays00
» FTalkAddict
FTalk Level: zero
343
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

whats the purpose in code that you will put in a js file?
gumscumbag
» FTalker
FTalk Level: zero
113
0
1969-12-31

Re: [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

[quote=moonrays00]whats the purpose in code that you will put in a js file?[/quote] add a new empty tag with [i]shine[/i] class
  • ARCHIVES 
  • » [align=center][b]CSS Gradient Text[/b] [/align] [b]Intro : [/b] hi everyone i have a timeout from DotA clan wars and spend a couple minutes for write this article. i will share a simple trick to make

Pages: 12

Board footer

© 2024 F Talk

Current time is 04:07

[ 10 queries - 0.046 second ]
Privacy Policy