Hey.
I'm wondering how to make a button which will enable or disable scroll 
wheel. I'm using the newest API version (v3). Could it work without 
reloading page?

I have a button:

<input id="scrollButton" type="button" value="Yes">


and script only for changing Button label:

$(document).ready(function() {


$("#scrollButton").click(function() {

if (this.value == "Yes") {

this.value = "No";

//  function will switch off scroll wheel


} else if (this.value == "No") {

this.value = "Yes";

//  function will switch on scroll wheel 

}

});

});

Any ideas? Thanks for help! 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to