»
EnglishFrenchVietnamese

Print - Open new window with onClick event - JavaScriptBank.com

Full version: jsB@nk » Browser » Popup » Open new window with onClick event
URL: https://www.javascriptbank.com/open-new-window-with-onclick-event.html

Open new window with onClick event © JavaScriptBank.comThis JavaScript will open a new window when visitors click a spacified button/link.

Full version: jsB@nk » Browser » Popup » Open new window with onClick event
URL: https://www.javascriptbank.com/open-new-window-with-onclick-event.html



JavaScript
<SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction Start(page) {OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");}// End --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<input type=button onClick="Start('popup_content.html')" value="Open JavaScriptBank.com's example popup"><br><a href="javascript:Start('popup_content.html')";>Open JavaScriptBank.com's example popup</a><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->