Revision: 20526
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 18, 2009 03:45 by itsmeritesh
Initial Code
function myOpenWindowCode() { var oWin = window.open("http://www.google.com", '_blank'); if (oWin) { if (oWin.focus) oWin.focus(); return false; } oWin = null; return true; }
Initial URL
Initial Description
Call this function with a URL and it will open it in a new browser window. Its synonymous to auto clicking a link with the target="_blank" attribute set.
Initial Title
Function to Open URL's in a new browser window
Initial Tags
Initial Language
JavaScript