I am using this message scroller and I would like to be able to change the size of the font and also bold it. I would also like to disable the scrolling when I only have one message.
How can I do this?
Thanks
Frank
I am using this message scroller and I would like to be able to change the size of the font and also bold it. I would also like to disable the scrolling when I only have one message.
How can I do this?
Thanks
Frank
The style of the items in the scroller can be adjusted using a style block in the head of the page, ex:
To have it not scroll if there is only one item, find the black part of the below at the end of the script and add the red parts (don't forget the trailing bracket):Code:<style type="text/css"> #main2 { font-size:1.5ex; font-weight:bold; } </style>
Code:if (messages.length>1){ if (window.addEventListener) window.addEventListener("load", startscroll, false) else if (window.attachEvent) window.attachEvent("onload", startscroll) else if (ie||dom) window.onload=startscroll }
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks