Einzelnen Beitrag anzeigen
  #7 (permalink)  
Alt 06.02.2006, 02:40
insanic! insanic! ist offline
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 03.11.2005
Beiträge: 175
insanic! befindet sich auf einem aufstrebenden Ast
Standard

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]
Mit Zitat antworten