T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Natascha
  2. General Discussion
  3. Monday, 09 May 2016
  4.  Subscribe via email
Hello,

i did a little customization on the Megamenu so there the menu is animated when i click on it.

I just added the two classes (animate slide) in \menu\megamenu.tpl.php :

<pre class="line-numbers"><code class="language-markup">$cls = ' class="t3-megamenu animate slide ' . ($trigger == 'hover' &amp;&amp; $animation ? ' animate ' . $animation : '') . '"';</code></pre>


All is working perfectly only Not in IE.

Problem that i have is internet explorer. The animation is not working and the menu closes right away when i click on it. I figured out its this part of code in the file \base-bs3\js\menu.js :

Line 282 to 284, when hide is called and the item.$item.removeClass('open') is called.

How can i fix that?

What connection does this have with Internet Explorer? Why is hide called? How is this rendered in Chrome that is working?

Thank you very much for your help.
Comment
There are no comments made yet.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.