| free hosting image hosting hosting reseller online album e-shop famous people | ||
![]() ![]() |
||
Notice the extra blank section at the top of the Top image?
![]()
Top Image
![]()
Menu Background
And this goes into the body itself:
visibility - for initially hiding the Top Image
filters[0].Apply() - for enabling the revealTrans transition effect
filters[0].Play() - for playing the desired transition
revealTrans - for revealing the Top Image
z-index - for placing the Menu Background layer behind the Top Image
position: top and left - for placing the graphics and links in the desired page positions
top - for animating the Menu Background vertically downwards
<img id = click src="topimage.jpg" width=150 border=0All links and the Menu Background graphic are placed inside a div container, whose ID is mymenu.
style="position:relative;top:-27px;left:-2px;z-index:2;
visibility:hidden;filter:revealTrans(duration=2)">
<div id = mymenu style="position:relative;Relative positioning of the links is set up in the style section at top.
top:-5000px;left:-2px;" align=center>
click.filters[0].Apply()The image is made visible:
click.style.visibility = "visible"Transition effect #12 (Particle Dissolve) is selected and played:
click.filters.revealTrans.transition=12
click.filters[0].Play()
| # | Effect | # | Effect |
|
1
2 3 4 5 6 7 8 9 10 11 12 |
Reveal from inside out
Scroll in from outer parts Scroll out from center Scroll up from button Scroll down from top Scroll left to right Scroll right to left Vertical Blinds left to right Horizontal Blinds top to bottom Combination of 8 and 9 Similar to 8 Particle Dissolve |
13
14 15 16 17 18 19 20 21 22 23 24 |
Scroll in from outer parts
Scroll out from centre Close from both top and bottom Open from centre to top and bottom Diagonal roll from right to left Different angle diagonal roll R > L Diagonal roll from left to right Number 18: the other way Random horizontal lines Random vertical lines Completely Random none |
setTimeout("move2()", 1500)The setTimeout allows the transition effect to establish itself fully - it may be deleted if required.
j = - 404Initially at a relative top position of -404 (offscreen), the container moves downwards by increments of 10 pixels.
function move2()
{
if (j <= -16)
{
mymenu.style.top=++j
j+= 10
setTimeout("move2()", 10)
}
}
NOTE:
The relative position values are tailored for the graphics and links used in this example.
You may have to experiment with these settings for your own graphics and links.
Also notice the additonal background colour top section of the Top Image graphic:slides over the Start and Reset buttons
slides behind the Top Image graphic:
![]()
© 2001 CyberSchool