PDA

View Full Version : auto refreshing a page


c q
04-22-2003, 09:13 AM
hi ! i had a few doubts...simple ones, but I ws hoping to get some help...

1. how can I make a page refresh every 2 mins on its own ?
2. how can I ensure that when a page loads, it is scrolled certain px up and certain px right ?

thanks in advance....

redhead
04-22-2003, 09:46 AM
this will do the refreshing:

<meta http-equiv="refresh" content="120;URL=page.html">

and this will scroll to the point:

<body onload="body.scrollTo(x,y)">

c q
04-22-2003, 01:57 PM
thanks redhead ! I found a very crude way of doing it...like i put a name tag at the place whrI wanted the page to scroll and was linking to that....
but this scroll command is def'nly more robust :thumbsup:

thanks again

-c q