Hi Benjamin, thanks for the reply. Now i "fixed" the script it has to do with the lack of another contanier set as a mask... come css trickery and it's ok. I hva a strange behaviour aniway, not in this case wich is ok, you can see it in action: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/beta/ticker-absolute.html It should be ok right? IE6, 7 and FF ok.,
But if i open that page from my desktop and in that page there's a call to the XML via HTTP here's the error that i get: (with firebug) [Exception... "'Permesso negato al metodo di chiamata XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] Line 0 What's this? Why? Why only in FF? GC On Jul 19, 12:10 am, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > Also, check outhttp://www.jasons-toolbox.com/JTicker/, this may help. > > On 7/18/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > > > > > > GC, > > It is working for me in IE6, style is off a bit, but it is working. > > > Although you can make: > > > $("entry/date",xmlDataSet)[i].childNodes[0].nodeValue > > > to: > > > $("entry:eq("+i+")/date",xmlDataSet).text(); > > > $("entry/pb",xmlDataSet)[i].childNodes[0].nodeValue > > > to > > > $("entry:eq("+i+")/pb",xmlDataSet).text(); > > > this: > > > $(window).bind("load", function() { > > > setTimeout("Visualizza()",1000); > > }); > > > should/could be: > > > $(document).ready(function() { > > setTimeout("Visualizza()",1000); > > }); > > > On 7/18/07, GianCarlo Mingati <[EMAIL PROTECTED]> wrote: > > > > Hi list, > > > today at work i had to build a news ticker based on XML (Ajax). > > > I'm "sponsoring" jquery so much that they told me: ok let's see what > > > jquery can do. > > > And voilĂ , i ended up with this "experiment": > > >http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/ > > > > The problem is that this fails totally at reading the XML file in IE > > > both 6 and 7 while it works like a charm in FF and Opera. > > > Unfortunately this ticker will run inside an intranet app, under IE! > > > So you understand it is vital that it works in IE. > > > If you experts (i'm a total newbie i just bought the book "learning > > > jquery") may have a look at the code and please explain why it does > > > not work i'll reach two goals: > > > 1) let jquery become THE js framework for most apps in one of the > > > biggest banking group in italy, 2) "save me" from a bad figure ;-) > > > > Also i bought the book from backtbublishing, you know, "learnig > > > jquery" and on the book they say that to 'load' an XML file it is > > > sufficent to say $.get("thenameofmyxmlfile.xml" etcetera...) but that > > > NOT work at all. > > > I used such syntax found over here on the list: > > > $.ajax({ > > > type: "GET", > > > url: "tickerdata.xml", > > > dataType: "xml", > > > success: function(xmlData) > > > { > > > xmlDataSet = xmlData; > > > browseXML(); > > > } > > > }); > > > > that works, but it's TOTALLY different from what the book says. > > > So what is the method to load a static (for now) XML file with jquery? > > > I'll appreciate any help. > > > > Thanks in advance. > > > Cheers > > > GC > > > -- > > Benjamin Sterling > >http://www.KenzoMedia.com > >http://www.KenzoHosting.com > > -- > Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com