|
Posted by Max on 10/01/05 16:24
It's actually three questions.
1) I'd have a page that monitors some sites and polls ever 5 minutes. I'd
like to for example a line like:
Website A: UP
I'd like the UP to be an iframe without a border so that it appears as
though it's all the same page. The iframe has some PHP code that pings the
site, and then prints UP or Down. That part I already have setup, and if you
look at this page alone, it shows the UP or DOWN up in the top/left corner.
However when viewing it in the parent page, there is space on top/bottom, so
there is an up/down scroll bar that appears. I know you can eliminate the
scroll bar, but then you can't see the writing at all. How can I remove all
spaces? I've tried playing with margins, padding with no luck so far.
2) I think there is a way to use javascript to refresh each iframe that
might be on the page. Is this the way to go, or should each child (iframe
page) do it's own refreshing every 5 minutes?
3) Is there anyway to prevent the browser from showing the refresh activity?
I know some might say this might be better done with Ajax, and I'm looking
into that as well.
Thanks,
Max
[Back to original message]
|