I'm wondering how to get the radar image on my front page (moodyweather.ca) to be animated (basically a copy of the one on the Radar/Regional Radar page).
Looking at the code in the index.php file, it shows the following for the radar section:
$_REQUEST['site'] = 'PAC'; // one of the sites above, or your radar designator
$doPrint = false;
include_once("ec-radar.php");
This is the code section in the Regional Radar wxradarregional.php file:
$_REQUEST['site'] = 'PAC'; // one of the sites above, or your radar designator
$doInclude = true;
$doPrint = true;
include_once("ec-radar.php");
My question is, if, in the index.php file, I simply change the '$doPrint' to True and add the '$doInclude = true;' line (above '$doPrint' so they match), would that change it to an animated map, or would I also have to make some kind of alteration to the next line in the index.php file:
<img src="<?php echo $radarDir . 'radar-' . $_REQUEST['site'] . '-0.png'; ?>"
I could just go ahead and try it, but I'd rather get confirmation on this before I experiment on a live site.