Reply to Re: values from javascript using in a stylesheet

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация