Drop Menu Website Template
Image
image
image


Hello There, Guest! Register

Thread Closed 
What's up with the web server?
01-18-2013, 09:36 AM
Post: #13
RE: What's up with the web server?
The PHP script does most of the work of pre-sorting. Basically, every cat you see on the page actually appears at least twice. Once in the HTML, and again in the Javascript. It's possible for the page to render sufficiently that you can click the controls which kick off the Javascript before the entire HTML has been received. That means it's possible for the Javascript to attempt to modify screen elements which don't exist, yet. When that occurs, the Javascript fails (not completely silently: you can see the failure on the browser's Error Console). That can result in inconsistent results, such as missing cats.

For this reason, it's best to consider the Pedigree and Cattery web pages "fragile". Don't do anything with them until them until the page has completely downloaded and is completely rendered on your screen. In Firefox, that means waiting until the spinner stops spinning. Of course, that can take quite some time .. which is exactly what I'm talking about .. that "quite some time" can vary from a few seconds to a few minutes, and the cause for that is somewhere inside the processing for the page's PHP script.
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
RE: What's up with the web server? - Tad Carlucci - 01-18-2013 09:36 AM



User(s) browsing this thread: 1 Guest(s)