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 trial

Design

Anyone know if this is a plugin or something else?

Hi,

I'd like to add a scrolling notification "container" to my WordPress website, similar to the one found on the Neiman Marcus website, but I'm not sure if it's a plugin or something else? Here's a link to the NM home page. The container is to the right of the logo. There's a bit of a delay while it scrolls from one notification to another:

http://www.neimanmarcus.com/index.jsp

Does anyone know what this scrolling effect is and/or how I might go about recreating it on a WordPress site?

Thanks

1 Answer

Chris Malcolm
Chris Malcolm
2,909 Points

Hi Heather. Im sure there is a jquery plugin or something, I forget what this is called. But here is a simple flexible example(html, css, js) that maybe would help. You specify a container height and then put your messages in individual "msg" divs. Every 2-5 seconds the top element is copied to the bottom, the list s moved up, and the top element destroyed.

You can adjust speed and duration and stuff in javascript.

http://codepen.io/anon/pen/tDHIL