Laggy slideDown()

Laggy slideDown()

Hello, I'm looking for advices here. I'm using slideDown() to make a list of options with hidden content which appears on mouse click. However, the movement of sliding content feels jerky. Is it possible to optimize this script or should I go for slideDown(0) and slideUp(0)?

  1. jQuery(document).ready(function () {

        jQuery('a.slidecontrol').click(function(){
            var $this = jQuery(this);
            var divID = $this.attr("id").replace("slidecontrol_", "slidedisplay_");
            var $div = jQuery('#'+divID);
            if ($div.is(':visible')) {
                $div.slideUp(250);
            } else {
                $div.slideDown(250);
            }
            return false;
        });   
    });

    document.write('<style type="text/css" media="screen">.pricelist-desc-even { display: none; } .pricelist-desc-odd { display: none; }</style>');