Retrieve a property defined in a css
- From: Nicolas Terray <nicolas.terray (at) gmail.com>
- Date: Thu, 16 Feb 2006 11:19:31 +0100
On 2/16/06, SPENDLOVE, Matt, FM <Matt.SPENDLOVE (at) rbos.com> wrote:
> You can use Element.getStyle() in later versions of prototype.js
> <http://www.sergiopereira.com/articles/prototype.js.html>.
>
> Best
>
> Matt
>
Thanks for your fast answer.
However, Element.getStyle does not feed my needs, because I have no
elements with this class. In fact I want to be able to customize the
yellow fade (Effect.Highlight) with css. Therefore I want to do :
new Effect.Highlight(element, {startcolor:
value_of_a_property_in_a_css_class });
Thanks,
Nicolas
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs (at) lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs