Stock Investing Pro  
Add Content to your Website
 

Free Investment Content

Pausing RSS News scroller for your website, updated daily!!!:

You can now add this news feed to your website simply by adding following HTML code:

<style>#pscroller1{ width: 100%; height: 1.6em; }</style>
<script type="text/javascript" src="http://www.stockinvestingpro.com/js/rsspausescroller.js"></script>
<script type="text/javascript">
//new rsspausescroller(RSS_id, type, divClass, delay, linktarget, extra)
new rsspausescroller("google", "pscroller1", "rssclass", 3000, "_new")
</script>Provided by <a href="http://www.stockinvestingpro.com/">Stock Investing Pro</a>

You can customize it with following variables:

NOTE
: Sample call for news with description is would be:
new rsspausescroller("yahoo", "pscroller2", "rssclass", 3000, "", "description")

1) RSS_id - possible feeds: "google", "yahoo", "cnn", "bbc"," news.com"
2) type: "pscroller1" - for 1 line, "pscroller2" - for multiline
3) divClass: Class name of this ticker, for styling purposes, leave default if not sure
4) delay: delay between message change, in milliseconds
5) linktarget: Target of links inside RSS feed. Set to "" for current page.
6) extra: "description+date","description","date" - to add additional info for type = "pscroller2"

Following are the sample of default stylesheet tags you can overwrite to match your own style:

#pscroller1{
width: 100%;
height: 1.6em;
padding-left:5px;
padding-top:3px;
}

#pscroller2{
width: 200px;
height: 150px;
border: 1px solid black;
padding: 5px;
background-color: #64808F;
}

.rssclass a, .rssclass a:visited, .innerDiv, .addToSite a, .addToSite a:visited{
text-decoration: none;
font-weight:bold;
font-size:12px;
font-family: Arial, Helvetica, sans-serif;
color:#FFFFFF;
}
.rssclass .rssdescription{
color: white;
font-weight:normal;
}

.rssclass .rssdate{
color: gray;
font-size: 85%;
}

 

 

 
Top Stock Investing News
Unable to open RSS Feed http://finance.yahoo.com/rss/topstories with error HTTP ERROR: 301, exiting


 
Stock Investing | Online Investing | Stock Screener | Stock Research | Stock Price | Stock Brokers  

Copyright © 2007-11 Stock Investing Pro
Privacy Policy | Disclaimer