SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict matt_12511's Avatar
    Join Date
    Feb 2004
    Location
    Michigan
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript/Firefox/IE

    Hello,

    I have a page that uses a javascript plug-in that inserts current news headlines.

    Here is the script:

    Code:
    <script language="javascript" type="text/javascript">
    var news_link = "http://www.feedrollpro.com/view_rss.php?type=js&source_id=212&feed_width=400&frame_color=black&title_textcolor=999999&title_bgcolor=999999&box_textcolor=black&box_bgcolor=999999&feed_showborder=0&feed_spacing=5&feed_align=left&feed_textsize=12&feed_textfont=Times New Roman, serif&feed_maxitems=10&feed_compact=0&feed_xmlbutton=0&link_openblank=1&feed_postdate=1"; 
    </script>
    <script language="javascript" src="http://www.feedrollpro.com/view_rss.js">
    </script>
    For some reason the news page looks great in IE and awful in FireFox. Here is a link to the page.

    http://www.faceproject.org/new/Resou...ohol-news.html

    Here is the link that allows you to build the javascript plug-in (very nice!).

    http://www.feedrollpro.com/syndicate.php?id=33

    Thanks,

    Matt

  2. #2
    SitePoint Zealot
    Join Date
    Aug 2004
    Location
    Michigan
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello fellow Michigander

    I'm at the office right now so I can't really look over things thoroughly but I'll take a look when I get home. Good luck!

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,367
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I think you just need to adjust the frame color in the js link.

    Code:
    	  <script language="javascript" type="text/javascript">
    var news_link = "http://www.feedrollpro.com/view_rss.php?type=js&source_id=212&feed_width=400&frame_color=999999&title_textcolor=999999&title_bgcolor=999999&box_textcolor=black&box_bgcolor=999999&feed_showborder=0&feed_spacing=5&feed_align=left&feed_textsize=12&feed_textfont=Times New Roman, serif&feed_maxitems=10&feed_compact=0&feed_xmlbutton=0&link_openblank=1&feed_postdate=1"; 
    </script>
    	  <script language="javascript" src="http://www.feedrollpro.com/view_rss.js">
    </script>
    You shouldn't wrap all that up in a p tag use a div instead.

    Paul


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
  •