PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Target new window maximized...
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

Kinja Kahn

Joined: 06 Mar 2003
Posts: 168
Location: Detroit


PostPosted: Sat Mar 08, 2003 2:02 pm    Post subject: Target new window maximized... Reply with quote

I am a novice web designer. I was wondering how to make my link open a maximized window. I can do the new window part but making it maximized is giving me problems!
Here's what i have already... it opens the new window but it isnt maximized...

<a href="http://kinjakahn.sytes.net/640/" target="new" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('nav_r9_c2','','images/nav_r9_c2_f2.gif',1);" ><img name="nav_r9_c2" src="images/nav_r9_c2.gif" width="118" height="38" border="0"></a>

Thanks in advance!

_________________
*novice Photochopper*
Kinja Kahn
View user's profile Send private message

Alzeric

Joined: 10 Apr 2003
Posts: 36



PostPosted: Thu Apr 10, 2003 7:17 am    Post subject: Here try this.... Reply with quote

To Open a window Maximized:
Do not be afraid to open window larger than screen, its size will be limited with sceen resolution. The only problem is that old browsers wouldn't place new window at top left corner. But MIE4 and NN4 will do this.

Code:
<script>
window.open("","windowName","width=2000,height=2000,screenX=0,screenY=0");
</script>
View user's profile Send private message Visit poster's website

nsr81

Joined: 20 Feb 2003
Posts: 70



PostPosted: Thu Apr 10, 2003 8:26 am    Post subject: Reply with quote

I'd use this code. Seems to work good with IE 4.x, 5.x and 6.x and Mozilla.

Code:

<script language="JavaScript" type="text/JavaScript">
var URL   = 'http://URL.com';
var winName  = 'Window';
var height = screen.Height;
var width = screen.Width;
var features = 'width='+width+',height='+height+',toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,screenX=0,screenY=0,left=0,top=0';

window.open(theURL,winName,features);
</script>
View user's profile Send private message

Kinja Kahn

Joined: 06 Mar 2003
Posts: 168
Location: Detroit


PostPosted: Thu May 15, 2003 4:42 pm    Post subject: Reply with quote

Thanks guys
_________________
*novice Photochopper*
Kinja Kahn
View user's profile Send private message

beetle

Joined: 04 Mar 2003
Posts: 105



PostPosted: Fri May 16, 2003 8:37 am    Post subject: Reply with quote

Opening a window fullscreen is generally a Bad Idea™

I wouldn't do it. Let the user have control of the window - it belongs to them, not the webpage.

_________________
I got nuthin.
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com