Preserved Topic: Layer Question |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: in your head |
posted 03-03-2002 00:06
Is there a way to have a layer show from "hide/show" in the middle of the browser window and have it follow the window on resize??? |
Paranoid (IV) Inmate From: in your head |
posted 03-03-2002 03:19
Anyone? Hello? |
Maniac (V) Inmate From: there...no..there..... |
posted 03-03-2002 03:56
Damn dude you gotta give me more than 3hrs to respond. I had to go to the grocery store, we had no food! |
Paranoid (IV) Inmate From: in your head |
posted 03-03-2002 20:18
hehehe sorry... I am impatient.. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-04-2002 01:10
Hmm, I do stuff like this all the time now, it sounds like you need a simplified version of what I'm using on my front page right now. From what I can see, you'd probably want the width of the window (or the top/left corner) to be adjusted automatically as the window resizes, or at least at the "onresize" event. Let's see if I could hack you up a quick script for this, hmm? |
Paranoid (IV) Inmate From: in your head |
posted 03-04-2002 10:14
boy.. this is complicated... |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-04-2002 10:44
Yah, you should be able to just copy in this code, changing these two lines... |
Paranoid (IV) Inmate From: in your head |
posted 03-04-2002 12:04
no go Doc |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-05-2002 07:47
OK, you've got all these <div>'s, named things like "about" and "contact" etc... so you're going to need to center them all, or place them inside another <div> and center that one. Try just replacing "floatWin" with the names of one of your divs, and see if that one centers as it should. (Possibly also call the "moveMe()" script when you call the MM_showHideLayers() too.) I could give you a full script to do all of them at once, do you want me to do that, or do you want to try and tackle this yourself? (You're awfully close right now.) |
Paranoid (IV) Inmate From: in your head |
posted 03-05-2002 10:16
Well.. let me play with it myself.. I would like to learn it and this would be a great experience for me... |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 03-05-2002 20:11 |
Bipolar (III) Inmate From: Magna, UT |
posted 03-16-2002 23:09
Doc, |