webmaster resources and information

Path = Home : Webmaster Resources : HTML Design Tips : Open A New Window With A Button or Link

Open A New Window With A Button or Link


 


Web Source Web Design Tips
by Shelley Lowery

Using a Button:

<form>
<input type="button" value="Open Window" onclick="window.open ('yourfile.htm')">

Using a Link:

<SCRIPT Language="JavaScript">
<!-- Hide from old browsers
function openwindowlink(){
newwin = window.open("yourdomain.htm","windowname","
height=320,width=320,scrollbars,resizable")
}
// end hiding --></SCRIPT><A href="JavaScript:
openwindowlink()">Open Window</A>

 


Tip provided by: Web Source: Your Guide to Professional Web Design and Development. http://www.web-source.net






 

 

Menu


Online Stores


Search This Site

Custom Search

Miscellaneous