Refresh(?)

J

John

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.
 
J

Joe Mamma

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?
 
R

Roy Schestowitz

John said:
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
 
D

data64

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
 
J

John

John wrote:
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.
 
J

John

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.
 
M

Mark Parnell

Previously in alt.html 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. :)
 
J

John

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top