Author Topic: Auto-refreshing Curly's NWS Alert Box  (Read 573 times)

0 Members and 1 Guest are viewing this topic.

Offline tmabell

  • Forecaster
  • *****
  • Posts: 394
    • Mishawaka Weather
Auto-refreshing Curly's NWS Alert Box
« on: April 21, 2016, 11:26:33 AM »
Apologies if this has been asked & answered before.  I use Curly's NWS-Alerts script which displays in an "Alert Box" on a web page.  I'm wondering if there is a way to cause the display box to auto refresh after a specific amount of time.  Ideally I would not want the entire page to refresh, just that component.  Thanks

Offline Curly

  • Forecaster
  • *****
  • Posts: 724
    • Michiana Weather
Re: Auto-refreshing Curly's NWS Alert Box
« Reply #1 on: April 21, 2016, 01:32:23 PM »
The alert box could be put into an iframe and then have a javascript reload the iframe.
This may not reload with some browsers or if javascript is disabled.