Example 1 Fade-in effect using images ![]() ![]() ![]() ![]() HTML used for this example: |
Example 2 Fade-out effect using images ![]() ![]() ![]() ![]() HTML used for this example: |
Example 3 Fade-in effect using text and CSS "buttons" Text 1
Text 2
Text 3
Text 4
Text 5
Text 6
Text 7
Text 8
HTML used for this example: |
Example 4
Fade-out effect using images with underlying text Text 1 ![]() Text 2 ![]() Text 3 ![]() Text 4 ![]() At first, these buttons were squished together in Netscape 4. I found the font style decaration for the text was at fault so wrapped all of the buttons in a DIV and set the font-size to 18px. Since the text under the buttons have their own style attributes, this workaround didn't affect them under IE4 / Netscape 6. Even though the script doesn't work in Netscape 4, I still try to make the page look about the same. I also had to wrap the individual images and text DIVs in seperate LAYER tags or the z-index got messed up. |