PC Review


Reply
Thread Tools Rate Thread

How to Continuously Refresh Visited Page every 10 min

 
 
=?Utf-8?B?Sm9obg==?=
Guest
Posts: n/a
 
      7th Feb 2006
Hi,
I want to refresh a visited page (say Yahoo) automatically every (say) 10
secs.

I tried the following in the head section, which did not work:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Transitional//EN"
"http://www.w3.org/TR/xhmtl1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3org/1999/xhtml">

<head> <meta http-equiv="content-type"
content="text/html;charset=utf-8" />

<title> Yahoo </title>

</head><body>

<p><h1> <center> Yahoo </h1> </p>

<a href="http://www.yahoo.com"> Yahoo </a>
<meta http-equiv="Refresh" content="10; index.htm">

</body></html>

When I open my own web page, I hear every 10 secs a "click" which appears to
indicate that the timer is activated, but nothing more shows than the
pagename with the Yahoo link .
When I select the link, the Yahoo webpage shows, but is not updated every 10
sec (I don't hear the 10 sec "click" any more either!).

What do I change to make this work?

Thanks,

John
 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      8th Feb 2006
John,
It doesn't work this way. The meta tag is only usable in within the
header for your document and only applies to your page. The browser is
simply correcting the placement of it, moving the interpreted placement of
it into the document header, and refreshing every ten seconds. You can't
govern how any page other than the one you are on is being viewed.

Now that that has been said, we can try it a different way.

Create a frameset instead. Make one of the frames in the page point
to www.yahoo.com. Then, add your meta tag into the header for the frameset.

<html>
<head>
<title>Framed Page</title>
<meta http-equiv="Refresh" content="10">
</head>
<frameset rows="*">
<frame name="Content" scrolling="no" noresize target="Content">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>

Technically, it's the frameset that's refreshing and it's just
bringing the yahoo web page along for the ride.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage



"John" <(E-Mail Removed)> wrote in message
news:E4E9EA98-8388-4ABC-A264-(E-Mail Removed)...
> Hi,
> I want to refresh a visited page (say Yahoo) automatically every (say) 10
> secs.
>
> I tried the following in the head section, which did not work:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhmtl1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3org/1999/xhtml">
>
> <head> <meta http-equiv="content-type"
> content="text/html;charset=utf-8" />
>
> <title> Yahoo </title>
>
> </head><body>
>
> <p><h1> <center> Yahoo </h1> </p>
>
> <a href="http://www.yahoo.com"> Yahoo </a>
> <meta http-equiv="Refresh" content="10; index.htm">
>
> </body></html>
>
> When I open my own web page, I hear every 10 secs a "click" which appears
> to
> indicate that the timer is activated, but nothing more shows than the
> pagename with the Yahoo link .
> When I select the link, the Yahoo webpage shows, but is not updated every
> 10
> sec (I don't hear the 10 sec "click" any more either!).
>
> What do I change to make this work?
>
> Thanks,
>
> John



 
Reply With Quote
 
=?Utf-8?B?Sm9obg==?=
Guest
Posts: n/a
 
      8th Feb 2006
Thanks Mark,
It works fine now!

Regards,

John

"Mark Fitzpatrick" wrote:

> John,
> It doesn't work this way. The meta tag is only usable in within the
> header for your document and only applies to your page. The browser is
> simply correcting the placement of it, moving the interpreted placement of
> it into the document header, and refreshing every ten seconds. You can't
> govern how any page other than the one you are on is being viewed.
>
> Now that that has been said, we can try it a different way.
>
> Create a frameset instead. Make one of the frames in the page point
> to www.yahoo.com. Then, add your meta tag into the header for the frameset.
>
> <html>
> <head>
> <title>Framed Page</title>
> <meta http-equiv="Refresh" content="10">
> </head>
> <frameset rows="*">
> <frame name="Content" scrolling="no" noresize target="Content">
> </frameset>
> <noframes>
> <body>
> <p>This page uses frames, but your browser doesn't support them.</p>
> </body>
> </noframes>
> </frameset>
> </html>
>
> Technically, it's the frameset that's refreshing and it's just
> bringing the yahoo web page along for the ride.
>
> Hope this helps,
> Mark Fitzpatrick
> Microsoft MVP - FrontPage
>
>
>
> "John" <(E-Mail Removed)> wrote in message
> news:E4E9EA98-8388-4ABC-A264-(E-Mail Removed)...
> > Hi,
> > I want to refresh a visited page (say Yahoo) automatically every (say) 10
> > secs.
> >
> > I tried the following in the head section, which did not work:
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHMTL 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhmtl1/DTD/xhtml1-transitional.dtd">
> > <html xmlns="http://www.w3org/1999/xhtml">
> >
> > <head> <meta http-equiv="content-type"
> > content="text/html;charset=utf-8" />
> >
> > <title> Yahoo </title>
> >
> > </head><body>
> >
> > <p><h1> <center> Yahoo </h1> </p>
> >
> > <a href="http://www.yahoo.com"> Yahoo </a>
> > <meta http-equiv="Refresh" content="10; index.htm">
> >
> > </body></html>
> >
> > When I open my own web page, I hear every 10 secs a "click" which appears
> > to
> > indicate that the timer is activated, but nothing more shows than the
> > pagename with the Yahoo link .
> > When I select the link, the Yahoo webpage shows, but is not updated every
> > 10
> > sec (I don't hear the 10 sec "click" any more either!).
> >
> > What do I change to make this work?
> >
> > Thanks,
> >
> > John

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't continuously type a document from page to page =?Utf-8?B?U2NvcnBpbyBSaXNpbmc=?= Microsoft Word Document Management 1 13th May 2007 04:40 AM
Last page visited =?Utf-8?B?U3BvcnRtYW43QG5ldHplcm8ubmV0Lk5PX1NQQU1f Microsoft Frontpage 3 30th Aug 2006 06:58 AM
Have to refresh page in browser continuously Sunny Windows XP Internet Explorer 1 4th Jan 2004 10:24 AM
Stop Refresh when clicking backwards through sites visited Stephen Windows XP Internet Explorer 0 11th Nov 2003 04:43 AM
default home-page won't open: another recently visited page does Greg Windows XP Internet Explorer 1 22nd Sep 2003 01:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:25 AM.