PDA

View Full Version : RSS Feeds Displayer



mvuden
06-09-2008, 05:17 PM
1) Script Title: gAjax RSS Feeds Displayer (hosted)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm

3) Describe problem:
Forgive me for being not a programmer and not an English native speaker, but I would love to display mixed rss-feeds with this script on my website. The problem is, I want to display them with alternating background colors, for odd items for example gray while displaying even items with a white background. Does someone know the way to do this?

Thx,
Maurice

ddadmin
06-09-2008, 10:43 PM
Sure, try the below modified .js file for the script. It adds an "odd" and "even" CSS class to each entry. Then in your CSS, you can do something like:


#example1 .even{
background: gray;
}

#example1 .odd{
background: yellow;
}

where "example1" is the ID of your RSS Feeds instance to alternate the background colors of the output.

mvuden
06-10-2008, 09:20 AM
Thank U very much! This works fine!