How to open a popup with specified width and height

//Javascript

window.open(’login.php’,'title’,'width=564PX,height=474PX’);
-The above line will place inside the script  tag.
-It will open a login.php page with 564px as width and 474px as height of the page

//To open a popup window using ‘anchor’ tag

onClick=“javascript:window.open(’login.php’, ‘title’, ‘width=564PX, height=474PX’)”;

-The above code will open a popup window based on  the onclick event

Posted by Kalaivani S

Leave a Reply

You must be logged in to post a comment.