
Mar 8th, 2006, 15:24
|
|
Junior Member
|
|
Join Date: Jan 2006
Location: Leeuwarden, NL
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: new window
With javascript :
- HTML: Select all
<html>
<head>
<script language="JavaScript">
function WinOpen() {
msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no");
msg.document.write("<HEAD><TITLE>text</TITLE></HEAD>");
msg.document.write("<CENTER>text text</CENTER>");
}
</script>
</head>
<body>
<form>
<input type="button" name="Button1" value="Push the button"
onclick="WinOpen()">
</form>
</body>
</html>
Or with link(in <body>:
- HTML: Select all
<a href="url" target="_blank" title="title" onclick="window.open('url','windowname',
'width=990,height=700,scrollbars=yes,toolbar=no,location=no'); return false">Link</a>
Good Luck!
Last edited by AnneJan; Mar 8th, 2006 at 15:28.
|