We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Would need to use Javascript to enlarge on click rather than on mouseover.

    The same thing drives me crazy in the Revo manager; always getting crap dropping down and popping up on top of what I'm trying to work with whenever I move the mouse around. Very annoying.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 22840
      • 1,572 Posts
      Hi Susan,

      Yeh I hate that too, I've not got Internet until Monday but will sort it out then smiley
        • 42046
        • 436 Posts
        Quote from: paulp at Mar 20, 2013, 04:36 AM
        Hi Eric,

        Not sure how I can get round that, I could put a transparent div over it but that will loose the scroll all together, hmm ill look into it

        Thanks

        The mouse scroll wheel can be disabled in the call to the Google Maps API in your javascript. Changing the code to this should do it:

        $map.gMap({
        address: 'Wales',
        zoom: 10,
        scrollwheel: false,
        markers: [
        { 'address' : 'Wales',}
        ]
          • 22840
          • 1,572 Posts
          Thanks Dan, will that disable it completely though ?
            • 42046
            • 436 Posts
            Quote from: paulp at Mar 23, 2013, 02:07 PM
            Thanks Dan, will that disable it completely though ?

            Just for zooming when the mouse pointer is over the map.
              • 22840
              • 1,572 Posts
              Thanks, ill get that added when I get the Internet back smiley
                • 42046
                • 436 Posts
                I've had the same problem when using 100% width maps. It get's to be a real issue when viewing a responsive site on a phone or tablet, making it very hard scroll past the map. You're pushing your finger up and map just keeps zooming in.
                  • 39333
                  • 151 Posts
                  @Paul - Something similar to how MODX is doing the professionals directory?

                  http://modx.com/professionals/
                    MODX...the Zen of CMS
                    "Bight off more than you can chew and keep right on chewing."
                    • 22840
                    • 1,572 Posts
                    Quote from: eric.swd at Mar 25, 2013, 12:41 PM
                    @Paul - Something similar to how MODX is doing the professionals directory?

                    http://modx.com/professionals/

                    Nice, when did that go live ?
                      • 43571
                      • 2 Posts
                      Hi,

                      I was wondering, are you using Gmaps plugin (Modx Revo) for the map or some custom code for Google maps? I'm also trying to disable that zoom on mouse wheel scrolling but there's no such option in Gmaps plugin for Modx Revo.

                      PS

                      I've noticed that you also have problems with img {... max-width: 100%;...} in the bootstrap.css and that's why there's some weird behavior with Google Maps Controls and Overlays in the top left corner. You can delete that line in bootstrap.css or add new line somewhere in your css with something like : max-width: none;