@@Andreas Möller
myrect1.style.fill = url(#pattern1);
Das will JS aber so nicht machen. Wie muss ich das schreiben?
In Anführungszeichen. myrect1.style.fill
erwartet einen String, nicht das Ergebnis einer (nicht definierten) JavaScript-Funktion url()
.
LLAP 🖖
--
“There’s no such thing as an ‘average’ user, but there is such a thing as an average developer.” —Vitaly Friedman in Accessibility Matters: Meet Our New Book, “Inclusive Design Patterns”
Selfcode:
“There’s no such thing as an ‘average’ user, but there is such a thing as an average developer.” —Vitaly Friedman in Accessibility Matters: Meet Our New Book, “Inclusive Design Patterns”
Selfcode:
sh:) fo:} ch:? rl:) br:> n4:& va:| de:> zu:} fl:{ ss:| ls:# js:|