View Full Version : Disable images ajax rss ticker

03-28-2011, 08:32 PM
1) Script Title: Ajax RSS ticker

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rssticker.html

3) Describe problem:
I'd like to get rid of images into descriptions. And this, completely, so if the image is offline, there's still the box, I want to get rid of it too.

THX in advance.

03-28-2011, 08:32 PM
So yes, to make simple: I just want the text into descriptions.

03-28-2011, 11:44 PM
You can hide the images inside the ticker by using CSS, speficially, by targeting the "img" element of your RSS ticker containers based on the laters' ID attributes. For example, lets say this is your first ticker:

var cssfeed=new gfeedrssticker("example1", "example1class", 2000, "_new")
cssfeed.addFeed("CSS Drive", "http://www.cssdrive.com/index.php/news/rss_2.0/") //Specify "label" plus URL to RSS feed
cssfeed.displayoptions("date") //show the specified additional fields
cssfeed.setentrycontainer("div") //Wrap each entry with a DIV tag
cssfeed.filterfeed(10, "date") //Show 10 entries, sort by date

It has an ID attribute of "example1", so in your CSS, you can hide the images with a CSS rule such as:

#example1 img{

03-29-2011, 10:58 AM
Yeah! That works perfectly!
Fast answers, straight to the point, this forum is ace.

Thx a lot!

03-29-2011, 10:59 AM
Oh well.. I got another issue now.

Flash is coming with feeds.

How can I remove them ?

03-30-2011, 10:52 AM
Ok I opened a new thread for this issue