PC Review


Reply
Thread Tools Rate Thread

Desktop Web Page Refresh

 
 
JCG
Guest
Posts: n/a
 
      9th Jul 2009

Greetings:

I added a webpage i devleoped to my desktop through the display
properties>customize desktop>web. On my webpage i have a clock that will
remain on the same time until i right click on the web area on the desktop
and click refresh. Is there anyway that the webpage can be updated
continuously to always show the accurate time?
--
Thanks in advance...j
 
Reply With Quote
 
 
 
 
Singapore Computer Service
Guest
Posts: n/a
 
      9th Jul 2009

Hello,

Why not use JavaScript's setInterval or setTimeout method in the page to
update the time automatically?

__
http://www.bootstrike.com/ComputerService/
Singapore Computer Home Remote On-Site Repair Service
"JCG" <(E-Mail Removed)> wrote in message
news:C8B44F6A-0D5A-4155-ADAE-(E-Mail Removed)...
> Greetings:
>
> I added a webpage i devleoped to my desktop through the display
> properties>customize desktop>web. On my webpage i have a clock that will
> remain on the same time until i right click on the web area on the desktop
> and click refresh. Is there anyway that the webpage can be updated
> continuously to always show the accurate time?
> --
> Thanks in advance...j



 
Reply With Quote
 
JCG
Guest
Posts: n/a
 
      10th Jul 2009

Thanks Sing...

As a novice, I don't know the code for doing this. Any chance you can
provide code or point me in the right direction...thanks in advance....j


--
Thanks in advance...j


"Singapore Computer Service" wrote:

> Hello,
>
> Why not use JavaScript's setInterval or setTimeout method in the page to
> update the time automatically?
>
> __
> http://www.bootstrike.com/ComputerService/
> Singapore Computer Home Remote On-Site Repair Service
> "JCG" <(E-Mail Removed)> wrote in message
> news:C8B44F6A-0D5A-4155-ADAE-(E-Mail Removed)...
> > Greetings:
> >
> > I added a webpage i devleoped to my desktop through the display
> > properties>customize desktop>web. On my webpage i have a clock that will
> > remain on the same time until i right click on the web area on the desktop
> > and click refresh. Is there anyway that the webpage can be updated
> > continuously to always show the accurate time?
> > --
> > Thanks in advance...j

>
>
>

 
Reply With Quote
 
Bernd
Guest
Posts: n/a
 
      10th Jul 2009


-------- Original-Nachricht --------

> Thanks Sing...
>
> As a novice, I don't know the code for doing this. Any chance you can
> provide code or point me in the right direction...thanks in advance....j
>
>

Simple HTML:

<head>
<meta http-equiv="refresh" content="5">
</head>

content = seconds between refreshes

Bernd
 
Reply With Quote
 
Singapore Computer Service
Guest
Posts: n/a
 
      10th Jul 2009
Hello,

Meta Refresh as the other poster mentions should be simple for you
http://en.wikipedia.org/wiki/Meta_refresh

JavaScript's method may be complicated for you but would only modify the
part of the page you want to update, that is, if the page can be updated
without calling the hosting server. If the server needs to be asked for
updated information, you can use AJAX techniques to get the latest data from
the server.
__
http://www.bootstrike.com/ComputerService/
Singapore Computer Home Remote On-Site Repair Service
http://www.bootstrike.com/VHSVideoConvert/
Video Conversion VHS Video8 Hi8 Digital8 MiniDv NTSC PAL
"JCG" <(E-Mail Removed)> wrote in message
news:A9388133-6872-4275-B5CB-(E-Mail Removed)...
> Thanks Sing...
>
> As a novice, I don't know the code for doing this. Any chance you can
> provide code or point me in the right direction...thanks in advance....j
>
>
> --
> Thanks in advance...j
>
>
> "Singapore Computer Service" wrote:
>
>> Hello,
>>
>> Why not use JavaScript's setInterval or setTimeout method in the page to
>> update the time automatically?
>>
>> __
>> http://www.bootstrike.com/ComputerService/
>> Singapore Computer Home Remote On-Site Repair Service
>> "JCG" <(E-Mail Removed)> wrote in message
>> news:C8B44F6A-0D5A-4155-ADAE-(E-Mail Removed)...
>> > Greetings:
>> >
>> > I added a webpage i devleoped to my desktop through the display
>> > properties>customize desktop>web. On my webpage i have a clock that
>> > will
>> > remain on the same time until i right click on the web area on the
>> > desktop
>> > and click refresh. Is there anyway that the webpage can be updated
>> > continuously to always show the accurate time?
>> > --
>> > Thanks in advance...j

>>
>>
>>



 
Reply With Quote
 
Twayne
Guest
Posts: n/a
 
      10th Jul 2009
"Bernd" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)
> -------- Original-Nachricht --------
>
>> Thanks Sing...
>>
>> As a novice, I don't know the code for doing this. Any chance you
>> can provide code or point me in the right direction...thanks in
>> advance....j

> Simple HTML:
>
> <head>
> <meta http-equiv="refresh" content="5">
> </head>
>
> content = seconds between refreshes
>
> Bernd


I was about to suggest that. In fact, the interval could be as short a
1 (second) as long as it's not a busy non-static page which it pretty
surely is considering the question.

OP: That's only one of many meta-tags available to you if you care to do
a little research at wc3 schools.com an excellent learning/reference
site. Or is it w3c? lol, if one doesn't work, try the other!

Twayne


 
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
Desktop Does Not Refresh After Desktop Folder Redirection mjmanges Windows XP General 1 7th Nov 2006 07:29 PM
how do i make a page refresh each time the page opens? =?Utf-8?B?b2xqZWo=?= Microsoft Frontpage 3 24th Aug 2005 07:43 AM
Async method raised in web page doesn't refresh page TS Microsoft ASP .NET 8 27th Jul 2005 08:40 AM
Async method raised in web page doesn't refresh page TS Microsoft C# .NET 6 27th Jul 2005 08:40 AM
Page.SmartNavigation = True (Button click and Page refresh issue) Lenny Shprekher Microsoft ASP .NET 0 23rd Feb 2005 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 AM.