Expanding and Shrinking Text Banner |
|
Join the DiscussionWould you like to display an attention getting text banner on your page (like the one above)? If so then you first need to select the code from the text box below (there is a highlight all button beneath it to make this easier) and copy it into a file called txtbnr.js. You can amend the entries in the msgArray to say whatever you like and can add or remove entires if you want more or fewer entries in your banner. You can also adjust the speed at which the text changes size, the delay when the banner is at maximum size (cdel) and the maxfont size you want to use (but keep it below 48). Next you link the script into the head of your page using the following code:
<script type="text/javascript"
src="txtbnr.js">
</script> The final step is to place the following code into the body of your page wherever you want the actual banner to appear.
<div style="height:50px;" id="btx"
align="center"></div>
|

