faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

15 of 31 people (48%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How can I change the color in the certain javascripts? such as text scrolling.

Apr 4th, 2008 19:42
ha mo, Colin Fraser, Hannah Huynh,


If you mean the scrolling text then use a style to directly change the 
text eg:
<script .... ><!--
...setup layer and scroll box...
 document.write ("<font style=color:#000099;font-family:Arial, sans 
serif;>text here</font><font style=color:#ff0099;font-family:Times, 
serif;>more text here</font>")
...close scroll box and layer...
-->
</script>
For any other changes just set the page and layer properties the way you 
want them.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com