In Windows10 with IE edge when I want to open a popup with below code its always showing full screen pop up window.Ideally by default 'fullscreen=no' but same code is working in windows7 with IE11.
Sample code :
myaddress=url //to for popupwindows
win = window.open(myaddress,"test","width=500,height=500,location=no,status=no,menubar=no,toolbar=no,resizable=no,scrollbars=1");
As I am new to javascript could you please help me on this
Thanks, SPradhan
Thanks for your suggestions and help.Now I am able to resolve the issue.
function test(){ window.open('google.com',"test","width=500,height=500,location=no,status=no,menubar=no,toolbar=no,resizable=no,scrollbars=1,fullscreen=no"); }
fullscreen=no works perfectly in Windows10 + IE Edge
Thanks & Regards, SPRADHAN
It depend on how do you create this. For example, in button onClick listener:
Html:
<input id='foo' type=button value="Click me" />
And in JavaScript:
var e = document.getElementById('foo');
e.onclick = test;
function test(){
window.open('google.com',"test","width=500,height=500,location=no,status=no,menubar=no,toolbar=no,resizable=no,scrollbars=1");
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.