Closed Thread Icon

Preserved Topic: Help Debug sliding div Pages that link to <a href="https://ozoneasylum.com/backlink?for=18394" title="Pages that link to Preserved Topic: Help Debug sliding div" rel="nofollow" >Preserved Topic: Help Debug sliding div\

 
Author Thread
Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 03:32

I am trying to make the copyright div slide in to the bottom center. I also have code that keeps it centered horizontally on the page but I am running the slide functions first onload. As far as i can tell it is setup pretty much the same as the 2 other divs I all ready have sliding in.

I am using:

EndPosCopy()
slideCopy()

to caculate endPosCopy and to slide it in. should work like

EndPosMenu()
slideMenu()

but it doesn't. I am using MAX's editor and am not getting any script errors but it is not working.

Please help see if you can tell what I am missing at www.finlinson.com/design

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 03-23-2002 05:58

hola,
It's your InititalizeH function being called.
It's centering the copyright before it can go through the slide function more than once.

I didn't totally analyze the code but I'm pretty sure you don't need that if you are sliding in the copyright.



.:[ The Tao of Steve ]:.
Be Desireless
Be Excellent
Be Gone
...................................

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 16:49

So If I call initializeH() from the end of slideCopy() instead of in onload it should be out of the way?

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 17:07

That doesn't work either. If I comment out the initializeH() function all together then it will slide but then it won't recenter with rePosH() on resize because myObj2 is not being set.

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 17:36

Ok I got rid of initializeH() all together. I have copying one function and modifying it to affect other divs. So I had to go through and make some variables more unique like initializeH() and reposH() were using myObj2 which was copied and modified from myObj in initializeV() and rePosV(). I changed rePosH() to CopyObj and changed obj in slideCopy to CopyObj as well and wala now it slides then repositions.

I have to go through all my slide functions using obj and change to MenuObj DateTimeObj etc...

I still have to write a function to keep the link menu just off the right side on resize so I will be facing the same thing again soon.


Thanks a lot you put me on the right track I wasn't sure what was causing it and now I have a path to follow.

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 03-23-2002 17:55

You're doing a great job, Quarath. That site is looking real good to me.

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 19:59

I just need to decipher Zscrollbar2 for my links. I looked at before it didn't make any sense. I wasn't sure how I could adjsut it to to display in the right center for each link.

I also am not that good with transparencies and want to seperate the logo and make the mountains Pan left and right on horizontal mouse movments. The only event I can find is onmousemove though. there was no onmouse left or onmouseright.

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 03-23-2002 21:48

"no onmouse left or onmouseright"... Right, that's because they don't exist.

You will have to use the onmousemove event to calculate whether the mouse has moved right or left. You will need to save the position of the mouse in the event handler and then compare it to the current position. Then you can tie that to panning your mountain range.

Doc wrote two transparency tutes: http://www.handson.nu/HTML/transparency.shtml http://www.handson.nu/HTML/dither.shtml

There's more help in the Photoshop section if you still have trouble with them.

Quarath
Bipolar (III) Inmate

From: Magna, UT
Insane since: May 2000

posted posted 03-23-2002 22:41

Ya i've those up in front of me now deciding if I really have time to delv into it today.

The onmousemove stuff just went way over my head but maybe I'll grasp it better tomarrow.

Thanks a ton for your help. I'll definatley be back several times before I'm done.

« BackwardsOnwards »

Show Forum Drop Down Menu