How to create open link in new window with specific size?
The following is javasript code which can use to open link in new window with specific size, simply copy paste the code below!
<a href="#" onClick="window.open('http://google.com', 'chrisnewwindow1', 'width=400, height=400, left=48, top=80, menubar=0, toolbar=0, scrollbars=1, location=0, directories=0, resizable=1, status=0');return false">Google In New Window</a>
Parameters that can be change:
width=400 (width windows)
height=400 (height windows)
left=48 (distance position window from left)
top=80 (distance position window from top)
Note: Some of the window features are browser dependent. You’ll get different results on Safari for Mac, Internet Explorer for Windows, or Firefox on either.
Rating: 5 like it» Reviewed by Best Solver on In Opening Link with specific size window