![]() Preserved Topic: Layer Question (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: in your head |
![]() 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 |
![]() Anyone? Hello? |
Maniac (V) Inmate From: there...no..there..... |
![]() 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 |
![]() hehehe |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() 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 |
![]() 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 |
![]() Yah, you should be able to just copy in this code, changing these two lines... |
Paranoid (IV) Inmate From: in your head |
![]() 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 |
![]() 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 |
![]() 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 |
![]() |
Bipolar (III) Inmate From: Magna, UT |
![]() Doc, |