Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9180413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:02:54+00:00 2026-06-17T18:02:54+00:00

I have this code: $(document).ready(function () { $(this).hoverAccordionMenu(); //build left menu accordion effects /*ie6

  • 0

I have this code:

 $(document).ready(function () {
     $(this).hoverAccordionMenu(); //build left menu accordion effects  

     /*ie6 hack for mouse over icons on 2nd level. Not part of the plugin. optional!*/
     if ($.browser.msie && $.browser.version.substr(0, 1) < 7) {
         //rollover arrow which doesn't work with simple css
         $('ul.menu > li > ul > li').bind("mouseenter", function (e) {
             $(this).css("background", "url(ico-arrow-level2.gif) no-repeat");
         });
         $('ul.menu > li > ul > li').bind("mouseleave", function (e) {
             $(this).not(".active").css("background", "none");
         });
     }

 });

I’ve put in to a jsfiddle to show you:

http://jsfiddle.net/haNGY/

Could anyone tell me why the slide up and down has a jolt rather than being smooth?

Thanks in advance!

(PS, Sorry, just remembered about the title, but it’s nearly 4am here so my brain is on a go slow! Just went to edit it but it’s been fixed, thanks!)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:02:55+00:00Added an answer on June 17, 2026 at 6:02 pm

    To fix the jumps just do:

    #menu ul li ul {
        width:235px;
        /* display: inline-block ;*/ /* REMOVE */
    }
    

    Now just something useful

    #menu li {
        margin: 0;
        /*margin-left:0; */ /* believe me you don't need this */
    }
    

    #menu li li {
        padding-top:2px;
        padding-left:9px;
        /*margin:0;*/ /* why if you already use margin 0 for LI*/
    }
    

    Here is also 4:49am so take a better look at the CSS… tomorrow 😉

    Yeah, additionally I avoid styling the LI elements. It’s not good and not always Xbrowser compatible. It’s always better that you use your LI elements like dummy containers keeping minimal styling. Play with a elements inside to achieve the desired style.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this Jquery code: $(document).ready(function() { // Do menu mouseovers $('.bar a').each(function() {
I have this jQuery code: $(document).ready(function() { $.ajax({ url: pages/+page+.php, cache: false }).done(function( html
I have this code in jQuery.. $(document).ready(function(){ var fieldCounter = 0; ... I have
I have this code running great in ff, opera and chrome: <script type=text/javascript> $(document).ready(function(){
I mean I have this code: <script> $(document).ready( function() { $('html, body').animate({ scrollTop: $(.error).offset().top
Say I have this code in my page: <script language=javascript> $(document).ready(function() { $(.test).click(function() {
I have (basically) this code - <script type=text/javascript language=javascript> $(document).ready(function() { $(#loadDiv).load(mypage.html, function(){ alert($(#someText).text())
I have a jQuery tab, and this is my code: $(document).ready(function() { //When page
I have pretty simple jquery code : $(document).ready(function(){ $('img.marqFl').on({ mouseenter: function() { $(this).animate({height: 300},
I have the following code: $(document).ready(function(){ $(.yearInner).hide(); $(.year, this).hover( function () { $(.yearInner, this).slideToggle();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.