How to create a
rotating image effect
Before completing these directions, you want to make sure
your pictures are all the same type (.jpg, .gif, .bmp). If they are not,
open them in a photo editing program and save them as the same file types.
- In Chrome, right
click and view page source
- Copy the code from <SCRIPT> to </SCRIPT> tags
- Paste this code into the HEAD section of your page
- Create a new folder in your "Year" folder
- Place the pictures into
this new folder
- Re-name the pictures to picture10, picture11, picture12,
picture13 make sure you include the file type (.jpg, .gif, .bmp)
- Add onLoad="rotate()"
inside the <BODY> tag
- Insert the
picture10 into the table
- Add name="imgName"
inside the <IMG> tag
- Save the page and
preview
Back