new window

This is a discussion on "new window" within the Web Page Design section. This forum, and the thread "new window are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 8th, 2006, 15:14
Junior Member
Join Date: Jan 2006
Age: 23
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
new window

whats the code to open a new window, i.e. for a large version of thumbnail, and have the window set to a certain size instead fullscreen?
Reply With Quote

  #2 (permalink)  
Old Mar 8th, 2006, 15:24
Junior Member
Join Date: Jan 2006
Location: Leeuwarden, NL
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Post 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.
Reply With Quote
  #3 (permalink)  
Old Mar 9th, 2006, 02:19
Junior Member
Join Date: Jan 2006
Age: 23
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Re: new window

thanks for that, appreciate it,
Reply With Quote
Reply

Tags
window

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open another new window from javascript window thehermitage JavaScript Forum 10 Jan 27th, 2008 19:42
Change open in new window to open in same window nsr500rossi JavaScript Forum 2 Jan 18th, 2008 14:13
[SOLVED] open new window from main window AdRock Other Programming Languages 1 Nov 1st, 2007 02:45
New Window Help? Athlete22 JavaScript Forum 1 Jun 1st, 2007 13:06
Pop Up Window bruno89 Web Page Design 9 Aug 22nd, 2006 14:20


All times are GMT. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43