notable

� � � �� � � �

This is the Code for the expanding Text

Credit for this script goes to Insidedhtml.com


Step1. Place the code below, I mean the code below that starts with the script, in the head of the html----

<SCRIPT ID=code LANGUAGE="Javascript">
����� function expandText() {
������� // Initialize Counter
������� if (null==document.counter) document.counter = -20
������� // Increment counter
������� document.counter++
������� // Expand letter-spacing of header
������� document.all.expandThisText.style.letterSpacing = document.counter
������� // Continue expanding text until letter-spacing is 10 pixels
������� if (document.counter<10)
��������� setTimeout("expandText()",50)�
������� else
��������� document.counter = null // reset when complete
����� }

����� window.onload = expandText;
��� </SCRIPT>

Step 2

Use this� script where you want the text to expand, replace the �words Expanding Text in the string on the next line��with whatever text you want to expand

<H4 ID=expandThisText>Expanding Text</H4> ���������

� � � � �


The is the code for expanding text with a bounce back

Step 1. Put in the head of your html

<SCRIPT LANGUAGE="JavaScript" ID=code>
�������� // Array of sizes to cycle between
�������� var sizes = new Array("0px", "1px", "2px", "4px", "8px");
�������� sizes.pos = 0;
���
�������� function rubberBand() {
����������� var el = document.all.elastic;
����������� if (null == el.direction)
�������������� el.direction = 1;� // switch directions
������������ else if ((sizes.pos > sizes.length - 2) ||
����������������������� (0 == sizes.pos))
�������������� el.direction *= -1;
����������� el.style.letterSpacing = sizes[sizes.pos += el.direction];
�������� }
�������� window.onload = new Function("window.tm = setInterval('rubberBand()', 100);")
�������� window.onunload = new Function("clearInterval(window.tm)")
��� </SCRIPT>�������

��Step 2.� Replace the words below��Elastic Text Bounces,� with whatever you would like to bounce. Add the string below where you would like your words to go.

<H4 ID=elastic>Elastic Text Bounces</H4>�������

���������

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �

� � � � �