Hi Ken,
I think my alert is working properly, but after reading this post I went back to check the code I had in my index.php
2 things I noticed that are different: I have this at the top of my code, <div class="column-dark"> as in
//
$useTopWarning = false; // set to true to use only the rss-top-warning script
// set to false to use the rss-advisory script instead
?>
<div id="main-copy">
<div class="column-dark">
<?php // insert desired warning box at top of page
And I do not have this line of code: <script type="text/javascript" src="nws-alertmap.js"></script>
I do have an announce script added in there -- I guess what I'm asking - should I add the above line in there??? below is what I have.
top-warning script
// set to false to use the rss-advisory script instead
?>
<div id="main-copy">
<div class="column-dark">
<?php // insert desired warning box at top of page
if(isset($SITE['NWSalertsCodes']) and count($SITE['NWSalertsCodes']) > 0) {
// Add nws-alerts alert box cache file
include_once("nws-alerts-config.php");
include($cacheFileDir.$aboxFileName);
// Insert nws-alerts alert box
echo $alertBox;
} else { // use atom scripts of choice
if ($useTopWarning) {
include_once("atom-top-warning.php");
} else {
print " <div class=\"advisoryBox\">\n";
$_REQUEST['inc'] = 'y';
$_REQUEST['summary'] = 'Y';
include_once("atom-advisory.php");
print " </div>\n";
}
}
?>
<?php
include_once("./specanounconfig.php"); // include the settings
include_once($cfolder.$cfile); // include the cache file
if(date("U") <= $spandata[1]) {echo $spanmessage;}
?>
<div class="column-dark">
<div align="center">
<!-- <br/>