PDA

View Full Version : Scroller doesn't show up



RingsideBoxingShow
02-20-2010, 02:24 AM
1) Script Title: Typing Scroller

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

3) Describe problem: I've pasted the typing scroller code on my site, but the text doesn't show up.
I'm guessing this might be because the background of my website (www.ringsideboxingshow.com) is black, and so is the text.
If this is the case, can somebody tell me how to change the color of the text?

Thank you.:confused:

Nile
02-21-2010, 12:50 AM
Change:


document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write(' style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')
\
To:


document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write(' style="background-color: '+document.bgColor+'; color: #fff; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')

jscheuer1
02-21-2010, 06:33 AM
Ah, but that's not the real problem. The background color of the 'typer' is white, so the text color should be black and currently is. The script is old though, so you should edit it where Nile says and change the background color there as well to get the background and the text colors to match the rest of the page or to be whatever you want them to be, and to be legible.

However, a real problem is that you have have put the script in your source code twice. This script can only be used once per page. If it is used more than once, none of them will work.

There could also be other problems.

Nile
02-22-2010, 01:25 AM
Try: http://www.dynamicdrive.com/dynamicindex10/text5.htm instead