You'll need to use CSS to do this. Firstly, add something like the below in the HEAD of your page:
Code:
<style type="text/css">
.marqueestyle{
font-family: Arial;
color: black;
}
.marqueestyle a{
color: green;
}
.marqueestyle a:hover{
color: red;
}
</style>
Then, inside the script, modify your marquee contents to carry your just defined CSS class name:
Code:
var marqueecontent='<nobr><span class="marqueestyle">Thank you for visiting <a href="http://www.dynamicdrive.com">Dynamic Drive.</a> If you find this script useful, please consider linking to us by <a href="../link.htm">click here.</a> Enjoy your stay!</span></nobr>'
For a list of available CSS properties, see: http://www.javascriptkit.com/dhtmltu...eference.shtml
Bookmarks