WordPress.org

Ready to get started?Download WordPress

Forums

Last.Fm Records
[resolved] Duplicate covers, ajax/java maybe? (6 posts)

  1. Sam
    Member
    Posted 1 year ago #

    Hi, the widget displays two covers for each album. The first refreshes to the cover art after a moment, the second stays as the default album art image and functions as a link to the current page displayed on the site.

    Any ideas where the problem lies so I can fix it?

    ( E.g. http://sambice.net/?page_id=166 )

    Cheers,
    Sam

    http://wordpress.org/extend/plugins/lastfm-records/

  2. jeroensmeets
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Sam, the code to start the javascript code is twice on your page:

    jQuery(document).ready( function() {
          jQuery('.lastfmrecords').lastFmRecords(lfr_config);
        });

    Did you add it by hand in the footer? The widget adds the code automatically.

  3. Sam
    Member
    Posted 1 year ago #

    Hm, no man, there's no call for java in my footer. Its the default 2013 WordPress template, the only change I've made to the footer is adding the links on the bottom right with a css wrapper for the transparency and hover effect ....

  4. Sam
    Member
    Posted 1 year ago #

    I've deactivated all other plugins and still the same problem (apologies, it's the 2012 default wordpress template not 2013), I still can't for the life of me figure out why it's inserting a second hook for java in the footer??

  5. jeroensmeets
    Member
    Plugin Author

    Posted 1 year ago #

    Did you remove the widget from your site? Don't see it anymore.

  6. Sam
    Member
    Posted 11 months ago #

    Ah, sorry mate. I couldn't figure out why it was breaking and gave up and removed it. Thanks, anyway.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.