Need alittle help :S

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Smackie
Forum Contributor
Posts: 302
Joined: Sat Jan 29, 2005 2:33 pm

Need alittle help :S

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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...
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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
Post Reply