Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter nhrk

    (@nhrk)

    Hey,

    It works perfectly if I put my google map into the Page.

    Problem occurs only in windows Safari browser(5.1.7) when Map is in the menu.In all other browser it works perfectly in menu also.

    google.maps.event.addListener(map, 'idle', function() {
    		alert("Loaded !");
    	});

    I tried above code just to see if every tiles is loaded or not, and it is giving me the Alert so its bit of frustrating cz I can not able to solve it ??

    Thanks and Regards,

    NHRK

    Thread Starter nhrk

    (@nhrk)

    Hey,

    I tried to play with the CSS and I think I have found the reason why map is not displaying in Windows Safari.

    clip:auto is the culprit here. If you go into your Official Plugin site through safari browser in windows and go to the map div tag, there is CSS apllied which is

    #mega-menu-wrap-demo_navigation, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation ul, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation li, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation p, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation img, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation div, #mega-menu-wrap-demo_navigation #mega-menu-demo_navigation a{
        clip:auto;
    }

    so if you change it to clip:initial or even if you remove that property, it will show up the map.

    After changing clip to initial solve my case, but I am waiting for you to give it a go coz I dont know whether it will change the plugin behavior or not.(I made change through my Inspect Element not directly to the plugin CSS so please check and let me know as well)

    Regards,

    NHRK

    Plugin Author megamenu

    (@megamenu)

    Hi NHRK,

    The clip reset was only added to make MMM compatible with TwentyTwelve (I think), so you can safely override that and set it to initial ??

    The map on maxmegamenu.com is working OK for me in Safari, which version of Safari are you using? I assume you’re on a mac?

    Regards,
    Tom

    Thread Starter nhrk

    (@nhrk)

    Hey Tom,

    I am on windows and on Windows version of Safari(version 5.7.1), Map is not showing in Windows Safari only otherwise in all major browser, Its working fine.

    Tom, when I override that and set it to initial nothing gets changed(even after clearing the cache). But if I remove that clip:auto directly from inspect element then It works but by doing that it just hide the mega menu even though it is open.

    Can please have a look into it ? Make sure you are on Windows ??

    Thanks nd Regards,

    NHRK

    Plugin Author megamenu

    (@megamenu)

    Hi NHRK,

    I’m afraid I dont support Safari on Windows (neither should you :)). It was abandoned by Apple a long time ago, so few people use it on Windows that you’ll struggle to find any usage statistics on it.

    I looked at my analytics for maxmegamenu.com, and over 10 months 0.6% of 6.6% of visitors are using it (I think that’s probably you!)

    Regards,
    Tom

    Thread Starter nhrk

    (@nhrk)

    Hey Tom,

    Thanks for all the support that you gave. Probably this is my last question to you ??

    Finally I decided to go with clip:initial (Hope it won’t effect too much ?? ) and for that I copied megamenu.scss and pasted it in wp-content > themes > myTheme > megamenu and in copied file I changed that property.

    After changing, I went to my front end to check that change(after clearing cache of course), but somehow change did not reflect on front end.

    Is that because of transient ? If so how can I delete it?

    NOTE: I am using 1.3.2 version of your plugin.

    I know its easy in latest version of your plugin because same thing I successfully implemented in my local dev but in live dev I can not update plugin as latest version is not using menu-ID any more.(I have to update if there is no other way remains ?? )

    Thanks for being gentle and nice !

    Regards,

    NHRK

    Plugin Author megamenu

    (@megamenu)

    Hi NHRK,

    First you should update MMM to the latest version, and update your custom CSS so that it doesn’t include the ID in the selectors (thats the only change).

    Instead of copying the megamenu.scss file I recommend just resetting the clip value in the Custom CSS area of the theme, something like:

    #{$wrap} #{$menu} {
    clip: initial;
    }

    (you’ll need to update that selector so it resets the clip on the correct elements, but… again I would say it’s not worth the effort for windows safari!)

    Regards,
    Tom

    Thread Starter nhrk

    (@nhrk)

    Hey Tom,

    I know its not worthy but you know how clients are ??

    Btw after 23 post, I am going to put it as resolved.

    Thanks for all the help and all the patience.

    Best Regards,

    NHRK

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘after parameter is not working’ is closed to new replies.