|
Posted by Neredbojias on April 25, 2006, 3:35 pm
Please log in for more thread options
vouchsafed:
> I want to be able to have my webpage to continually refresh
> automatically every so many seconds. When it refreshes, I want it to
> refresh to the bottom of the screen. To accomplish this, I am using an
> anchor which is the last item on the page. I am defining the anchor
> with:
>
> <A Name="refreshBottom"></A>
>
> The meta tag I have defined in the header of the page is listed below:
>
> <META HTTP-EQUIV="REFRESH" CONTENT="30, URL=Queue.html#refreshBottom">
>
> My problem is this:
> When there is a "," (comma) after the 30 in the meta tag, the page
> continually refreshes but never recongnizes the anchor tag. Therefore,
> it always refreshes to the top of the page. If I have a ";"
> (semicolon) after the 30 in the meta tag, the page will only refresh
> once, but correctly refreshes to the bottom of the page.
>
> Idealy, I would like for the webpage to continually refresh at the
> desired interval until the user leaves the page.
Try an absolute path (eg: http://Queue.html#refreshBottom). I also noticed
this in some old FAQ:
Note: If a script is executed which reloads the current document, the
action of the Refresh tag may be undefined. (e.g. <body onLoad=
"document.location='otherdoc.doc'">)
Apparently using the semicolon is the correct syntax.
--
Neredbojias
Infinity has its limits.
|