Javascript Tutorial


| Section 1 | Section 2 | Section 3 | Section 4 |
| Section 5 | Section 6 | Section 7 | Section 8 |
| Section 9 | Section 10 |


How do I make floating images?
How do I make trailing images?



How do I make floating images?   (IE only) This is a really fun script that was written by Peter Gehrig at my request ;) It is included here with his permission. Each image can be linked to a different Web site, you can disable this option by adding a # sign instead of a link in the code.

demo


Add this tag immediately after your </head> tag and before the <body> tag (you can add or subtract images):


Use this tag in place of your own body tag, you can change the background color:

<body id="thisbody" bgcolor="#ffffff" onLoad="setValues()" style="width:100%;overflow-x:hidden;overflow-y:hidden">

Then put this code immediately after the above body tag:



up


How do I make trailing images?   (IE only) This is another awesome script by Peter Gehrig. An image bounces around your site, leaving a trail.

demo


Add this tag immediately after your </head> tag and before the <body> tag (you can add or subtract images):



Use this tag in place of your own body tag, you can change the background color:

<body id="thisbody" bgcolor="#ffffff" onLoad="setValues()" style="width:100%;overflow-x:hidden;overflow-y:hidden">

Then put this code immediately after the above body tag:



up





| About Lissa | Privacy Statement | Contact | Link Us |

Copyright 1997-2016 Lissa, All rights reserved
This Web site is registered with the Library of Congress Copyright Office.


lissaexplains.com


Lissa Explains it All -- HTML Help for KidsHTML Help, css, frames, tables, div layersCustom CursorsHTML Help ForumFree E-mail Service for Kids (and adults who love bright colors ;)Lissa Explains it All -- Free PostcardsLissa Explains it All -- MerchandiseLissa Explains it All -- Guestbook
HTML BasicsHTML TutorialCSS TutorialFrames TutorialTables TutorialColor TutorialFree JavascriptsFun Free Stuff for your siteMySpace TutorialHTML Tutorial
spacer