magento à l'aide de jquery avec noconflict

Je suis à l'aide de 2 scripts jquery pour ma boutique Magento. L'un de ces scripts, un curseur fonctionne parfaitement et l'autre ne marche pas.

<script type="text/javascript">jQuery.noConflict();jQuery(function($){

function mycarousel_initCallback(carousel)
{
    //Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    //Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: 0,
        wrap: 'circular',
        animation: 600,
        scroll: 6,
        initCallback: mycarousel_initCallback
    });

    $('.block_cart_header').hover(function(){
        $('.cart_add_items').fadeIn(700);
    },
    function(){
        $('.cart_add_items').fadeOut(700);
    });


});

jQuery(document).ready(function() {
    jQuery('.dropdown').selectbox();
}); });</script>

Quand j'enlève jQuery.noconflict(); à la fois de les scripts fonctionnent, mais le prototype de script ne marche pas.

C'est le script qui ne fonctionne pas:

jQuery(document).ready(function() {
jQuery('.dropdown').selectbox();}); });</script>
  • avez-vous des erreurs dans la console?
  • bonne question, c'est ce que j'obtiens: Uncaught TypeError: Object #<HTMLDivElement> n'a pas de méthode 'attr'