Hi
I'm trying to use a free RSS news feed in my webpage and it works like a charm but throws up an error message on the first load:
myElement.getEl ementsByTagName (naming)[0].firstChild is null
In firefox error console the message is :
Error: document.getEle mentById("TICKE R") is null
Source File: http://www.xxxxxx.com/js/webticker_lib.j s Line: 5
But in line 5 of the webticker_lib.j s is the statement :
05 TICKER_CONTENT = document.getEle mentById("TICKE R").innerHTM L;
It also come up with another error within the page:
Error: st is undefined
Source File: http://www.xxxxxx.com/js/ticker.js Line: 103
But again in the js it is :
Line: 103
103 if ( itemLen > st.length ) {
storyCount++;
if ( storyCount >= rssItems.length ) {
storyCount = 0;
Can someone help please
Thanks
Daniel
I'm trying to use a free RSS news feed in my webpage and it works like a charm but throws up an error message on the first load:
myElement.getEl ementsByTagName (naming)[0].firstChild is null
In firefox error console the message is :
Error: document.getEle mentById("TICKE R") is null
Source File: http://www.xxxxxx.com/js/webticker_lib.j s Line: 5
But in line 5 of the webticker_lib.j s is the statement :
05 TICKER_CONTENT = document.getEle mentById("TICKE R").innerHTM L;
It also come up with another error within the page:
Error: st is undefined
Source File: http://www.xxxxxx.com/js/ticker.js Line: 103
But again in the js it is :
Line: 103
103 if ( itemLen > st.length ) {
storyCount++;
if ( storyCount >= rssItems.length ) {
storyCount = 0;
Can someone help please
Thanks
Daniel
Comment