Closed adam-miller closed 9 years ago
I think that the behavior code goes in the same general namespace as the rest of the page's javascript. That's why I prefixed every variable and function name with "umbra" or "UMBRA_" in the other behaviors. (Maybe there's a better way to do this with a class or something, not sure.)
(Also in the behaviors I wrote I tried to click on stuff only when it's visible on screen, based on the idea that it's more like real browsing that way. But if it works it works, I might have gone to those lengths for no good reason, so I'm not gonna make you do that. :))
...rge images.