Posted by Jonathan N. Little on 08/13/05 16:02
Madame Blablavatsky wrote:
> hello,
>
> i have tables and layers in a stylesheet.
> the window people use can have a different width and height.
>
> i want to change the width and height of the tables/layers in the stylesheet
> depending on the
> window width and height of the user.
>
> i know how to get the height and width of the window using javascript, but i
> do not know
> how to get these values in the stylesheet.
>
> so my question is: how do i get the values from javascript into the
> stylesheet?
You cannot plug in the JavaScript variable values into a stylesheet
AFAIK, but you could use JavaScript to change an element's style
attributes on the fly to do basically the same thing.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|