472,127 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

HTML Refreshing Problem with Meta Tags, Anchors, Commas, Semicolons

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. I am unsure of why
this is behaving the way it is. The one thing I did notice, is that
when it continually refreshes (using the comma), the address does not
have the "...#refreshBottom" extension on it and when it only refreshes
once to the bottom of the page (using the semicolon), the address does
have the "...#refreshBottom" on it.

Any help would be GREATLY appreciated.

Thank you
dave

Apr 25 '06 #1
3 2377
To further the education of mankind, "dave" <sn*****@hotmail.com>
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.
Apr 25 '06 #2
To further the education of mankind, Neredbojias
<http://www.neredbojias.com/fliam.php?cat=alt.html> vouchsafed:
Try an absolute path (eg: http://Queue.html#refreshBottom). I also
noticed this in some old FAQ:


Oops.

Try an absolute path (eg: http://www.example.com/Queue.html#refreshBottom).

--
Neredbojias
Infinity has its limits.
Apr 25 '06 #3
Thanks for the help... Still no luck. I tried the absolute path
(equivalent to the latest post) with the same results as the original
post.

Does anyone have any other workaround for something like this?

Thanks!!!!
dave

Apr 26 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Markus Ernst | last post: by
5 posts views Thread by Donald Firesmith | last post: by
14 posts views Thread by Ludwig77 | last post: by
82 posts views Thread by Eric Lindsay | last post: by
8 posts views Thread by David C. Stone | last post: by
2 posts views Thread by Mantorok | last post: by
10 posts views Thread by teddyber | last post: by
reply views Thread by Guy Macon | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.