Menu dropdown stay always open

  • hardimos
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 10 months ago #42245 by hardimos
With sparky 1.3, menu dropdown in some menus (not all of them) stays opened.
What is wrong?

Please Log in to join the conversation.

More
10 years 10 months ago #42254 by ivan.milic

Please Log in to join the conversation.

  • hardimos
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 10 months ago #42273 by hardimos
there is not jquery.hjt.navv.js file in my template.
There is "jquery.hjt.nav.js" with the following similar code

jQuery('.nav ul').hide();
jQuery('.nav li ul li').filter(':last-child').css('border-bottom', 'none');
jQuery('.nav li').hover(function(){
jQuery(this).find('ul:first').stop(true,true)[options.effect](options.speed);
},function(){
jQuery(this).css('position', 'relative')
.find('ul:first').stop(true,true)[options.effect](options.speed);
});

Please Log in to join the conversation.

More
10 years 10 months ago #42277 by ivan.milic
That is code change it like this:
Code:
jQuery('.nav ul').hide(); jQuery('.nav li ul li').filter(':last-child').css('border-bottom', 'none'); jQuery('.nav li').hover(function(){ jQuery(this).find('ul:first:not(:visible)').stop(true,true)[options.effect](options.speed); },function(){ jQuery(this).css('position', 'relative') .find('ul:first:visible').stop(true,true)[options.effect](options.speed); });

Please Log in to join the conversation.

  • hardimos
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 10 months ago #42291 by hardimos
Sorry. Did not work.
Check this:
www.kalentzi.gr/index.php/homepage/press-release
this is the last menu option from the first menu link

Please Log in to join the conversation.

More
10 years 10 months ago #42293 by ivan.milic
You probably edited index.php and left something by mistake, see part of your page source:
Code:
<script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>

the firs line : <script>

should be removed

Please Log in to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum