Jick
04-20-2003, 10:22 PM
I was wundering if it was possible to make a page refresh only when the content of that page is changed? I can do php or javascript! Please let me know if this is possible. Thanks. :D
|
Click to See Complete Forum and Search --> : Question for all! Jick 04-20-2003, 10:22 PM I was wundering if it was possible to make a page refresh only when the content of that page is changed? I can do php or javascript! Please let me know if this is possible. Thanks. :D Jick 04-20-2003, 11:25 PM Yes exactally. You pinned it on the head. :D BTW Do i sense sarcasum or are you just asking? Jick 04-20-2003, 11:35 PM Well actually I have this pre-exsisting chat script in HTML, PHP, JavaScript and I wanted the iframe to do what you described. Here is the link: http://kd7pyo.infinitypages.com/chatter/chatterbox.html Thanks for any help you can give me! :D Jick 04-20-2003, 11:43 PM Well thanks any way. I could always get some answers from other people I guess. ( mjdimick looks around as if he was expecting any other answers from any body. ) Well its true lol. :) Nevermore 04-21-2003, 06:31 AM Why not just have it refresh every few seconds? To use Java to accomplish the task, would require Java server extensions. By the way, why is it set up so that you can't use it without JavaScript? Is that intentional? P.S. contact me. $0.05$ 04-21-2003, 09:02 AM I don't know if this is possible by any means, im just throwing around ideas, but: If you were to make a .txt page that you would modify every time there is a change to the site, with the page name, and have some javascript code that periodicly opened this file, and checked to see if the page name was the same as the current one, and refresh, otherwise leave it alone. THEN have another script on a cron job that periodicly deleted all the content in your little .txt file?? Vladdy 04-21-2003, 09:44 AM Limited to compliant browsers but will do the job: http://forums.webdeveloper.com/showthread.php?s=&threadid=5810 Other than that have an iframe refresh every so often khaki 04-21-2003, 02:06 PM :) HAPPY! BIRTHDAY! VLADDY!!!! ;) k Vladdy 04-21-2003, 03:08 PM :o Jona 04-21-2003, 09:55 PM Hey, Vladdy, I just looked and noticed that your birthday was today! *Sings birthday song* Happy birthday!! ;) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |