Results 1 to 2 of 2

Thread: gAjax RSS Ticker (hosted)

  1. #1
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default gAjax RSS Ticker (hosted)

    1) Script Title: gAjax RSS Ticker (hosted)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...xrssticker.htm

    3) Describe problem: How can I specify a font style for the "snippet" parameter? You've defined .titlefield, .datefield and .labelfield, but nothing for the snippets. (I tried .snippetfield, but no go.)

    Thanks,

    Jay

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, the snippet portion is just all the "other" text within each feed container. If you've set the containers to be DIV tags, ie:
    Code:
    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
    cssfeed.entries_per_page(1)
    cssfeed.init()
    Then, to style that text in general, you'd do something like the following in your CSS:

    Code:
    #example1 div{
    color: brown;
    }
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •