PDA

View Full Version : Timeout limit in code?


goblues
11-04-2007, 11:28 AM
Is there a way to "timeout" html code in the templates. I am running ads in my header and sometimes it takes awhile to load if the ad site is not sending the ads quick enough, so I thought if I could add an if statement to declare if the add is taking to long to load to bypass it. :confused:

Analogpoint
11-05-2007, 01:12 PM
You'd have to request the ads with Php in a plugin. If the server returns the ads in a set amount of time, then assign the value to a variable to display in the template.

goblues
11-05-2007, 06:40 PM
I think I get it. Thanks for the response!