> ...if it is possible to pass variables values to css from javascript and
how
> Pablito

This may be the reverse of what you are asking, but...
This page:  http://lfhs.org/
uses this javascript: http://lfhs.org/js/popup2.js
with this css: http://lfhs.org/css/lfhs.css
that simply has these declarations: 
.popup {font-variant:normal;}
.smallpop {font-variant:normal;}
so that the classes will show up as options in a drop down menu when the
webmaster is using DreamWeaver.

To see it in action, on http://lfhs.org/ at the bottom of the page, click on
"About this website" to see the small window open instead of a new tab that
you would get with target="_blank"
The link has class="smallpop" which initiates the script.
The linked PDFs in the left menu use class="popup"

The purpose of using the class instead of directly calling the javascript is
to make it easier for the webmaster, who is not fully conversant in html,
css, or javascript.


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to