Scrollbar + javaScript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This is much an HTML/javaScript problem (and not PHP). Your help is
appreciated!

Is there a way to know (e.g. through javaScript) whether scrollbar is
active?

Problem:
--------
I have a window in which there is a table. if there is much contents, a
vertical scrollbar appears; if little content the scrollbar does not appear.
My problem is that i would like to know whether the scrollbar is here or
not; hence adjust the width of the table (and colums) accordingly! I have
disabled horizontal scrollbar ("overflox-x: hidden" in CSS).

Thx,

Nadim Attari
Alienworkers.com
Mauritius

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux