Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 02-04-2007, 03:05 PM   #1 (permalink)
 
Newb Techie

Join Date: Oct 2006

Posts: 29

zach014

Default Page Flicker (HTML)

I'm using the <meta> tag to refresh a page (inside an iframe) every second.
Quote:
<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
zach014 is offline  
Old 02-06-2007, 02:38 PM   #2 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

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
__________________
Vormund is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On