OT: safari windows
David Herren
david at idiomatrix.com
Thu Dec 20 05:44:49 PST 2007
Off topic, but given it's safari...
On one of the web sites I inherited (...) a little javascript is used
to pop open a window stripped of much of the chrome, but it very
clearly is set to display the menu bar so users on windows can still
select print to print the contents. This works on all windows and
linux browsers we've tested, but no menubar appears in safari on
windows.
Has anyone else noticed this? I've never filed a bug with apple and
I'm not a registered developer, but I plan today to try to figure out
if this has been reported and if not, figure out how to go about doing
that if anyone else can confirm that it's not just bad javascript
here. To whit:
function popWindow(pURL,wName){
new_window =
window
.open
(pURL
,wName
,'width
=
600
,height
=
450
,screenX
=
25
,screenY
=25,scrollbars=yes,toolbars=no,menubar=yes,resizable=yes,dependent');
new_window.focus();
}
The script is obviously pass the URL and window name (interesting that
Explorer will choke and not display the window if there is a space in
the name passed, but we determined that long ago...and Explorer
problems are definitely OT except to say: "Explorer, SIOOMA")
/david
--
david herren-lage - shoreham, vt
"We spent a lot of time talking about Africa, as we should. Africa is
a nation that suffers from incredible disease."
-George W. Bush, Gothenburg, Sweden, Jun 14, 2001
More information about the MacOSX-talk
mailing list