Forum Moderators: open

Message Too Old, No Replies

Safari and pop up - size

won't display right size of my pop up..

         

Jeeek

3:16 pm on Jan 22, 2004 (gmt 0)

10+ Year Member



ok I want to have a pop up window with 340height, 340width, but Safari displays a 100x100 (or so) window.

Anyone else has this problem?

here's the code I use (external .js file - but shouldn't matter at all):

function winopen(targ) {
window.open(targ, "Logo", "height=340, innerHeight=340, width=340, innerWidth=340, left=200, top=120, screenX=200, screenY=120, location=no, dependent=yes, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no");
}

btw - even IE 6 doesn't display that properly - I always get a window with the size of about 345x345. Opera ignores "scrollbars=no" and "resizable=no"...

help appreciated ;-)

dcrombie

11:00 am on Jan 23, 2004 (gmt 0)



Try getting rid of the spaces in the list of attributes. Also not sure about "innerHeight/innerWidth" and "screenX/screenY" - are they necessary for Explorer? If not then I'd get rid of them.