473,857 Members | 1,804 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 2440
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
5191
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
3797
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
5387
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
3350
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
6389
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
1948
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
1287
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
2526
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
2805
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
9925
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
9769
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,...
1
10809
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10395
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
9549
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
7948
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...
0
7104
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5775
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4192
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.