javascripthtmldribbble-api

Cannot load JS class


I am trying to display my dribbble feed on my portfolio site using someone's tip found here: Using Dribbble API with PHP

I changed the .js per his suggestion but have no idea how to add the code to the HTML. I ended up doing this but it cannot be right:

<div id="content" class="home col eight"> <div id="dribbblefeed" class=".gallery"> </div> </div>

The site is currently run through a CMS called Stacey App. You can view the test site here: http://marcna.sh/testsite/testsite/ a simple view source should show you all you need.

Thanks so much for your help. I was hopeing to have this finalized by 2 today but it didn't happen:-/


Solution

  • Try changing line 27 in your dribbbgallery.js, from

    if (active != "marcnash"){
    

    to

    if (active === "marcnash"){
    

    The way it is right now, your script is NOT loading images when variable active equals marcnash, and it is set to marcnash in the line 5.