Windows

How to Open a Link in a New Window or New Tab

Open a link in a new tab
<a href="TARGET URL HEREtarget="_blank">Open page in new tab</a>
The code will create this link:
Open page in new tab

Open a link in a new window with specified size
<a href="#onclick="window.open('TARGET URL HERE','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=650, height=450');return(false)">Open page in new window</a> 
The code will create this link:
Open page in new window

Post a Comment

0 Comments