hm, mal ne frage. warum funktioniert das nicht:
Code:
textarea {
funbase: expression(
this.onfocus = new Function ("this.className = 'textarea-focus';"),
this.onblur = new Function ("this.className = '';")
);
funbase: expression(
this.onmouseover = new Function ("this.className = 'textarea-hover';"),
this.onmouseout = new Function ("this.className = this.className.replace('textarea-hove', 'textarea');")
this.onfocus = new Function ("this.className = 'textarea-focus';"),
this.onblur = new Function ("this.className = '';")
);
}
und dsa ebenfalls auch nicht:
Code:
textarea {
funbase: expression(
this.onfocus = new Function ("this.className = 'textarea-focus';"),
this.onblur = new Function ("this.className = '';")
);
funbase: expression(
this.onmouseover = new Function ("this.className = 'textarea-hover';"),
this.onmouseout = new Function ("this.className = this.className.replace('textarea-hove', 'textarea');")
);
}
wie kann ich mehrere dinger anwenden?[/code]