Page Flicker (HTML)

Status
Not open for further replies.

zach014

Baseband Member
Messages
29
I'm using the <meta> tag to refresh a page (inside an iframe) every second.
<meta http-equiv="refresh" content="1">
unfortunately, the page flickers annoyingly
well actually it just says "Loading" at the top of the tab (firefox) and says (in status bar) waiting for http://website.com, and then, transferring data from http://website.com
I'm also concerned about my IE users
i don't know what happens to their page when it refreshes

i need some sort of script (HTML, PHP, or Javascript) to stop this annoying "flicker"

thanx,
zach
 
Are you using this to keep a background connection to your server? If so, I'd highly suggest trying the JavaScript XML-HTTP object, which allows just that, but without the need for a separate page/window, although it would require a little bit of JavaScript knowledge.

A fairly brief tutorial (with no real PHP examples, though) is here at the w3c.

Otherwise...not sure, it's Firefox that knows the frame is there, and is consistently reloading. Of course I've not tried it directly, but it seems odd that the tab would take the name of the frame, instead of the main page, I guess it just shows anything that hasn't finished loading?

For the status bar, you could use some JavaScript to make it say something standard, like 'welcome to my page' - thereby hiding the loading part...

o_O
 
Status
Not open for further replies.
Back
Top Bottom