...

View Full Version : Javascript new window/popup help...



o0 Ryan 0o
06-01-2005, 10:15 PM
http://www.codingforums.com/archive/index.php/t-26900.html

I found this code searching the web and I had a few questions about it. Just to fill you in, I want to have an image load snug in a popup. Before I would make a new html page with the image on it, and then load the html page in the popup. That got to be a pain in the butt, making a new page for every image. I want to just load the image alone in a popup.

This script almost works the way I had hoped, but I'm finding two problems. It works, fine in IE and Safari, but not mozilla browsers. There's still scroll bars at the top and the bottom of the popup in Mozilla browsers. I was just wondering if there's any way to fix that. Also, I've found that this script gets blocked by a few popup blockers. Is there anyway around that? Before I was using "MM_openBrWindow" from DreamWeaver, and that wasn't blocked.

So basically, I want an image to load in a new window snugly without any margins. I'd like to have it work in mozilla and not be blocked.

Any ideas. I hope this isn't to much to ask, haha. Thanks a lot!

vwphillips
06-01-2005, 10:37 PM
see

http://www.vicsjavascripts.org.uk/ImagePopUp/ImagePopUp.htm

o0 Ryan 0o
06-01-2005, 10:51 PM
I'll give this a whirl. Thanks a ton!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum