Topic awaiting preservation: div-problem... (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-14-2001 18:06
i've got some div-layer problems: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-14-2001 18:47
Umm there is but it's not easy. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-14-2001 19:43
thanks a lot bitdamaged. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-14-2001 19:58
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 |
posted 09-15-2001 02:44
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 |
posted 09-15-2001 08:34 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-15-2001 12:01
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 |
posted 09-17-2001 08:28
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 |
posted 09-17-2001 08:29
Or, just paste this bit in at the start of the other script... |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-17-2001 19:08
thank you very much, doc! |