Forums

  1. blingenfelter
    Member
    Posted 1 year ago #

    Hi,

    I had the plugin working on this domain (in a subdirectory), but moved it to the main .com, and now I can't remember what I did right that I'm not doing right anymore.

    The site is http://missidajones.com

    Thanks,
    Ben

  2. Eric Martin
    Member
    Posted 1 year ago #

    You have a JavaScript error on your site which is preventing SMCF from working:

    $("#nav > ul > li:last").offset() is null
    http://idajon.freehostia.com/wp-content/themes/chocotheme/js/fn.js
    Line 20
  3. blingenfelter
    Member
    Posted 1 year ago #

    So did I paste the <?php smcf(); ?> improperly in the sidebar.php?
    What might be causing this?

  4. Eric Martin
    Member
    Posted 1 year ago #

    It has nothing to do with SMCF.

    The JavaScript in fn.js is looking for $("#nav > ul > li:last"), which does not exist.

    You can fix it by changing:

    var last_nav_elem_offset = $('#nav > ul > li:last').offset().top;

    To something like:

    var lastli = $("#nav > ul > li:last");
    if (lastli) {
        var last_nav_elem_offset = lastli.offset().top;
    }
  5. blingenfelter
    Member
    Posted 1 year ago #

    OK. I made the substitution. Still nothing. I'm going to try it on another site in which I use WordPress, and I'm going to compare the javascript. I'm just confused because I had this running perfectly on this same theme two days ago...

    Thanks,
    Ben

  6. blingenfelter
    Member
    Posted 1 year ago #

    IT took me 5 minutes in my other domain to get it up and running perfectly. Something's really screwy with the JavaScript in the missidajones.com... <sigh>

    Ben

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic