Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

jQuery with wordpress

  • 15-03-2014 03:40PM
    #1
    Registered Users, Registered Users 2 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