Home » C# ProgrammingRSS

RSS Viewer Webpart

Hi All,

Can anybody tell me how to show RSS News in Scrolling ..! 

If send any links and piece of javascript code , its very helpful.

Thanks

MaK.

 

2 Answers Found

 

Answer 1

Hi,

Did you mean that you need to show  news with rss  webpart and enable the scrolling  in the RSS webpart?

If it was ,you can try to use javascript  to enable the scrolling of div. Because the RSS webpart  is rendered as div element.

e.g.

<divid="rssFeedWPDiv_ctl00_m_g_0eeb8ed7_7498_49ee_996d_f4fc47639725"style="padding-top: 5px;">

Javascript Demo:

<htmlxmlns="http://www.w3.org/1999/xhtml"><headrunat="server"><title></title><scripttype="text/javascript"language="javascript">
   window.onload = function() {
  var ele = document.getElementById("divTest");
  ele.style.height = "100px";
  ele.style.overflow = "auto";
 }
 </script></head><body><formid="form1"runat="server"><divid="divTest"><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>fgsdfsd</p><p>fgsdfsd</p><p>fgsdfsd</p><p>fgsdfsd</p></div></form></body></html>

You can get more richer javascript demo from the following website.

http://www.dyn-web.com/code/scroll/


Microsoft Online Community Support
 

Answer 2

Hi Mak,

I think you want Marque effect in your RSS.....

for that you need to create a Custom RSS Reader which internally uses HTML's marque to display contents...

similar requirement given in following site-

http://www.digitalgupshup.com/auto-scrolling-marquee-widget-html-code-for-blogger-recent-posts/

 
 
Search for  RSS Viewer Webpart
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter