From the demo page:
Note that you can insert HTML tags in the item text to mix fonts. The defaults are "Arial,Helvetica" and 2 respectively.
This means that you could also use span or division tags, ex:
Code:
myScroller1.addItem("<span class='scroller'>Click here for <a href='http://dynamicdrive.com'>Dynamic Drive</a>, the net\'s #1 DHTML site!</span>");
If you were to do this for all myScroller1.addItem entries, the entire style, including font-size, could be controlled from a stylesheet:
Code:
<style type="text/css">
.scroller {
font-size:12px;
}
</style>
Bookmarks