Link to home
Start Free TrialLog in
Avatar of olehellhound
olehellhound

asked on

XMLDom: IE vs Firefox

I've included the entire source of my test page that I have been unable to fix for some time now. The problem is that when I load the page in Firefox, it takes a very long time (meaning minutes) for all four major elements to load (with FF; in IE the page loads in half a second): loadXML; loadQueue; loadUserInfo; loadListenerStats; .  Right upon accessing the page, the first element to load is the last element listed- loadListenerStats; . What I need is for all elements to load as soon as possible without the minute load time. If anyone can figure this out, I'll be stumped.

Here is the url to the actual page to take a look at (with firefox) and see the load time I speak of- http://www.gilesnet.com/beta/index.php?page=Now_Playing .. The username/password to login is test/test22 .
code.txt
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Goto firefox menu Tools (or Extra) and open the ErrorConsole
You will see the error comming and comming and comming... every 10 seconds.
Clink on the error and you will see the line in your function where you look for an empty node.
And the node is realy empty.
Open the addrssed XML with this link:
http://www.gilesnet.com/beta/index.php?page=Now_Playing&file=xmlqueue
Avatar of olehellhound
olehellhound

ASKER

I placed some text in there to fill the empty space. The undefined queue error still appears every ten seconds, as well as the listenerdata1() userinfo and current.

If you let the page just sit there for a few minutes all the elements will load. Listenerdata1 is usually the first element to load, followed by loadXML.

It's almost as if the div isn't being defined until way after it's supposed to be defined (or the xml file isn't being loaded until minutes after page generation).

Appreciate the help.
ASKER CERTIFIED SOLUTION
Avatar of olehellhound
olehellhound

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fine.
I see it fixed now.
Is this question completted now?
I do not agree to this Question deletion.
While you only provided a recommendation, I found the actual solution.
You have always to find your solution.
Answers can oly help you find your solution.
Or do you think that now is everything fine in your page?
Even when you think so, you will need me or other Experts around when you get in next trouble.
You can assign only part of offered points for my help.
Thanks Netminder.