Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Refresh(?)

Reply
Thread Tools

Refresh(?)

 
 
John
Guest
Posts: n/a
 
      06-15-2005
Hi:

On a small web site I am looking after (http://www.myjourney.ca/weather.shtml)
I have a small "weather panel"
(<a href="http://www.wunderground.com/global/stations/71368.html">
<img
src="http://banners.wunderground.com/banner/gizmotimetemp_both/language/www/global/stations/71368.gif")

However, the time (and temparature also, I imagine) stays at what it was when
the page was first opened.

Is there a script or command I can insert so that this link will be refreshed
every one minute or so?

I have googled "refresh" and found several examples of refreshing a whole page,
but not just a linked image in a page.

Thanks!

John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
Reply With Quote
 
 
 
 
Joe Mamma
Guest
Posts: n/a
 
      06-15-2005
> I have googled "refresh" and found several examples of refreshing a whole
> page,
> but not just a linked image in a page.
>


you can do it if you use frames but......
I bet you don't like frames either?


 
Reply With Quote
 
 
 
 
Roy Schestowitz
Guest
Posts: n/a
 
      06-15-2005
John wrote:

> Hi:
>
> On a small web site I am looking after
> (http://www.myjourney.ca/weather.shtml) I have a small "weather panel"
> (<a href="http://www.wunderground.com/global/stations/71368.html">
> <img
> src="LONG LINK")
>
> However, the time (and temparature also, I imagine) stays at what it was
> when the page was first opened.
>
> Is there a script or command I can insert so that this link will be
> refreshed every one minute or so?
>
> I have googled "refresh" and found several examples of refreshing a whole
> page, but not just a linked image in a page.
>
> Thanks!
>
> John <><
>
> A wise monkey is a monkey who doesn't monkey
> with an other monkey's monkey.


Refreshing just part of the page will involve frames or JavaScript (AJAX,
for example, is about refreshing parts of the page without a complete
reload). Considering the fact that both are a bloat and quite unnecessary,
I suggest you use metatags to refresh the entire page.

Wunderground used to embed the text in the image so I could snatch it but
they now (starting last month) display text on top of a background that
represents the current conditions. Have you found a workaround?

Roy

--
Roy S. Schestowitz
http://Schestowitz.com
 
Reply With Quote
 
data64
Guest
Posts: n/a
 
      06-15-2005
John <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> I have googled "refresh" and found several examples of refreshing a
> whole page, but not just a linked image in a page.
>


Use an iframe, to include in a page that does the refresh.

data64
 
Reply With Quote
 
John
Guest
Posts: n/a
 
      06-15-2005
On Tue, 14 Jun 2005 19:05:03 -0700, "Joe Mamma" <nerp.com> wrote:

>> I have googled "refresh" and found several examples of refreshing a whole
>> page,
>> but not just a linked image in a page.
>>

>
>you can do it if you use frames but......


Thanks for that information, Joe

>I bet you don't like frames either?

What else don't I like?



John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
Reply With Quote
 
John
Guest
Posts: n/a
 
      06-15-2005
On Wed, 15 Jun 2005 03:30:06 +0100, Roy Schestowitz <(E-Mail Removed)>
wrote:

>John wrote:


>> On a small web site I am looking after
>> (http://www.myjourney.ca/weather.shtml) I have a small "weather panel"
>> (<a href="http://www.wunderground.com/global/stations/71368.html">
>> <img
>> src="LONG LINK")


>> Is there a script or command I can insert so that this link will be
>> refreshed every one minute or so?
>>


>
>Refreshing just part of the page will involve frames or JavaScript (AJAX,
>for example, is about refreshing parts of the page without a complete
>reload). Considering the fact that both are a bloat and quite unnecessary,
>I suggest you use metatags to refresh the entire page.


Roy: After the information given to me here, I'm considering to just leave
things as they are. After all, how important is it really what I was trying to
do?
>
>Wunderground used to embed the text in the image so I could snatch it but
>they now (starting last month) display text on top of a background that
>represents the current conditions. Have you found a workaround?
>

I'm afraid my knowledge of all this is so limited I don't really understand what
you are asking.
I have not sseen any difference in the way this is shown on my site.

Thanks for your input!

John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
Reply With Quote
 
John
Guest
Posts: n/a
 
      06-15-2005
On Tue, 14 Jun 2005 23:55:49 -0400, data64 <(E-Mail Removed)> wrote:

>John <(E-Mail Removed)> wrote in
>news:(E-Mail Removed) :
>
>> I have googled "refresh" and found several examples of refreshing a
>> whole page, but not just a linked image in a page.
>>

>
>Use an iframe, to include in a page that does the refresh.
>

Thanks, data64!
As I responded to Roy:
"After the information given to me here, I'm considering to just leave
things as they are. After all, how important is it really what I was trying to
do?"

I really don't want to get into frames.
Thanks again!


John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      06-15-2005
Previously in alt.html, John <(E-Mail Removed)> said:

> Roy: After the information given to me here, I'm considering to just leave
> things as they are. After all, how important is it really what I was trying to
> do?


Probably not very. At most, I would suggest you add something like this:

<p>Refresh the page for the latest weather conditions.</p>

but I'm sure most of your visitors could work that out for themselves
anyway, particularly since the time doesn't change.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/
 
Reply With Quote
 
Joe Mamma
Guest
Posts: n/a
 
      06-16-2005
>>I bet you don't like frames either?
> What else don't I like?
>

people who monkey with other monkeys?
I've been framed!


 
Reply With Quote
 
John
Guest
Posts: n/a
 
      06-16-2005
On Wed, 15 Jun 2005 20:58:53 -0700, "Joe Mamma" <nerp.com> wrote:

>>>I bet you don't like frames either?

>> What else don't I like?
>>

>people who monkey with other monkeys?
>I've been framed!
>

*I* didn't say that I don't like people who monkey with other monkeys.
However, there's a story (I don't think it is scientifically proven) that the
first appearance of AIDS in humans came as as result of "people monkeying with a
monkey"

I merely said that "A *wise* monkey is a monkey who doesn't monkey
with an other monkey's monkey."
And I'll stand by that . . .

John <><

A wise monkey is a monkey who doesn't monkey
with an other monkey's monkey.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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




Advertisments