Topic awaiting preservation: Question on window.open() |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-02-2004 12:23
OK, it's been a while since I've tried messing around with JS, and I've got me a question. Is it possible to open up a new window using window.open() that has document margin and padding values set to 0? I would like to do this because I want to just load an image (not an html page) in a pop-up, and I'd like to get rid of the default margin/padding. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 04-02-2004 12:36
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: New California |
posted 04-02-2004 20:58
I think krets uses a modified version of the one I wrote. I have recently made some mods to it myself and you can see the latest on that flower site of Wella's in the gallery... http://www.theflowerbuds.com/ |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-03-2004 04:59
Ah, thanks guys. I knew you'd come through. |
Maniac (V) Inmate From: Seoul, Korea |
posted 04-17-2004 04:17
Well, it only took me two weeks to sit down and pound out the code. Much thanks to the advice from InI and Bugs. I used Bugs' JS code as a model for my own script, which you can now see in action (just start clicking on the photos). |