.noConflict() Script

I know that I need to run jQuery in .noConflict() mode, but I must be getting the syntax wrong. When I assign the $ to jQuery .noConflict as follows, it still shuts down the script.aculo.us functions:


</script>
    <script type="text/javascript">
        var $j = jQuery.noConflict();   <-------------------------------Use this line and use variable name
        $j(document).ready(function() {
            $j('.sf-menu ul').superfish({
                delay:       1000,
                animation:   {opacity:'show',height:'show'},
                speed:       'medium',
                autoArrows:  false,
                dropShadows: 'medium'
            });
        });
    </script>

Comments