Closed Thread Icon

Topic awaiting preservation: popup / autoresize Pages that link to <a href="https://ozoneasylum.com/backlink?for=8665" title="Pages that link to Topic awaiting preservation: popup / autoresize" rel="nofollow" >Topic awaiting preservation: popup / autoresize\

 
Author Thread
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 05-21-2003 13:49

Hello,

As I'm not into Webdev any longer...I can't answer myself, as most of the times, because of lack of time...


Any one recommend a simple script that given an image name it will show it in a popup window with no-scroll bars but the window will be resized to match the image's dimensions...that must be only a client side script.





Elias,

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 05-21-2003 18:31

Yeah, Bug's made a script that'd do that although it would pop-up at 100x100 (smallest size a window can be in MSwindows) then resize itself after the image had loaded. This is because the only reliable way to get an image size is to check the document size once the image has loaded (even if the window is 100x100, the document reflects the size of the content) then resize and re-position the window accordingly.

You might be able to find it on his website somewhere or maybe even at the GN.

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 05-22-2003 10:45

I just happened to pop in and see this. You can check out my script here:
http://www.bugimus.com/gurus/image_popup/imagepopup.html

Feel free to modify it if you need to but it works pretty ok as is. I suggest taking out some of the text I put at the bottom of the popup.

. . : slicePuzzle

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 05-22-2003 21:17

Hello Bugimus,

Thank you very much.

Elias

[This message has been edited by lallous (edited 05-22-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu