Admin Admin
Posts : 44 Points : 129 Reputation : 0 Join date : 2011-05-16 Age : 33 Location : Philppines
| Subject: Rainbow Text Mon Aug 08, 2011 2:14 pm | |
| Description: Utlizing IE 5's proprietary behavior functionality, Chris' script allows you to apply a live rainbow effect to any block of text (multiple text/page supported)! Extremely easy to set up, and degrades well with all browsers. Demo: Merry Christmas, and a Happy New Year! Step 1: Download the following .htc file, and upload to your webpage directory (by clicking it, or clicking it with Shift key depressed in NS): http://www.dynamicdrive.com/dynamicindex10/rainbow.htcStep 2: Insert this style sheet into the <HEAD> section of your page: - Code:
-
<STYLE>
<!-- Rainbow Text- By Chris Rickard (chris.rickard@paccoast.com) Submitted to Dynamicdrive.com For this script, visit http://www.dynamicdrive.com -->
.rainbow{ behavior:url(rainbow.htc) } </STYLE> Now, to apply the rainbow to a block of text, simply wrap that text in a <SPAN class="rainbow"></SPAN> tag. Example: - Quote :
- <SPAN class="rainbow">Rainbow tex</SPAN>
Or - Quote :
- <big><b><SPAN class="rainbow">Merry Christmas</SPAN></b>, and a <b><SPAN class="rainbow">Happy New Yearr</SPAN></b>!
Pretty nifty hay? |
|