473,668 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="refreshBo ttom"></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 "...#refreshBot tom" extension on it and when it only refreshes
once to the bottom of the page (using the semicolon), the address does
have the "...#refreshBot tom" on it.

Any help would be GREATLY appreciated.

Thank you
dave

Apr 25 '06 #1
3 2431
To further the education of mankind, "dave" <sn*****@hotmai l.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="refreshBo ttom"></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.locat ion='otherdoc.d oc'">)

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=a lt.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5181
by: Markus Ernst | last post by:
Hello I have a regex problem, spent about 7 hours on this now, but I don't find the answer in the manual and googling, though I think this must have been discussed before. I try to simply extract the title and meta tags of a valid HTML page as an array: function extract_html($filename)
5
3780
by: Donald Firesmith | last post by:
Are html tags allowed within meta tags? Specifically, if I have html tags within a <definition> tag within XML, can I use the definition as the content within the <meta content="description> tag? If not, is there an easy way to strip the html tags from the <definition> content before inserting the content into the meta tag?
14
5365
by: Ludwig77 | last post by:
I read that there are some tags that can be entered in a web page's meta tags in order to prevent web bot searching and indexing of the web page for search engines. What is the tagging that I would need to use?
22
3319
by: Luke | last post by:
Elements with name attribute: form, input, textarea, a, frame, iframe, button, select, map, meta, applet, object, param, img (if you know more reply...) Methods of addresing html elements: <form name="myform"> <input name="myinput" /> </form> 1. var input = document.forms.myform.myinput;//from nn3+ 2. var input = document.forms.myinput;//from nn3+
82
6301
by: Eric Lindsay | last post by:
I have been trying to get a better understanding of simple HTML, but I am finding conflicting information is very common. Not only that, even in what seemed elementary and without any possibility of getting wrong it seems I am on very shaky ground . For example, pretty much every book and web course on html that I have read tells me I must include <html>, <head> and <body> tag pairs. I have always done that, and never questioned it. ...
8
1941
by: David C. Stone | last post by:
I'm stuck trying to validate an html 4.01 page that uses an image map. I copied the second client-side example from here: <http://www.w3.org/TR/html401/struct/objects.html#h-13.6> and implemented it here: <http://www.chem.utoronto.ca/coursenotes/analsci/chrom/hplc.html> but the W3C validator complains that:
2
1266
by: Mantorok | last post by:
Is it advisable to use metatags in html pages? I'm going to be creating som ehtml pages on the fly from my website and then ultimately publish them, however I want these pages to be picked up by search engines - can meta tags be used in this way, and if so, what are the recommended usages? Thanks Kev
10
2506
by: teddyber | last post by:
Hello, first i'm a newbie to python (but i searched the Internet i swear). i'm looking for some way to split up a string into a list of pairs 'key=value'. This code should be able to handle this particular example string : qop="auth,auth-int,auth-conf",cipher="rc4-40,rc4-56,rc4,des, 3des",maxbuf=1024,charset=utf-8,algorithm=md5-sess
0
2786
by: Guy Macon | last post by:
Moon wrote: It isn't a question of relative vs. full URL paths in your meta tags. It is a question of following the paths (relative or full URL) in your meta tags vs. not reading the meta tags at all and just looking for the favicon in the root. The standard behaviour is defined here: http://www.w3.org/2005/10/howto-favicon ] (The examples have full URLs but of course relative URLs
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8652
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7391
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.