How to open a popup window depending on screen width and height

The following code will open a popup window depending on screen width and height

onClick=“javascript:window.open(’php page name’, ‘title’, ‘width=’+screen.width+’PX, height=’+screen.height+’PX, scrollbars=yes, top=0, left=0′);”

The above line will be placed inside the anchor tag

Posted by Kalaivani S

Leave a Reply

You must be logged in to post a comment.