After update of the Mega Menu the menu appears from bottom to top

Permalink Browser Info Environment
Hi

I just updated my Mega Menu from 1.0.4 to the newest version. Since I vas done that the menu is appearing from to bottom to the top and not the opposite …
How can I change that?

Thanks

Type: Discussion
Status: New
wasabili
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi,
I've never heard of anything like that before. Perhaps you could try clearing your site cache, and then also run the job in the Dashboard to re-index the pages. Let me know how that goes.

JB
wasabili replied on at Permalink Reply
wasabili
After deleting the cache and reindexed the page is the problem still there. With slide the menu will built from bottom top top and not from top to bottom.
I can email you the Server if you like …
jb1 replied on at Permalink Reply
jb1
Yes, please PM Dashboard login details and include a link to this post so I know what it's for.
Do you have your sitemap (flat view) in the Dashboard sorted a certain way?
The Mega Menu is based on the foundation of the core "Autonav" block, so it should pull out pages in the same way. Out of the thousands of sites using this package, I've never heard of this before.

JB
formulate replied on at Permalink Reply
formulate
I am having this same issue. I have tried 3 other nav add-ons and they all work top to bottom. Mega is the only one that is drawing bottom up. Any ideas?
wasabili replied on at Permalink Reply
wasabili
Try to play with the settings of the JS. I did it and could solved it like that.
jb1 replied on at Permalink Reply
jb1
It is the updated version of jQuery (and jQuery UI) that causes that.

The Mega Menu simply uses the jQuery "show" function (just open the jquery.dcmegamenu.1.3.2.js file and search for ".show".

Anywhere the ".show" function is called (3 places off the top of my head), you can adjust it to use the jQuery UI "slide" function. Read up on it here:
http://docs.jquery.com/UI/Effects/Slide...
http://stackoverflow.com/questions/7099191/jquery-showslow-directio...

Here's the code that worked for wasabili:
Changed on the jquery.dcmegamenu.1.3.2.js:

$(subNav).show("slide",{direction:"up"},defaults.speed);


Hope this helps.

JB
formulate replied on at Permalink Reply
formulate
JB, your solution and information completely did the trick! Thank you very much.
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
JB, I just purchased Megamenu and was wondering if you resolved this issue on the latest version?

I have just set my menu to "Slide" and "Very Slow" in the settings through the C5 user interface, using the red skin, and it renders terribly...

On hover, the drop down immediately renders a left "padding area", and then the menu slides from the bottom up.

I checked the file you were talking about here, and on line 42 it already has:

$(subNav).show("slide",{direction:"down"},defaults.speed);


So, I guess from your previous comments, I don't need to change it? But why is it still appearing from the bottom, and why does that awful left padding area appear first?

Help appreciated, it's for a client...

Cheers, Pat
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
JB,Sorry, I changed the direction to "up" and that has solved that, but the left padding area is still appearing first. Is there any way to make that slide down at the same time with the rest of the drop down menu? Cheers.
jb1 replied on at Permalink Reply
jb1
I'll check that out and get back to you Pat.
The animate function changed between jquery versions so it's a bit fiddly getting it to operate consistantly between multiple c5/jquery versions but I should be able to sort it out. I'll be back near a computer tonight. Thanks for your patience.
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
Thanks heaps, yeah sounds like it has given you hell! Great add-on by the way!
jb1 replied on at Permalink Reply
jb1
Hi PatrickCassidy

We are currently in the process of uploading the updated megamenu and it should fix your problem with the "red" skin. However, may we know what specifically your concrete5 version is?

Thank you for your appreciation of our product. We are doing our best to resolve this issue.

Have a nice a day!

JZ
PatrickCassidy replied on at Permalink Reply
PatrickCassidy
Thanks, I'm running version 5.5.2.1
jb1 replied on at Permalink Reply
jb1
Just confirming v1.1.6 has been uploaded to the marketplace. We've removed the background image used for the sub menus and replaced it with a solid colour so it's easy to change. You still get the rounded corners (even on IE). This means the animation artefact occurring on certain versions of jQuery has been resolved.

Try that out and let me know how you go.

JB

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.