Is it because it’s not “relative” to anything anymore?
Alexis Abril
@alexisabril
@Madelene It’s actually due to the position not being specified. It’s another tricky one to articulate, but offsetParent is the closest “positioned” parent(closest parent with position specified)
Madelene Campos
@Madelene
I see!
These concepts mess with the mind, don’t they :)
Alexis Abril
@alexisabril
We used relative a lot in that example, but it’s actually arbitrary. absolute, inherit, relative, etc would all set the offsetParent
no worries! :D
Madelene Campos
@Madelene
gotcha
Mick McGrath
@mickmcgrath13
For the sake of argument, why wouldn't you use "visibility:hidden;"?
Madelene Campos
@Madelene
Thanks guy!
guyS
Julian
@pYr0x
Hi everyone, I watched the training video about this and the proto chain. My question is: is it possible to create a objects proto to a merge of two other objects prototypes?
not even a merge , maybe a set of some prototypes of two or more objects ?
useCapture became optional only in more recent versions of the major browsers; for example, it was not optional prior to Firefox 6. You should provide this parameter for broadest compatibility.
Mark Stahl
@mjstahl
Thanks for the information!
Mick McGrath
@mickmcgrath13
jquery allows aliasing
..actually, this is now a question.. Does this work: $el.bind("click.mySomething",func) and then $el.unbind("click.mySomething")