Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Virtual and Override problem Pin
harold aptroot24-Aug-09 5:22
harold aptroot24-Aug-09 5:22 
AnswerRe: Virtual and Override problem Pin
Luc Pattyn24-Aug-09 5:47
sitebuilderLuc Pattyn24-Aug-09 5:47 
Questionint x = new int() where this will be stored ?? Pin
jpk42024-Aug-09 4:28
jpk42024-Aug-09 4:28 
AnswerRe: int x = new int() where this will be stored ?? PinPopular
Luc Pattyn24-Aug-09 4:58
sitebuilderLuc Pattyn24-Aug-09 4:58 
GeneralRe: int x = new int() where this will be stored ?? Pin
Richard MacCutchan25-Aug-09 9:41
mveRichard MacCutchan25-Aug-09 9:41 
GeneralRe: int x = new int() where this will be stored ?? Pin
Luc Pattyn25-Aug-09 15:30
sitebuilderLuc Pattyn25-Aug-09 15:30 
GeneralRe: int x = new int() where this will be stored ?? Pin
Richard MacCutchan26-Aug-09 3:19
mveRichard MacCutchan26-Aug-09 3:19 
QuestionHow to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser Pin
biswa4724-Aug-09 3:52
biswa4724-Aug-09 3:52 
Hi dear friends,

from last few days i am digging my head like anything for loading rss feed(its nothing but a xml file) in to mozilla browser.

i am succesfully load that and displayed in IE but unable to load it in mozzlia.here the link for rss feed is-"
http://www.ed.gov/rss/edgov.xml[^]

plz help me out.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head><br />
    <title>Untitled Page</title><br />
    <script type="text/javascript"><br />
 if(navigator.appName == "Netscape")<br />
    {<br />
     alert("You're using a Netscape browser.")<br />
      function loadXML()<br />
            {<br />
            <br />
             var xmlDoc = document.implementation.createDocument("", "", null) <br />
             xmlDoc.load("http://www.ed.gov/rss/edgov.xml");<br />
             xmlDoc.onload = readXML;<br />
             <br />
              alert("hi")<br />
                document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue<br />
                document.getElementById("description").innerHTML=   xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue<br />
                <br />
                document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue<br />
                document.getElementById("description1").innerHTML=   xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue<br />
                <br />
                document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description2").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description3").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue<br />
                document.getElementById("description4").innerHTML=   xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue<br />
                <br />
                document.getElementById("title5").innerHTML= xmlDoc.getElementsByTagName("title")[6].firstChild.nodeValue<br />
                document.getElementById("description5").innerHTML=   xmlDoc.getElementsByTagName("description")[6].firstChild.nodeValue<br />
              <br />
              <br />
            }<br />
            <br />
            	<br />
                <br />
        <br />
    }<br />
     if(navigator.appName == "Microsoft Internet Explorer")<br />
    {<br />
        var xmlDoc<br />
        function loadXML()<br />
            {<br />
            if (window.ActiveXObject)<br />
              {<br />
              xmlDoc = new ActiveXObject("Microsoft.XMLDOM");<br />
              xmlDoc.async=false;<br />
              xmlDoc.load("http://www.ed.gov/rss/edgov.xml");<br />
              xmlObj=xmlDoc.documentElement; <br />
<br />
              if (xmlDoc.readyState != 4) <br />
                 { <br />
                   return false; <br />
                 } <br />
            	<br />
                document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue<br />
                document.getElementById("description").innerHTML=   xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue<br />
                <br />
                document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue<br />
                document.getElementById("description1").innerHTML=   xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue<br />
                <br />
                document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description2").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description3").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue<br />
                document.getElementById("description4").innerHTML=   xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue<br />
                <br />
                document.getElementById("title5").innerHTML= xmlDoc.getElementsByTagName("title")[6].firstChild.nodeValue<br />
                document.getElementById("description5").innerHTML=   xmlDoc.getElementsByTagName("description")[6].firstChild.nodeValue<br />
        <br />
              }<br />
            }<br />
            <br />
        <br />
      }<br />
</script><br />
</head><br />
<body onload="loadXML()"><br />
<table width="100%" ><br />
    <tr><br />
        <td ><br />
        <marquee  onmouseover="if(this.stop)this.stop()" onmouseout="if(this.start)this.start()"><br />
        <label id="title"> </label> - <label id="description"></label>;<br />
        <label id="title1"></label> - <label id="description1"></label>; <br />
        <label id="title2"></label> - <label id="description2"></label>; <br />
        <label id="title3"></label> - <label id="description3"></label>;<br />
        <label id="title4"></label> - <label id="description4"></label>;<br />
        <label id="title5"></label> - <label id="description5"></label>;<br />
         </marquee><br />
     </td><br />
    </tr><br />
</table><br />
</body><br />
</html><br />

AnswerRe: How to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser Pin
Nagy Vilmos24-Aug-09 4:35
professionalNagy Vilmos24-Aug-09 4:35 
Questionemgucv face detection Count Pin
ChangSiJie24-Aug-09 3:28
ChangSiJie24-Aug-09 3:28 
AnswerRe: emgucv face detection Count PinPopular
Henry Minute24-Aug-09 3:40
Henry Minute24-Aug-09 3:40 
AnswerRe: emgucv face detection Count Pin
sheahpar8-Feb-10 6:17
sheahpar8-Feb-10 6:17 
QuestionConvert SQL data to XML data using nHibernate Pin
DJ24524-Aug-09 2:56
DJ24524-Aug-09 2:56 
AnswerRe: Convert SQL data to XML data using nHibernate Pin
Henry Minute24-Aug-09 3:25
Henry Minute24-Aug-09 3:25 
QuestionExcel + C# Pin
GrgBalden24-Aug-09 2:16
GrgBalden24-Aug-09 2:16 
QuestionWorkbookEvents_SheetChangeEventHandler excel delegate Pin
NarVish24-Aug-09 2:16
NarVish24-Aug-09 2:16 
QuestionCollection properties should be readonly. Pin
deep724-Aug-09 1:47
deep724-Aug-09 1:47 
AnswerRe: Collection properties should be readonly. Pin
Henry Minute24-Aug-09 2:07
Henry Minute24-Aug-09 2:07 
GeneralRe: Collection properties should be readonly. Pin
Luc Pattyn24-Aug-09 3:26
sitebuilderLuc Pattyn24-Aug-09 3:26 
AnswerRe: Collection properties should be readonly. Pin
harold aptroot24-Aug-09 2:08
harold aptroot24-Aug-09 2:08 
GeneralRe: Collection properties should be readonly. Pin
Luc Pattyn24-Aug-09 3:27
sitebuilderLuc Pattyn24-Aug-09 3:27 
GeneralRe: Collection properties should be readonly. Pin
harold aptroot24-Aug-09 3:38
harold aptroot24-Aug-09 3:38 
AnswerRe: Collection properties should be readonly. [modified] Pin
Luc Pattyn24-Aug-09 2:11
sitebuilderLuc Pattyn24-Aug-09 2:11 
AnswerRe: Collection properties should be readonly. Pin
Super Lloyd24-Aug-09 3:40
Super Lloyd24-Aug-09 3:40 
Question.NET Remoting...how to? Pin
DIPAK@EMSYS24-Aug-09 1:13
DIPAK@EMSYS24-Aug-09 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.