Search the web
Sign In
New User? Sign Up
yws-maps-ajax · | Yahoo! Maps Ajax API
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
map.disableKeyControls() changes the '_disableKeys' variable but to   Message List  
Reply | Forward Message #218 of 257 |
Re: map.disableKeyControls() changes the '_disableKeys' variable but to no effect

--- In yws-maps-ajax@yahoogroups.com, "kevin_korczak" <kkorczak@...> wrote:
>
> The map.disableKeyControls() and enableKeyControls() functions flip the
boolean '_disableKeys' variable but to no effect either way.
>
> The arrow keys still move the map after onfocus on an input text field invokes
the map.disableKeyControls() despite debug code showing the _disableKeys
variable has been flipped to 'true'.
>
> Likewise when onblur invokes enableKeyControls() _disableKeys is correctly
flipped back to 'false'.
>
> Any ideas?
>
> head markup:
>
> <script type="text/javascript"
src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=....................
>
> The following scripts do not show up when you do a simple view source but
firebug's html tab shows them. It's that last script that contains the
KeyControls functions.
>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/dom_2.0.1-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/event_2.0.0-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/dragdrop_2.0.1-b4.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/animation_2.0.1-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/map/js/api/ymapapi_3_8_2_3.js">
>
> that last script clearly has the functions mentioned.
>
> Again, I gotta be missing something, any Ideas?
>
> -Kevin
>
One other piece of the puzzle: We're using an older version of dojo (v. 0.3.1)
which has the yahoo maps calls built into it.




Mon Apr 20, 2009 10:45 pm

kevin_korczak
Offline Offline
Send Email Send Email

Forward
Message #218 of 257 |
Expand Messages Author Sort by Date

The map.disableKeyControls() and enableKeyControls() functions flip the boolean '_disableKeys' variable but to no effect either way. The arrow keys still move...
kevin_korczak
Offline Send Email
Apr 18, 2009
1:04 am

... One other piece of the puzzle: We're using an older version of dojo (v. 0.3.1) which has the yahoo maps calls built into it....
kevin_korczak
Offline Send Email
Apr 20, 2009
10:46 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help