Simple jQuery Accordion Menu jumping

sualennekans

New Member
I'm trying to implement an jquery accordion menu but, I'm having a slight problem which I cannot figure out myself.I used this tutorial http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ to built it and all works fine except, every time I select a new item the whole menu jumps up slightly.I'm guessing it is something to do with the css but, cannot find it. Also, could you tell me how I could highlight the menu bar when open, here's the script.\[code\]$(document).ready(function() { //ACCORDION BUTTON ACTION $('div.accordionButton').click(function() { $('div.accordionContent').slideUp('slow'); $(this).next().slideDown('slow');}); //HIDE THE DIVS ON PAGE LOAD $("div.accordionContent").hide();});\[/code\]Here's a live example: http://hungerbusters.co.uk/working/Any help would be greatly appreciated! Thanks
 
Back
Top