...

View Full Version : PopUp Scrollbars Not Working



RogerThompson
01-02-2008, 04:27 AM
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,toolbar=yes,l ocation=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,men ubar=yes');void(0);");
}

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

Thanks

RogerThompson
01-02-2008, 04:46 AM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum