@@Rolf b
Mit jQuery - Ready Handler (wird aufgerufen wenn das DOM konstruiert ist, Bilder etc fehlen noch):
Der Vollständigkeit halber: Das gibt’s ohne jQuery in nativem JavaScript auch: Das Event heißt DOMContentLoaded
. [MDN, SELFHTML]
document.addEventListener('DOMContentLoaded', function(event) {
// initialize me
});
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:|