I have been lurking here for some time, and now would like to ask a
question of you clever coders:
My JustSo PictureWindow 3 Extension for Dreamweaver has stumbled in the
face of the new Opera 8. Jspw3 opens a popup window (using
varname=window.open(...)) but there are now two problems:
1) Opera8 interprets a top,left of 0,0 to be top left of the browser
window rather than of the entire screen, unlike the other modern
browsers I've run across.
1-Question) - is there a way to force window.open() interpret 0,0 as the
upper left corner of the *screen* in Opera8?
2) when my opening window's jscript attempts to close the popped window
using varname.close(), Opera8 throws a js error: "Type mismatch
(usually a non-object value used where an object is required)" (This
despite not attempting to close until this condition has been met:
"if
(varname && typeof varname=='object' && !varname.closed)
varname.close()"
2-Question) - any idea how to change the js in the opener so it can
close the popped window object without throwing that error?
Thanks so much.
btw, I've searched the Opera forums to no avail, altho there was some
discussion of a bug that sounds *possibly* related.
--
e michael brandt
michael at valleywebdesigns.com
www.valleywebdesigns.com ::: home of justso picturewindow & photoalbum
--