Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    addEventListener()

    Hello all...

    Was wondering if addEventListener() (and remove) work in any flavor of IE? I ask because I can't get it to work using IE, but can get it to work in a SVG document inside of IE...

    The SVG raises more questions like: is the SVG plugin (adobe's) handling the addEventListener instead of the browser (why it works in IE if IE can't handle the event...) An example can be seen at:

    http://www.rit.edu/~dsbics/svg/myMover.html

    Any help in clarifying this would be greatly appreciated!
    Dan Bogaard
    Assistant Professor
    Information Technology
    Rochester Institute of Technology

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    IE has it's own proprietary event handling mechanism, using attachEvent.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks so much...

    Does attachEvent handle propegation and the 'capture' and 'bubble up' phases?
    Dan Bogaard
    Assistant Professor
    Information Technology
    Rochester Institute of Technology

  • #4
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Capturing was the netscape mechanism, bubbling the ie mechanism. W3C merged the systems. Ie have yet to support capturing, but it'll probably come with the better dom support that ie7 will have, whenever it is released.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #5
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Great - thanks for the bit of history - makes it make that much more sense!

    Thanks for you time!
    Dan Bogaard
    Assistant Professor
    Information Technology
    Rochester Institute of Technology

  • #6
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    The Adobe SVG plugin implements its own, more correct, SVG DOM. (And the SVG DOM requires DOM2 Core and DOM2 Events)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •