PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Graphic Design/Multimedia/Flash/Shockwave
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 2-15-02, 01:25 PM   #1
nglovrmike
 
Posts: n/a
New Window Size...

I figured out how to make a new window open when a link is clicked, but is there a way to adjust the size of a new window? I want the links to provide some supplemental information that shouldn't clutter the main window, but I don't want a full size window to open....just one big enough for the info.
Thanks!
Mike
 
Old 2-15-02, 02:32 PM   #2
muijefr
home boy
 
muijefr's Avatar
 
Join Date: Jan 2002
Location: Vancouver, WAUSA!
Posts: 1,841
Reputation: -12
Wink

Try this for a sizeable image window:

<a onclick=window.open('Images/index.html','','width=nnn,height=nnn,scrollbars=ye s,resizable=yes,location=no,menubar=no,toolbar=no, top=0,left=0')
href="javascript:void(0)">TEXT of IMG Tag</a>

Try this for a sizeable html window:

<a href=javascript:void(0);
onclick=window.open('your.html','','width=nnn,heig ht=nnn,scrollbars=yes,resizable=yes,top=0,left=0') >TEXT or IMG TAG</a>

Putting the window.open and related parameters on one line, the same line, will cut down on any problems (the javasacript:void(0) helps NetScape get along with the window.open).
muijefr is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:47 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.