Thread
:
Tutoring and Teaching on Trisphee
View Single Post
Potironette
petite fantaisiste
#
65
Thanks again for the detailed answers!
Hmm, so for images, would it be window.img.addEventListener('load', aasdf); ?
I'm sort of fumbling around looking at javascript and copying them down in hopes of understanding enough to make my own moving things eventually. In general, when one uses javascript..is it that they make "function"s and put variables in them with things that get done to those variables? And then I just need to learn the jargon?
What's an object? That is, what's the difference between an object and a variable..?
So, a method/member function is a function that has it thing it's inside? And "this" means the thing it's inside? So window.addEventListener('load', somefunction) means addEventListener is a function inside something that's a "window"? And for some reason the window is whatever a "this" is..? Also, why is it that 'load' is in quotes? And does addEventListener basically waits/listens for 'load' of the "this" then the comma means after the comma it does somefunction?
Why is somefunction an object..? Or what does it mean that the function is an object..?
Defined on..means it's based on..?
To invoke is to have something done..?
Posted 01-05-2017, 01:34 AM