You can use below given javascript code to open popup window:
javascript:window.open('http://google.com','infoWindow','height=458px,width=992px,resizable=1,location=no,top=90px,left=90px,scrollbars=1,titlebar=no');
Let's verify it:
javascript:window.open('http://google.com','infoWindow','height=458px,width=992px,resizable=1,location=no,top=90px,left=90px,scrollbars=1,titlebar=no');
Let's verify it:
<html>
<head></head>
<body>
<input type="button" value="Open a Popup Window"
onclick="javascript:window.open('http://google.com','popUpWindow','height=458px,width=992px,resizable=1,location=no,top=90px,left=90px,scrollbars=1,titlebar=no');"/>
<a href="javascript:void(0);" onclick="javascript:window.open('http://google.com','infoWindow','height=458px,width=992px,resizable=1,location=no,top=90px,left=90px,scrollbars=1,titlebar=no');">Click Here For Popup</a>
</body>
</html>
No comments:
Post a Comment
Thanks for your comments/Suggestions.