Page 1 of 1

Need alittle help :S

Posted: Mon Jul 04, 2005 9:37 am
by Smackie
I got this chat script downloaded i believe its like perl or something but i was wondering if some one could tell me how to make it where it doesnt blink when it refreshes and doesnt scroll back up when it does refresh.. here is what they had has the refresher...

Code: Select all

<META HTTP-EQUIV=&quote;refresh&quote; CONTENT=&quote;20; URL=$script_name?action=stillalive&name=$query{'name'}&password=$query{'password'}&updatefrequency=$query{'updatefrequency'}&color=$query{'color'}&new_msg_on_top=$query{'new_msg_on_top'}&quote;>
<META HTTP-EQUIV=&quote;expires&quote; CONTENT=&quote;0&quote;>
<META HTTP-EQUIV=&quote;pragma&quote; CONTENT=&quote;no-cache&quote;>
$html_css
Thank you
Smackie

Posted: Mon Jul 04, 2005 10:08 am
by Chris Corbyn
You can't stop it blinking when it refreshes other than to swicth to using AJAX or XMLhttp.

Check out the last thread in our tutorials board for a guide to starting out in this. This script is just using a meta refresh technique so the page has to refresh completely...

Posted: Mon Jul 04, 2005 2:45 pm
by onion2k
d11wtq wrote:You can't stop it blinking when it refreshes other than to swicth to using AJAX or XMLhttp.
AJAX and XMLhttp are the same thing.

Posted: Mon Jul 04, 2005 4:52 pm
by Burrito
onion2k wrote:AJAX and XMLhttp are the same thing.
No they're not. Ajax uses XMLHttp, but they are not the same...

http://en.wikipedia.org/wiki/XMLHttpRequest <-- XMLHttp
http://en.wikipedia.org/wiki/AJAX <-- Ajax