WordPress.org

Forums

JQuery: Problems with Fade In/Out script (3 posts)

  1. databell96
    Member
    Posted 4 years ago #

    I'm in the process of wrapping up a website redesign for a client and I'm trying to incorporate in the about us page a series of photos that fade in and out using a JQuery script. They work on their own page by itself but incorporate it into a WP page? Nothing.

    Here's the page in question that doesn't work:
    http://www.radioactivemedia.net/about-new

    And here's a plain page by itself, that does:
    http://www.radioactivemedia.net/staff-fade.php

    That's the effect I'm looking for.

    If there's a simple plugin or WP script that can do something similar, please pass it on.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

  3. databell96
    Member
    Posted 4 years ago #

    OK, I see the problem with the noConflict wrappers. Sure enough, my script using the $ shortcut. I'm converting it to use jQuery instead of the dollar sign. However, I'm wondering how I would rewrite this:

    $active.addClass('last-active');

    Would it be this:

    jQueryactive.addClass('last-active');

    Because that doesn't seem right.

Topic Closed

This topic has been closed to new replies.

About this Topic