PDA

View Full Version : Help with script



ckusitor
06-02-2008, 05:04 PM
1) Script Title: Memory scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/memoryscroller.htm

3) Describe problem: Hi, this is a really basic question, wont take long for someone who knows thier stuff...does anyone know how i can edit the script to change the colour of the scrolling text to white? i cant see the option to change the font colour...thank you in advance

johnnyrodrigues
06-02-2008, 06:34 PM
hey i think i have the answer for your problem:

change this line:

var memorycontent='<nobr><span style="font: bold 13px Verdana">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a> If you find this script useful, please consider <a href="http://www.dynamicdrive.com/link.htm">linking to</a> or <a href="http://www.dynamicdrive.com/recommendit/">recommending</a> Dynamic Drive.</span></nobr>'

to:

var memorycontent='<nobr><span style="font: bold 13px Verdana; color: red">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a> If you find this script useful, please consider <a href="http://www.dynamicdrive.com/link.htm">linking to</a> or <a href="http://www.dynamicdrive.com/recommendit/">recommending</a> Dynamic Drive.</span></nobr>'

the change is in bold. I just added the color attribute to the style of the span tag. try it out and see if it works ;)

ckusitor
06-05-2008, 02:45 PM
thank you soooooo much! your a life saver. much appreciated.