Loading a Dribbble feed into a jQuery slider

I'm trying to load a Dribbble feed on my site using the jQuery plugin Jribbble and have it load into a slider plugin called bxSlider. I can get the feed to load but unfortunately, I can't get it to work with the slider. I've tested the slider plugin with hard coded images and it works so I know there is nothing wrong with the code.

I'm not sure if I need to add something into my JavaScript that prevents the slider function from executing until the feed is entirely loaded or if there is something else I'm missing.

You can find a sample of my code here (sorry, I couldn't get it to work with JSFiddle). Any suggestions would be greatly appreciated. Thanks!
LVL 1
AdamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lenamtlCommented:
Maybe this tutorial could help you :

http://designwoop.com/2012/09/tutorial-grabbing-popular-dribbble-shots-dynamically-via-jquery/

I have check your code and there is no CSS for <ul>
0
AdamAuthor Commented:
Thanks for the reply lenamtl. A friend of mine actually helped me resolve the issue. All I had to do was reorder some of the JavaScript. I simply had to place the slider JavaScript right after html.join() rather than after the whole Jribbble function is complete.

// Place feed into bxSlider
     $('.dribbble-slider').html(html.join(''));
     $('.dribbble-slider').bxSlider({
          minSlides: 1,
          maxSlides: 5,
          slideWidth: 215,
          slideMargin: 45
     });
}, {
        page: 1,
        per_page: 15
});

Open in new window


Everything seems to be working perfectly now. Thanks anyway.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AdamAuthor Commented:
I appreciate the help I received from the expert but my solution resolved the exact problem I was having. The expert provided an alternative method which may or may not have offered a solution.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
jQuery

From novice to tech pro — start learning today.