Jump to content

window.open params


ginerjm

Recommended Posts

Do any of them work?

 

I have the following:

var uid = window.open(url, '', 'modal=yes,dialog=yes,scrollbars=0,height=350,width=400,left='+left+', top='+top+', status=0 ,location=0, menubar=0');

 

The resulting window has a location bar, a status bar but thankfully, no menu bar.  I'd like to get rid of everything to have it look more like a dialog box but I can't seem to.  It also doesn't function "modally" altho I would like it to.

 

I was using a showmodal before but found out from this site that it's not a good choice.  But I sure would like to get these options to work. 

 

btw - I have tried to use "no" values as well.

Link to comment
https://forums.phpfreaks.com/topic/241520-windowopen-params/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.