By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,481 Members | 1,713 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,481 IT Pros & Developers. It's quick & easy.

Mac toolbar

P: n/a
On Mac IE5.1 there's a vertical toolbar on the left of the browsing
window.

This seems to throw off calculations of position and width.

How do you detect the presence of the toolbar and/or compensate for it.

Jeff
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
@SM
Jeff Thies a ecrit :

On Mac IE5.1 there's a vertical toolbar on the left of the browsing
window.
Yes, history, favorites, and so one
This seems to throw off calculations of position and width.
Ni pou ni mae. Pas compris. No comprendo. Not understood.

You mean :
when you have this bar your JS can't no more calculate ?
or
when this bar is opened the elements in page are not in good place ?
it is normal : the window display area is smaller
How do you detect the presence of the toolbar and/or compensate for it.


if you know how to do you ask the availWidth
then you try to arrange your page in function of
this width

What about when you open your page on 600/500 avail window ?
Jul 20 '05 #2

P: n/a
> > On Mac IE5.1 there's a vertical toolbar on the left of the browsing
window.


Yes, history, favorites, and so one
This seems to throw off calculations of position and width.


Ni pou ni mae. Pas compris. No comprendo. Not understood.

You mean :
when you have this bar your JS can't no more calculate ?


Seems like it throws off the calculations of both clientWidth and
offsetLeft. The calculations include the toolbar width.

HTML centering either margin: auoto or align: centers from the edge of the
window, not out to the toolbar edge.

Jeff

about when you open your page on 600/500 avail window ?
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.