On Aug 9, 11:30 pm, Scott Bryce <sbr...@scottbryce.comwrote:
yawnmothwrote:
A webpage can include any number of images, cascading stylesheets,
frame's, etc. How might I go about making it so a particular image
loads before any of these others?
I don't think that can be done.
(I'm asking because I'm using a 1x1 image to simulate a cron job)
There is probably a better way to do what you want to do, but it
probably would involve a non-html solution. What are you ultimately
trying to accomplish?
Basically, what I just said. I'd like to make a modification for an
open source package that'd let admins run whatever PHP script they
wanted to at designated time intervals. If you only got one visitor
every two hours, and you wanted your script to run every hour, that'd
be a problem, but I don't think there's much I can do about that.
I can't rely on cron because the admin might have safe mode enabled,
might not be running on Linux, etc.
At the same time, though, it wouldn't be all that spectacular if the
script was always the last thing to load on the page. If it were,
then people could just click another link and load another page before
the image on the first page had a chance to load.