Jump to content

Recommended Posts

Posted

I've developed a web based rewards system to replace our paper based one, basically teachers find a pupil and give them an Academic or Non-Academic "Plus" which is then recorded in an SQL database.

 

For some reason in internet explorer it takes around 3 seconds for anything to happen, loading the whole school stats page takes around 30 seconds. In Firefox everything is instant as it was before - The only changes I've made recently is the CSS, I've basically swapped out the old one and tweaked the one from our website to fit.

 

Is there anything within CSS that I should look for that could cause this kind of slowdown? our actual website dosen't seem to suffer in the same way.

 

The site uses Jquery(mainly for Ajax calls), PHP, MS SQL & general Javascript

 

Cheers,

 

James

Posted

Ah ha! found it... stupid mistake!

 

I'd left the following code in and hadn't pulled the file it refered to accross - firefox must have a shorter timeout/better error handling

 

<br />
 //<![CDATA[<br />
 if (document.all && document.styleSheets && document.styleSheets[0] &&<br />
  document.styleSheets[0].addRule)<br />
 {<br />
  // Feel free to add rules for specific tags only, you just have to call it several times.<br />
  document.styleSheets[0].addRule('*', 'behavior: url(iepngfix.htc)');<br />
 }<br />
 //]]><br />

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • 134 What is your preferred operating system (PC)

    1. 1. Operating systems:


      • MacOS
      • Windows 10
      • Windows 11
      • Windows Vista
      • ChromeOS
      • Other (reply)

×
×
  • Create New...