J
junk419
Hi all. First of all I know pretty much nothing about Javascript
It's just that I found a program/script that will refresh a webpage
(not mine) every so often. It's called AllStock's AutoRefresh. What I
am hoping some can help me with is for when it refreshes I would like
for it to scroll down about 3 or 4 clicks OR I can scroll it down my
self but when it refreshes it goes down to the point I was at. Either
is really fine with me. Here's what I have in the refresh.htm code:
var cycle=1;
sites=["http://www.thesite.com"];
sites_upper=1;
delay=.5*60000;
function
reload_page(){parent.frames[0].location=sites[cycle];if(cycle==sites_upper)cycle=0;else
++cycle;}</SCRIPT><body
onLoad="parent.frames[0].location=sites[0];window.setInterval('reload_page()',delay)"></body></html>
This is what is in the index.htm code in case you'd need to look at
that too:
<html><frameset rows=*,0 border=0 frameborder=0 framespacing=0><frame
name="clientarea" border=no framespacing=0 noresize><frame
src="refresh.htm" name="refresher" border=no framespacing=0
noresize></frameset></html>
Thanks in advance for any help you might be able to give me!
It's just that I found a program/script that will refresh a webpage
(not mine) every so often. It's called AllStock's AutoRefresh. What I
am hoping some can help me with is for when it refreshes I would like
for it to scroll down about 3 or 4 clicks OR I can scroll it down my
self but when it refreshes it goes down to the point I was at. Either
is really fine with me. Here's what I have in the refresh.htm code:
var cycle=1;
sites=["http://www.thesite.com"];
sites_upper=1;
delay=.5*60000;
function
reload_page(){parent.frames[0].location=sites[cycle];if(cycle==sites_upper)cycle=0;else
++cycle;}</SCRIPT><body
onLoad="parent.frames[0].location=sites[0];window.setInterval('reload_page()',delay)"></body></html>
This is what is in the index.htm code in case you'd need to look at
that too:
<html><frameset rows=*,0 border=0 frameborder=0 framespacing=0><frame
name="clientarea" border=no framespacing=0 noresize><frame
src="refresh.htm" name="refresher" border=no framespacing=0
noresize></frameset></html>
Thanks in advance for any help you might be able to give me!