Forums Archive Index > Cool free scripts > font type in newsticker
Date: 24 Sep 2003 6:59 pm
Hello,
I'd like to express my appreciation for Newsticker. Great script.
But I have one question. If I want to display a text without link, for example:
v_content=[
[' ','hello!','_blank'];
Newsticker will not consider font type and size that I specify. Can I define font type and size only for text without links?
thanks
Date: 25 Sep 2003 6:49 am
Hi,
Thanks for your appreciation :D
The easiest way to do this is to use SPAN elements around the text and format it the way you need. For instance:
v_content=[
[' ','<span style=font-family:arial;font-size:12px;color:blue>hello!</span>','_blank']
];
Or it's better to define a style class:
v_content=[
[' ','<span class=yourClass>hello!</span>','_blank']
];
Cheers!