![]() Topic awaiting preservation: div-problem... (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() i've got some div-layer problems: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Umm there is but it's not easy. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() thanks a lot bitdamaged. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Oh it's not in the source code. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() I know, ooh, ohh, pick me! I just wrote the first scripts for the Znippets.com site, right? One of the things I do is have a simple script that tells me how wide the viewable area in the browser is, and then you just use javascript to place the left at (screenWidth-divWidth)/2 and the top at (screenHeight-divHeight)/2. Worked like a charm for me, and it's not very much code at all. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() wow! doc, you're great! this works! thank you very much! |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() Oh! I can see, I only gave you half the script there, I'm calling for the Zflag.IE variable, and that's set in the "Zprime.js" script. That's the "object" it's looking for, heh. Pop over to the http://www.Znippets.com/ site and grab that script too, they're both teeny-tiny, so it shouldn't be a big burden for downloading! |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
![]() Or, just paste this bit in at the start of the other script... |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() thank you very much, doc! |