543312
June 9th, 2003, 03:49 PM
Please see:
http://www.ericd.net/slidingNav3.html
The Nav. bar is at y=281(bottom target) when it first enters the screen. What kind of code should I put in so that it will be seen moving up to y=230(top target) when it first enter into screen, then move down and up on mouse rollover and out like it used to be?
I tried put in following code below Line 33:
If (this._y>230){
this._y -=5;
}
This does made the Nav. bar moving up on entering. But the bar no longer stay at top and bottom target--it just stays higher than both top/buttom targets on mouse rollover and out.
Any help would be appreciated.
Thanks
http://www.ericd.net/slidingNav3.html
The Nav. bar is at y=281(bottom target) when it first enters the screen. What kind of code should I put in so that it will be seen moving up to y=230(top target) when it first enter into screen, then move down and up on mouse rollover and out like it used to be?
I tried put in following code below Line 33:
If (this._y>230){
this._y -=5;
}
This does made the Nav. bar moving up on entering. But the bar no longer stay at top and bottom target--it just stays higher than both top/buttom targets on mouse rollover and out.
Any help would be appreciated.
Thanks