Jump to content
xisto Community
Sign in to follow this  
2091

Php Page Reload reload -reload without flickering

Recommended Posts

hi there!i'm writing a chat, with the problem, [my english isn't very well #cause i'm from austria/vie] that the user must click on reload.chat looks like this:__________________________________|Username Text (in color of user) || || || textwindow || || || ||----------------------------------------------|| Messagebox send reload || ||__choosetextcolor__________________|and the upper window [chat_out.php] i need a page reloading system, so the user will see whats new in the mysql-databaseanyone can help me?

Share this post


Link to post
Share on other sites

If you don't care so much about slight flickering you could load your chatscript into the main page using an iframe.

The code to reload the page automaticly would look something like this:

<html><head><title>Auto Reload</title><script language="JavaScript"><!--var time = nullfunction move() {window.location = 'http://http://ww38.yoursite.com/URLofIframe.html&%2339;}//--& onload="timer=setTimeout('move()',3000)"><p>The second argument (3000) is the amount of time in milaseconds to wait.</body></html>

Share this post


Link to post
Share on other sites
Thank you Php Page Reload

thanks  just what I was looking for a relayable page refresh    /txtmngr/images/smileys/smiley4.Gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.