Log in

View Full Version : Page reload



Mike4x4
04-08-2008, 09:40 AM
Hi people i have a webpage and i want to reload the page every 20 seconds, i have tried meta refresh but in ie it makes the pages look crappy it makes a flicker on the images everytime it refreshes how can i make it like firefox where its always smooth?

thanks.

Nile
04-08-2008, 11:47 AM
There are a few other ways, you can take a look at this thread if you can use PHP:
http://www.dynamicdrive.com/forums/showthread.php?t=30561
And if you can't then you can use javascript. What I suggest doing it putting the <nosrcipt> and </noscript> before and after the <meta> tags. And then after that put the javascript.

tech_support
04-08-2008, 11:57 AM
You could use ajax to make certain parts of the page re-load automatically without having to actually refresh the page.

Mike4x4
04-08-2008, 12:12 PM
i dont really want to use ajax, but the code nile told me to use that still makes the page flicker and its not smooth is there anyway at all than using ajax

how about a webpage transition effect on page enter to load everything first before its displayed would that work?

any ideas people?

i want to use ajax to refresh my page with no flicker effect in ie how do i do it

i really want it to refresh the page automaticalyl with no flicker effect when the text is updated inside the text file store/mike.txt is it possible?

tech_support
04-13-2008, 10:29 AM
You can't load a page without using ajax and expect it not to flicker. The only way is ajax. Why don't you want to use it?

Mike4x4
04-13-2008, 11:05 AM
could i have a website to get me on track or an example code that i can modify i have spent so many hours trying everything.

tech_support
04-13-2008, 11:45 AM
Example of what?

Mike4x4
04-13-2008, 01:27 PM
an example of an ajax code to refresh the page when the text file mike.txt is changed where it outputs the data on the webpage.

Mike4x4
04-13-2008, 11:22 PM
anyone i really need to find a way for it to work

djr33
04-13-2008, 11:55 PM
Have patience. Those helping you aren't necessarily going to visit every 12 hours to answer. It may take a little more time, especially considering that you keep changing what you're asking for. Near the beginning of the discussion Ajax was suggested, but you asked for something else. Now you do want Ajax.