Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mick McGrath
    @mickmcgrath13
    No cut out from me
    (nashville)
    Madelene Campos
    @Madelene
    Do you need to login?
    Alexis Abril
    @alexisabril
    Madelene Campos
    @Madelene
    you’ve explained it well (I was following, even if I don’t understand 10000%)
    Madelene Campos
    @Madelene
    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 ?
    Julian
    @pYr0x
    In php something like this is possible
    ArrayIterator implements ArrayAccess , SeekableIterator , Countable , Serializable {
    Justin Meyer
    @justinbmeyer
    I'm going to be talking about events soon.
    Here's what I'll be working from: http://jsbin.com/qefitakuwa/1
    George Heeres
    @gheeres
    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")
    Event namespacing
    Michał Wołczecki-Klim
    @michalklim
    What is actual difference between jquery $el.bind() and $el.on() method and why you are using $el.bind()?
    Michał Wołczecki-Klim
    @michalklim
    Does it mean the most crossbrowser way of catching key events is 'keyup'?
    Michał Wołczecki-Klim
    @michalklim
    Thanks for great lesson! See you next week
    Julian
    @pYr0x
    Can someone answer my question ?
    Justin Meyer
    @justinbmeyer
    I did
    in the video
    at the end
    Julian
    @pYr0x
    ohh.. ok... i see
    but with extending the prototypes i will lose the proto chain
    also i cant check if is instance of
    too
    i read somethink that with object.create we can inheritance from multiple objects
    or do i missunderstand something
    Matthew Phillips
    @matthewp
    You don't have multiple inheritance in JavaScript
    But you can mixin behaviors with $.extend
    Julian
    @pYr0x
    also with object.create there is no way of multiple inhertitance
    ?
    Matthew Phillips
    @matthewp
    No
    Julian
    @pYr0x
    also in es6?
    Matthew Phillips
    @matthewp
    Nope, just a single extend as far as I'm aware.