[Kss-devel] KSS, Firefox 3 and selective-click
Godefroid Chapelle
gotcha at bubblenet.be
Sun Mar 9 07:38:40 CET 2008
Malthe Borch wrote:
> Godefroid, ––
>
> First, I've tried out KSS in Firefox 3, and it complains with a syntax
> error in base2-dom-fp.js. Are you aware of this?
Nope, can you report the problem on
http://code.google.com/p/base2/issues/list
and let us know ? This way, we can follow up...
>
> Secondly, I can't seem to get my head around the KSS rules required to
> have the following flow:
>
> A delete-button where the user first clicks once, then a class
> 'clicked' is appended to the class-attribute, then he clicks again,
> and a server-action is carried out.
>
> ``selected-click`` seems to be the way here, but it complains about
> some namespace error or plugin error.
I have no idea what you mean by selected-click
However, there are currently no way in KSS to only change a class and
have new comportment bound.
You need to replace the HTML in order for KSS events to be bound.
I'd try sthing like this :
button:click {
action-client:replaceHTML;
replaceHTML-html:"<button value="Ok" class="clicked" />"
}
button.clicked:click {
action-server:blabla;
}
>
> Suggestions?
>
> \malthe
>
> --=====================--
> mail: mborch at gmail.com
> homepage: zeitmaschine.dk
> --=====================--
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Kss-devel
mailing list