none
Ajax 7 Stop scroll on arrow keys (arrow down) RRS feed

  • Question

  • Hi I'm getting pretty annoyed when I press the down key to scroll down a page.

    The map drags the scroll (the page only move half what is normally would) and it change the map position.

    I would like the behavior that when the mouse pointer is on the map, it stops page scrolling and repositions the map, but when the mouse pointer is off the map no repositioning occurs.

    I know how to set event on the map (mouseover mouseout), but I don't know how to stop/start the mouse scrolling behavior.


    Jonathon
    • Moved by Ricky_Brundritt Friday, March 9, 2012 3:12 PM (From:Bing Maps: Map Control and Web services Development)
    Monday, January 24, 2011 11:38 AM

Answers

  • Turns out as per http://msdn.microsoft.com/en-us/library/gg427609.aspx

    All you have to do is call map.blur();


    Jonathon
    Sunday, February 6, 2011 3:12 AM

All replies