Developer forum

Forum » Templates » Changing paragraphs

Changing paragraphs

Iben Louise Birkkjær Christensen
Reply
Hi

I am in need of a JavaScripit, that can change three paragraphs on the frontpage of my website. I have three 'slots' that contain paragraphs and the paragraphs should to fade in and out. The same paragraph can not be shown twice in the three slots.

I have no idea where to start and I don't know any JavaScript people so all help will be appreciated.

Thank you

/Iben Louise


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
Hi there,

You may want to search Google for jQuery scroller fade. You'll find many ready-made plugins such as this one: http://medienfreunde.com/lab/innerfade/

Cheers,

Imar
 
Iben Louise Birkkjær Christensen
Reply
Thanks Imar

It looks like some of what I need. Now i just have to figure out how I make sure the same paragraph isn't shown twice at the same time.

/Iben Louise

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Most plugins alow you to mark a paragraph with some CSS class. The plugin then ensures only one paragraph is visible at any given time. The plugin I linked to is just an example. There are many many more that may suit your needs.


Imar

 

You must be logged in to post in the forum