W3C home > Mailing lists > Public > www-style@w3.org > October 2001

Behavioral CSS extensions: Method parameters...

From: Jon Rista <jrista@hotmail.com>
Date: Thu, 25 Oct 2001 03:01:46 -0400 (EDT)
Message-ID: <OE75mVEW3F5pjUn7VN200004abc@hotmail.com>
To: <www-style@w3.org>
I've recently begun using CSS behaviors (I REALLY favor the HTC method over embedded script, keeps things clean and encapsulated), and in my experiments, I've come accross a shortcomming in the current draft. There is no way of defining parameters for a method. It took me well over a week to get the answer to this question. If the working draft for CSS behavioral extensions is still beeing maintained, is it possible to update it with the parameter notation for methods? 

The following works with IE:

<public:method name="samplemethod">
    <public:parameter name="param1"/>
    <public:parameter name="param2"/>

<script language="JScript">
function samplemethod(param1,param2)
    // code

Jon Rista
Received on Thursday, 25 October 2001 13:52:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC