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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PopUp Scrollbars Not Working

    I am really stumped why the first set of javascript returns a new window with scrollbars but the second set of javascript returns a window where the scrollbars are missing. Everything but the scrollbars seems to be working in the second set of code. Any help is greatly appreciated.

    This javascript returns a new window with scrollbars:
    on (release)
    {
    javascript("window.open('Contact.htm','Contact','width=500,height=540,resizable=yes,scrollbars=yes,t oolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,top='+((screen.availHeight/2)-(540/2))+',left='+((screen.availWidth/2)-(500/2))+'');void(0);");
    }

    This code returns a different popup window, but the scrollbars are missing in this new window:

    on (release)
    {
    javascript("window.open('http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=1600+Madison+St,+South+Roxana,+IL&sll=37.0625,-95.677068&sspn=31.564064,59.238281&ie=UTF8&ll=38.834125,-90.051241&spn=0.015144,0.028925&z=15&iwloc=addr&om=1','Google','resizable=yes,scrollbars=yes,toolbar =yes,location=yes,directories=yes,status=yes,menubar=yes');void(0);");
    }

    Why do the scrollbars not show up in the window generated by the second code?

    Thanks

  • #2
    New to the CF scene
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    After much frustration with the code, I thought I'd go to a Google Map page just by searching for my address. It would seem that Google Map pages do not have scrollbars no matter how you get to them. The bummer with this is that if you keep on browsing in the window to another site, the scrollbars stay hidden - even on a non-Google site.

    Does anyone know if there is a way to force scrollbars into a Google window?


  •  

    Posting Permissions

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