Results 1 to 4 of 4

Thread: gFeedFetcher display problem

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default gFeedFetcher display problem

    1) Script Title: gAjax RSS Feeds Displayer

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

    3) Describe problem:

    Hi,
    I have 2 rss links in my html code and they are displayed like this:

    Cornucopia Framtiden är så ljus att man
    måste ha spegelglasögon
    DailyMobile Symbian^3: Learn More
    About the Nokia E7

    How i want them to be displayed is like this (dont bother about the dots it should be spaces):

    Cornucopia.......Framtiden är så ljus att man
    .......................måste ha spegelglasögon
    DailyMobile.......Symbian^3: Learn More
    .......................About the Nokia E7


    Should the formatting be done in CSS or the actual javascript, can anyone help me with this ?

    Regards
    Gar
    Last edited by gar; 04-08-2011 at 06:13 AM. Reason: fix broken link

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Well, it will need to be CSS (or HTML, but that would be messy). You can use Javascript to generate that if you want, but Javascript can't, in itself, make things be displayed in a certain way: it just controls existing CSS properties.

    If you want help with a specific page, please link to it.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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

    Default

    You might try playing around with the CSS for the title field of your RSS to get that desired look. For example, it may look something like this:

    Code:
    #example3 a{ /*CSS specific to demo 3*/
    color: #D80101;
    text-decoration: none;
    font-weight: bold;
    display:block;
    float:left;
    width:200px;
    height:50px;
    }
    where "#example3" is the ID of your RSS feed container. The part in red is new- it forces the title of each RSS entry to be a block element with explicit dimensions, forcing the description to wrap around it. The result should be something close to what you're describing above.
    DD Admin

  4. #4
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for all help, it works for me now.

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
  •