Gerry,
Thanks for the great script. Working on it now. In the Nashville area we also have the Terminal Doppler Weather Radar TBNA. Can I incorporate all of the kohx and tbna selections into one drop down menu or do you recommend a second page. If so how would I call that one without getting kohx.
Thanks.
Bob
If these products follow the same naming conventions it would be possible to incorporate all of your radar products into the HAniS package, but it would require patience and work on your part. Steps would be:
1) Using the existing radar types in 'gr3radar-hanis-select.php' as models you can create an additional
<optgroup label="Terminal Doppler Radar">
...
</optgroup>
between which you add your new Terminal Doppler Weather Radar TBNA products.
2) Add the products to the 'inc-gr3hanis.php' by copying the last 'else if'
} elseif ($radar == 'dsd') {
$radarText = 'Digital Storm Total Rainfall';
}
and pasting it however many times you need to accommodate your additional radar types.
3) Modify the entries one by one so each contains the appropriate $radar and $radarText.
4) There might be some helpful explanatory graphics you could conditionally display beneath the radar animation as I've done with some of the Dual-Pole products
<?php if (($radar=='hca1')||($radar=='hhc')) { ?>
...
<?php } else if ($radar=='cc1') { ?>
etc.
5) Test your work.
If these products use different naming conventions, then a separate page might be necessary.
Good Luck, and let us see how it turns out.