Determining the position of the browser in relationship to the screen

C

CES

All,
Is their a way of finding the position of the browsers top-left-hand-corner
as it relates to the monitors screen resolution?? By that I mean that if the
browser's window is at the upper most left hand corner of the screen, the X
aces would equal 0 and the Y aces would equal 0.

The references I've been able to find refer only to the browser itself and
not the browsers position as it relates to the screen.

Any help will be appreciated

CES
 
K

kaeli

All,
Is their a way of finding the position of the browsers top-left-hand-corner
as it relates to the monitors screen resolution?? By that I mean that if the
browser's window is at the upper most left hand corner of the screen, the X
aces would equal 0 and the Y aces would equal 0.

The references I've been able to find refer only to the browser itself and
not the browsers position as it relates to the screen.

Any help will be appreciated

Not in a cross-browser, cross-platform way, no. Is this for an intranet
or Windows application?

And the word is axis, not aces. An ace is a playing card. :)

/grammar nazi

--
--
~kaeli~
If that phone was up your a$$, maybe you could drive a
little better!
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
 
D

DU

CES said:
All,
Is their a way of finding the position of the browsers top-left-hand-corner
as it relates to the monitors screen resolution?? By that I mean that if the
browser's window is at the upper most left hand corner of the screen, the X
aces would equal 0 and the Y aces would equal 0.

The references I've been able to find refer only to the browser itself and
not the browsers position as it relates to the screen.

Any help will be appreciated

CES

There are browser incompatibilities; also even different implementations
of the same properties from browser to browser.

http://www10.brinkster.com/doctorunclear/HTMLJavascriptCSS/ScreenXYComparedScreenLeftTop.html

In real webpage situation, you should not need to use these properties
anyway. I'm sure there would be a workaround for what you are trying to
achieve.

DU
 
C

CES

Thanks,

DU your solution worked, unfortunate the reference I found, before my post
and spent a couple of hours trying to implement, was the wrong syntax.

Unfortunately I'm just anal about the way thank look and happen on my site.

Thanks Again.
CES
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top