![]() |
Ajax news bar problem
Hello,
I have this script; Code:
<html> |
Also, this is the content of webticker_lib.js;
Code:
TICKER_CONTENT = document.getElementById("TICKER").innerHTML; |
Hi,
I changed the code as; Code:
if(xmlHttp.readyState == 4){ |
Any idea ?
|
store your timeout into a variable
Code:
ticktock = window.setTimeout("TICKER_tick()", 30);Code:
if(xmlHttp.readyState == 4){ |
Quote:
Where can I store the variable in these codes? |
ticktock is the variable I was talking about.
|
Quote:
Code:
if(xmlHttp.readyState == 4){Code:
ticktock = window.setTimeout("TICKER_tick()", 30); |
| All times are GMT +1. The time now is 08:13 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.