cloudy

Author Topic: Javascript advisory scroll  (Read 31808 times)

0 Members and 1 Guest are viewing this topic.

Offline TomTc

  • Posts: 400
  • Granada Hills, CA, USA
    • The Tcimpidis Weather Station
Re: Javascript advisory scroll
« Reply #30 on: March 06, 2005, 04:08:14 PM »
I vote for the new scheme, eve though it still does not work for me here, but perhaps Brian could make the two different methods user selectable if that is a concern...



Brian, I am not sure you want to remove what is available now as some folks may like that...

If the datahtm1.txt file isn't editable then I am not sure what options there would be for those using the default pages.  If it is able to be edited then we need a FAQ on how to remove what is currently available and replace with Tom's code...

I am always hesitant to suggest changing something that isn't broke for the sake of better and newer as not everyone always agrees that Newer - Better is really better as they get used to certain things...

-Bob
« Last Edit: March 09, 2005, 01:35:03 PM by Tom T »

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #31 on: March 06, 2005, 04:18:37 PM »
but perhaps Brian could make the two different methods user selectable if that is a concern...

I would think making it selectable in some fashion would be optimum, and I agree i far prefer the New CarterLake version myself, however being around apps for some years I have seen some loud cries and moans when something was replaced with newer/better when the original wasn't broke...

Of course those that are happy with the Old method may be the ones that aren't upgrading often either and that may make a difference as well...

-Bob

Offline Weather Display

  • Posts: 64,521
Re: Javascript advisory scroll
« Reply #32 on: March 06, 2005, 07:09:50 PM »
i am not still not clear on what i need to do/change

also, though, someone wanted canada supported
who knows information on that?

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #33 on: March 06, 2005, 09:37:20 PM »
Cool...  Our RED FLAG WARNING has changed to a WATCH and CarterLake's new code switched colors as advertised :)
http://www.JaxWeather.net/

Agian, Thanks Tom for a great script...

-Bob

Offline labwizard

  • Posts: 363
  • Pisgah Forest, NC
    • My Weather page
Re: Javascript advisory scroll
« Reply #34 on: March 08, 2005, 12:26:58 PM »
    It would be great if Brian added this scroll. I fooled with it myself but was afraid I'd make too much of a mess and promised Brian no more problems for awhile after the past weekend of fixes. :oops:
Dave

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #35 on: March 08, 2005, 03:49:02 PM »
If you are managing your own datahtm.txt files you could add it to your current page, just can't replace the top portion of the page as it appears that we cannot manage the datahtm01.txt file, but you should be able to add it to your page by adding the script code to your datahtm0.txt.

If added directly below your "BODY BACKGROUND" tag in the datahtm0.txt file it will appear on at the very top of your web page.

Test of concept can be seen here...
http://www.jaxweather.net/WeatherImages/WD/index.htm

-Bob

Offline labwizard

  • Posts: 363
  • Pisgah Forest, NC
    • My Weather page
Re: Javascript advisory scroll
« Reply #36 on: March 08, 2005, 03:57:43 PM »
Jax,

     I'll give it a try (maybe this evening). I guess I'll have to make a NOAA events tag page to post is that correct? I still have not tackled the Custom Page setup.

Thanks.
« Last Edit: March 08, 2005, 04:05:55 PM by labwizard »
Dave

Offline Weather Display

  • Posts: 64,521
Re: Javascript advisory scroll
« Reply #37 on: March 08, 2005, 04:17:49 PM »
hi
but i already have a tick to add /use that scroller warning system, and you can set the URL to link to
in a new 10.23c  :wink:

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #38 on: March 08, 2005, 04:37:27 PM »
in a new 10.23c  :wink:

As in new now and ready for download or...?

-Bob

Offline labwizard

  • Posts: 363
  • Pisgah Forest, NC
    • My Weather page
Re: Javascript advisory scroll
« Reply #39 on: March 08, 2005, 04:42:28 PM »
    I thought I saw it when I updated Sunday but I was afraid to try it. So it was on the 10.23C that is current (at least in the ZIP).
Dave

Offline labwizard

  • Posts: 363
  • Pisgah Forest, NC
    • My Weather page
Re: Javascript advisory scroll
« Reply #40 on: March 09, 2005, 02:00:53 AM »
     OK, I ticked the box for the scroll, added a URL for the warning page. The page still looks the same. Big warning box same as before, what did I miss?
Dave

Offline Weather Display

  • Posts: 64,521
Re: Javascript advisory scroll
« Reply #41 on: March 09, 2005, 02:06:30 AM »
ok, i actualy did not find time to check this
i will do that soon

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #42 on: March 09, 2005, 02:27:27 AM »
You have to "Untick" "Include in my default WD web page"

Then after it updates the Java box will be gone.  If you have no warnings or advisories you can view the raw source code of the page on the web and see the New scroller code...

-Bob

Offline labwizard

  • Posts: 363
  • Pisgah Forest, NC
    • My Weather page
Re: Javascript advisory scroll
« Reply #43 on: March 09, 2005, 11:24:44 AM »
    The "unticking" worked. Now to see what happens with and advisory.  Thanks for the help Tom. I linked mine to the Hazard Warning Noaa page is that right?
Dave

Offline JaxWeather

  • Bob
  • Global Moderator
  • Posts: 11,224
  • WML Station: WD00007
  • Jacksonville, Fl. USA
    • JaxWeather.net
Re: Javascript advisory scroll
« Reply #44 on: March 09, 2005, 11:44:59 AM »
That would be the link you want to include so that if someone clicks on your Warning scroller they are taken to additional information.

My link is http://JaxWeather.net/JaxWeatherWarning.php while Tom uses a custom WD generated page wxlocal4.html which when uploaded is named wx4.html.  http://www.carterlake.org/wx4.html

You can make the link anything you want, to your Local NWS main page or a custom page.

Hope this helps,
Bob