Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

jQuery with wordpress

Options
  • 15-03-2014 4:40pm
    #1
    Registered Users Posts: 1,298 ✭✭✭


    So i have a jquery script working grand in my html but now that i'm converting it to wordpress it seems to have decided to be a eejit and stop working.

    jQuery(window).scroll(function(){
    var fade = jQuery().scrollTop() > 750;
    jQuery('#fixed').toggleClass('fade', fade);
    })(jQuery);


    I've changed ann the $ signs to jQuery but can anyone spot where the problem might be?


Comments

Advertisement