Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMary O'Gorman
1,482 PointsScrolling tweets
Hi,
I am using Github: https://github.com/jasonmayes/Twitter-Post-Fetcher and jquery.flexslider.js. At the moment the tweets are fading in one by one, what I would like to do is have them scroll in. Does anyone know how I would go about this? Or would anyone have any other plugins they would recommend?
Jason Desiderio
21,811 PointsHey Mary,
If you are using the http://www.woothemes.com/flexslider/ then you have to specify the animation properties in the load function. Seems the two available animation types are fade or slide. The follow code below would change it to slide:
$(window).load(function() {
$('.flexslider').flexslider({
animation: "slide"
});
});
1 Answer
Mary O'Gorman
1,482 PointsHi Jason,
I was using that, however I couldn't get it to scroll so I found this instead. http://logicbox.net/jquery/simplyscroll/horizontal.html#js
Images and text scroll across but I can't gt the tweets to scroll, at the moment the five tweets I have called and showing underneath each other instead of scrolling.
Jason Anello
Courses Plus Student 94,610 PointsIf you're looking for that type of scrolling effect then flexslider probably won't work for you. As Jason Desiderio already noted, your only options are fade or slide.
Can you show us the output html of what you have so far for this scrolling part? Maybe also post your javascript code.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Mary,
Is this what you're using for the slider? http://www.woothemes.com/flexslider/
Are you putting each tweet in a slide and you want them to slide in instead of fade in?