Re: Scrollbar + javaScript

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

 



On Mar 15, 2004, at 11:20 AM, Nadim Attari wrote:
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).

Hello Nadim,


This is entirely different from PHP and databases, so please pick the right list for these kind of questions. The matter can be handled with JavaScript (which is a client-side scripting language, while PHP and databases are server side).

Please use google and you will find your solution.

Regards,

Filip de Waard

--
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