Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript new window/popup help...

    http://www.codingforums.com/archive/...p/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!

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,521
    Thanks
    3
    Thanked 507 Times in 494 Posts

  • #3
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'll give this a whirl. Thanks a ton!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •