473,386 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

<a target="_blank" /> opens half-size IE6 window

I have a js function that dynamically generates a block of html that
includes an anchor tag :

<a href="http://www.google.com" target="_blank" />

When the user clicks this link, the new IE6 browser window is full vertical
size, but only half horizontal size (of available screen area).

Starting iexplore.exe independently opens a full-size browser window.

Is this a machine-by-machine problem related to some OS or IE config setting
? Or can html be written to ensure that the newly opened browser window is
full-size ?

Thanks.
May 2 '06 #1
5 9299
onclick="window.open('../somepage.aspx','windowName','width=430,height=470, left=100,top=110');"

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:uS**************@TK2MSFTNGP04.phx.gbl...
I have a js function that dynamically generates a block of html that
includes an anchor tag :

<a href="http://www.google.com" target="_blank" />

When the user clicks this link, the new IE6 browser window is full
vertical size, but only half horizontal size (of available screen area).

Starting iexplore.exe independently opens a full-size browser window.

Is this a machine-by-machine problem related to some OS or IE config
setting ? Or can html be written to ensure that the newly opened browser
window is full-size ?

Thanks.

May 2 '06 #2
The window will be opened using the same size as the last known IE
window that was opened non-maximized. I beleive the reason that the
window is not opened maximized is that the user should be made aware
that it's a new window and not just a new page in the same window.

John A Grandy wrote:
I have a js function that dynamically generates a block of html that
includes an anchor tag :

<a href="http://www.google.com" target="_blank" />

When the user clicks this link, the new IE6 browser window is full vertical
size, but only half horizontal size (of available screen area).

Starting iexplore.exe independently opens a full-size browser window.

Is this a machine-by-machine problem related to some OS or IE config setting
? Or can html be written to ensure that the newly opened browser window is
full-size ?

Thanks.

May 3 '06 #3
I believe there must be a way to force the new window to open maximized. I
have seen web-sites where all links clicked to external sites open new
maximized windows highest on the z-axis.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:Ou**************@TK2MSFTNGP04.phx.gbl...
The window will be opened using the same size as the last known IE window
that was opened non-maximized. I beleive the reason that the window is not
opened maximized is that the user should be made aware that it's a new
window and not just a new page in the same window.

John A Grandy wrote:
I have a js function that dynamically generates a block of html that
includes an anchor tag :

<a href="http://www.google.com" target="_blank" />

When the user clicks this link, the new IE6 browser window is full
vertical size, but only half horizontal size (of available screen area).

Starting iexplore.exe independently opens a full-size browser window.

Is this a machine-by-machine problem related to some OS or IE config
setting ? Or can html be written to ensure that the newly opened
browser window is full-size ?

Thanks.

May 4 '06 #4
Are you sure that they were maximized, and not only resized (using
javascript) to fill the screen?

John A Grandy wrote:
I believe there must be a way to force the new window to open maximized. I
have seen web-sites where all links clicked to external sites open new
maximized windows highest on the z-axis.

"Göran Andersson" <gu***@guffa.com> wrote in message
news:Ou**************@TK2MSFTNGP04.phx.gbl...
The window will be opened using the same size as the last known IE window
that was opened non-maximized. I beleive the reason that the window is not
opened maximized is that the user should be made aware that it's a new
window and not just a new page in the same window.

John A Grandy wrote:
I have a js function that dynamically generates a block of html that
includes an anchor tag :

<a href="http://www.google.com" target="_blank" />

When the user clicks this link, the new IE6 browser window is full
vertical size, but only half horizontal size (of available screen area).

Starting iexplore.exe independently opens a full-size browser window.

Is this a machine-by-machine problem related to some OS or IE config
setting ? Or can html be written to ensure that the newly opened
browser window is full-size ?

Thanks.


May 4 '06 #5
Hi,

John A Grandy wrote:
I believe there must be a way to force the new window to open maximized. I
have seen web-sites where all links clicked to external sites open new
maximized windows highest on the z-axis.


I don't know any way of opening a maximized window using JavaScript.
However, you can read the screen width and height, and use these as
parameters for the window.open method (using the attributes string).

Also, if the window is maximized along the Z-axis, don't put your face
too near from the computer screen ;-)

Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
May 8 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Sugapablo | last post by:
I admit, I'm terrible creating reg ex's. I'm trying to create a preg_replace that would remove from a <a href> tag that would replace the target attribute regardless of what the value might be....
12
by: Romain | last post by:
Hi, I've used an excellent way to make target="_blank" links that still validate while using HTML 4.01 Transitional doctypes in the past. I learned the trick from :...
16
by: St. Rechsteiner | last post by:
Hi How i made the same effect in xHTML like the - target="_blank" - Tag in HTML 4.01? I will use it with xHTML and CSS ... but the validator say's to me, that this tag wasn't valid for xHTML!...
6
by: Tony Marston | last post by:
The code <a href="..." target="_blank">...</a> will not validate as XHTML STRICT because of the 'target' tag, so how do I achieve the same result by moving it to a CSS file? I cannot find anything...
10
by: Dieter Salath? | last post by:
Hi, in our webpage, a user could open a windows explorer to his temp directory with a simple link and usage of the file protocol: <a href="file://C:\temp" target="_blank">C:\temp</a> This...
4
by: ad | last post by:
I used Response.Redirect(sUrl); to open another .aspx But I want to open it in another browser like target="_blank" How can I do that?
28
by: Jim Carlock | last post by:
For Strict DOCTYPEs, what's the recommended way to get an anchor to open inside a new browser? Thanks. Jim Carlock Post replies to the group.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.