Closed Thread Icon

Topic awaiting preservation: Popup in a Window w/ no borders (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8184" title="Pages that link to Topic awaiting preservation: Popup in a Window w/ no borders (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Popup in a Window w/ no borders <span class="small">(Page 1 of 1)</span>\

 
TekFusion
Nervous Wreck (II) Inmate

From: US
Insane since: Mar 2002

posted posted 05-24-2002 03:37

Can anyone write me up a quick code that will make a popup upon clicking a link that will open an image with a margin size of 0px ? Ive been looking everywhere, and cant find one =/

Feel free to throw in your <!--©opyright --> as well, and Ill put that in the code if youd like =)

I just need this cooooode

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-24-2002 03:45

TekFusion: I probably interpret your title and question as being different things (the title seems to suggest you want a chromeless window) but I'll go with the question. I'd recommend that rather than pop up the the image in a new window I would embed the image into a webpage (I'd probably use PHP in there too) and use CSS to remove the margin and padding (the padding removal is for Opera) from the body. This would make the image start hard against the side of the new browser window - is that what you were after?

If you want to support early versions of IE and NS then there is a little bit of extra code you can add (but I wouldn't unless you really want to!!).

___________________
Emps

FAQs: Emperor

TekFusion
Nervous Wreck (II) Inmate

From: US
Insane since: Mar 2002

posted posted 05-24-2002 03:50

Im not interested in supporting older browsers (I know thats ignorant, but Ill switch to *ALL* browsers when I get my main design down). Ill just end up going php for all that...
I was just hoping to score a JS for it, thats all

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-24-2002 07:31

Take a look at the following two links:

http://www.gurusnetwork.com/tutorials/html/windowpop_generator.html
http://www.bugimus.com/gurus/image_popup/imagepopup.html


« BackwardsOnwards »

Show Forum Drop Down Menu