I am trying to put a scrolling banner on the front page for noaa warnings of my web page. I have tried %noaawarningscroll% & 2 any help is welcome about this. webpage http://www.k9flp.com
Lee
I am trying to put a scrolling banner on the front page for noaa warnings of my web page. I have tried %noaawarningscroll% & 2 any help is welcome about this. webpage http://www.k9flp.com
Lee
What I wanted was a banner with scrolling one line letters with the type of warning across the top that would only popup when there is a warning
Lee
Here’s the code I use on my site.
<script type="text/javascript">
<!--
var warning = "%NOAAEvent%".toUpperCase();
if (warning != "NO CURRENT ADVISORIES")
{
document.write("<table border='1' cellpadding='0' cellspacing='0' width=550 bgcolor='RED'><tr><td><a href='wx3.php'><font face='verdana,arial' size='3' color='WHITE'><marquee scrolldelay='125' width='550'>WEATHER ALERT - <b>%NOAAEvent%</b> ... [Click here for details]</marquee></font></a></td></tr></table>
");}
//-->
</script>
Thanks for the code I appreciate the help.
There are no warning now to test it.
Lee
You can change the settings in WD to set a location that does have a warning in effect for testing…
Can this work with email signature also? Because that is what I exactly wanted a live weather warning that scroll across the bottom of my page also.
Pam G.
I believe WD can generate emails with embedded tags, so in theory it should work.
One more question can you make it do weather warnings for Madison County in Alabama? I going to see if it really does work in the email.
I the weather warning populates the tag then it should work…