Web Design Beginning Web Page Design Advanced Web Site Design Professor Higgins Web Design Resources
 

CSC 111 - CSS and Jscript in IE

Growing Text - Internet Explorer Only

Text 1

Text 2

Text 3

Text 4

Text 5

This is text 1. Here is were you place your first paragraph. This is the text that will come up before the others.

This is text 2. Here is were you place your second paragraph. This is the text that will come after the first text. Two is a romantic number.

This is text 3. Here is were you place your third paragraph. This is the text that will come third before the fourth paragraph.

This is text 4. Here is were you place your fourth paragraph. This is the text that will come up after the other three. Last but not least.

This is text 5. Here is were you place your first paragraph. This is the text that will come up before the others.

This is an example of dhtml that shows how it is possible to dramatically change the size of text through the use of JavaScript, CSS and an event handler.

What we are doing here is using the even handler (mouseOver) to trigger a change in font size using JavaScript from very small to normal.

Use >View>Source to see the code.

Note: Works only in IE 4+ browsers

.