%MotionSensor1.statusText%
(custom)
<script type="text/javascript">
$(document).ready(
function()
{
$('.set_period').click(function () {
document.getElementById($(this).attr("data-dev_type")).src = '/jpgraph/?p=' + $(this).attr("data-dev_obj") + '&type=' + $(this).attr("data-dev_period") + '&width=256&height=200>ype=curve&title=Период: ' + $(this).attr("data-dev_period_title")
});
}
)
</script>
<a href="/s2/grapsh.php?p=MotionSensor1.status" target="_blank">
<img id="climate_temp" data-period="1d" src="/jpgraph/?p=MotionSensor1.status&type=48h&title=%MotionSensor1.statusText%&width=265>ype=curve&px=15&%rand%"></a>
<p align=center>
<a href="javascript:void(0)" data-dev_type="climate_temp" data-dev_obj="MotionSensor1.status" class="set_period" data-dev_period_title="сутки" data-dev_period="1d">сутки</a> |
<a href="javascript:void(0)" data-dev_type="climate_temp" data-dev_obj="MotionSensor1.status" class="set_period" data-dev_period_title="месяц" data-dev_period="30d">месяц</a>
</p>