POLALA.COM
welcome to my space
X
Search:  
Welcome to:polala.com
 HOME   stopEvent
stopEvent
Published by: jack 2009-01-09

  • Web Maps Lite API documentation::
    stopEvent, Stops the given event from propagation and prevents it’s default action. CM.stopPropagation, Stops the given event from propagation.
    http://www.cloudmade.com/developers/docs/web-maps-lite/files/util-js.html
    HOME
    Hey All,

    I have a modal dialog, and I'd prefer that hitting tab not allow them to escape the modality to elements below. So I attach a key listener to the body of the dialog, then on tab, only allow them to tab through the form on the dialog. Ok, but the event is escaping to the browser.
    The One Stop Event for Embedded Linux Developers | i10::
    For embedded engineers working with Linux or considering using Linux, the Embedded Masterclass 2008 is turning into a 'one stop event' for Realtime and
    http://www.i10.org.uk/node/8037
    HOME

    Firebug showing everything working fine, just that after this executes (including the stopEvent statement), the browser gets the event. Any thoughts on why my key event isn't being stopped ?



    var container = Ext.get(... some element) ;
    // handle tab
    container.addKeyListener(9, function(key, e){

    var el = Ext.get(e.getTarget());
    var form = el.findParent("form");
    var incr = e.hasModifier()?-1:1;
    var next;
    for(var i=0, len = form.elements.length; i next = i + incr;
    A Blog of ICE » A three day non stop event::
    A three day non stop event. Posted on July 8th, 2007 by David Eves. The date is set: 2008 - Point Hope - TIKIGAQ - June 15 - 17 Come on up.. have the time
    http://majikimaje.com/WordPress/?p=9
    HOME
    if(next >= 0 && next < len)
    if(form.elements[i] == el.dom) {

    form.elements[next].select();

    // stop
    e.stopEvent();

    }
    }
    }, this);


  • Hi Tommy,

    It's in there, in the conditional logic which I've verified as running.

    -jeff


  • try to put e.stopEvent() at the top of your event handler





  • Where's The Advantage In Windows Genuine Advantage?
    Stocks Bounce After S&P Joins Bear Market

    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about stopEvent , Please add it free.
  • why do parisians people look down on everyone
  • i search native english and french speakers
  • americans
  • is anyone else concerned that the movie saw has made it all the way to 5
  • are oasis the biggest british band of this generation
  • what could i be labeled as
  • today 039 s europeans are descended from three major migrations 40000 22000 and 10000 years ago if you are
  • dumb things agers do
  • black women only plz
  • what is the most unusual or surprising thing you have ever seen in a cemetery
  • do you think black women should wear less makeup
  • one hit wonder rappers
  • why is only acceptable for a white person to have nappy hair
  • do you think of meat as a by product of murder
  • why do polish people immigrate so often when their living standards are pretty high
  • we are both muslim but from two different cultures i am pakistani he is from yemen will our parents agree
  • why are some me indian men so irresistible to me
  • song i 039 ve got the brains you got the looks let 039 s make lot 039 s of money
  • why do some black women say that they don 039 t straighten their hair because of self hatred
  • are schools and uni 039 s in america racist
  • name three songs that have a common word
  • who thinks that online friendships relationships are better why
  • why gays are making a bee line for marrying their partner is their world coming to an end in the us
  • men what is the difference between being thick and being fat
  • { {spanish guys or girls } } what does it mean when
  • y are americans so fat and dumb compared to other countries y do ppl view them as pigs
  • do you think that there should be a tolerance day so it reminds everyone to be tolerant
  • About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008polala.com All Rights Reserved