Connecting Tech Pros Worldwide Forums | Help | Site Map

Resizing window

trialproduct2004@yahoo.com
Guest
 
Posts: n/a
#1: Jul 24 '05
Hi all
i am having problem in html page.
I have two html page one containing link to other.
I am using href to display new page and using target as _blank.
I want to open new page in maximized mode.
But new page is getting opened in restore mode.
Can someone tell me how to open new page in maximized mode.
Please help me.
Thanks in advance.


David Dorward
Guest
 
Posts: n/a
#2: Jul 24 '05

re: Resizing window


trialproduct2004@yahoo.com wrote:
[color=blue]
> I have two html page one containing link to other.
> I am using href to display new page and using target as _blank.[/color]

Oh dear.
http://diveintoaccessibility.org/day...w_windows.html
[color=blue]
> I want to open new page in maximized mode.
> But new page is getting opened in restore mode.
> Can someone tell me how to open new page in maximized mode.[/color]

Its a browser setting, you have no control over it. (Thankfully since almost
no webpages look sensible at 1600x1200)

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Gérard Talbot
Guest
 
Posts: n/a
#3: Jul 24 '05

re: Resizing window


trialproduct2004@yahoo.com wrote :[color=blue]
> Hi all
> i am having problem in html page.
> I have two html page one containing link to other.
> I am using href to display new page and using target as _blank.
> I want to open new page in maximized mode.[/color]

What about the users/readers of your website? What do they prefer? What
if they prefer to have new pages opened not maximized so that they can
notice that a new browser window instance was created by your website?
Assuming user data persistence by the browser (and this is settable by
the user), when a new window is opened without positions and dimensions
set, new window dimensions will be the same as the dimensions of the
most recently rendered window. So, let's say, the user loves 600x400
secondary window: then your new secondary blank window will open on this
user's screen at his preferred 600x400 dimensions. Isn't that nice?
See http://developer-test.mozilla.org/en...en#Description
And if the user loves instead maximized window, then your new secondary
blank window will open on that user's screen at his preferred maximized
dimensions too. The important thing for that second user is to notify
him in advance of this, so that he does not get confused when that
secondary window opens. That is what usability and accessibility gurus
and WAI recommend:


(link broken to avoid scrolling)
http://developer-test.mozilla.org/en/docs/
window.open#Always_identify_links_which_will_creat e_.28or_will_re-use.29_a_new.2C_secondary_window

* "If your link spawns a new window, or causes another windows to
'pop up' on your display, or move the focus of the system to a new FRAME
or Window, then the nice thing to do is to tell the user that something
like that will happen." World Wide Web Consortium Accessibility
Initiative regarding popups (http://www.w3.org/WAI/wcag-curric/sam77-0.htm)
* "Use link titles to provide users with a preview of where each
link will take them, before they have clicked on it." Ten Good Deeds in
Web Design (http://www.useit.com/alertbox/991003.html), Jakob Nielsen,
October 1999
* Using Link Titles to Help Users Predict Where They Are Going
(http://www.useit.com/alertbox/980111.html), Jakob Nielsen, January 1998
[color=blue]
> But new page is getting opened in restore mode.
> Can someone tell me how to open new page in maximized mode.[/color]

This was already answered in

http://developer-test.mozilla.org/en...indow.open#FAQ
[color=blue]
> Please help me.
> Thanks in advance.
> [/color]

Gérard
--
Remove blah from my email address if you want to email me.
Closed Thread