SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    May 2003
    Location
    virginia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Block *all* events to an element and children?

    I'd like to, instead of having a modal window popup... block all events to a div containing navigation while a form is being displayed. The form is dynamically displayed. I want it so when the form is being displayed... the user can't even select text or click links in the nav div. It be great to then darken the disabled divs with some kind of alpha-mask.

    It's exactly like what a modal window does, but instead of blocking the entire window, just certain sections are blocked.

    Does anyone know how to block an element from getting access to events?

    Thanks for any tips.

    - matt

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You might wanna check out setCapture/releaseCapture methods that are IE only


Bookmarks

Posting Permissions

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