sforkowany z mirror/friendica
27 wiersze
780 B
Smarty
27 wiersze
780 B
Smarty
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<base href="$baseurl" />
|
|
<link rel="stylesheet" type="text/css" href="$baseurl/view/style.css" media="all" />
|
|
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="$baseurl/include/jquery.js" ></script>
|
|
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
|
|
|
|
<script type="text/javascript">
|
|
// $(document).ready(function() { setTimeout(NavUpdate,10 * 1000); });
|
|
|
|
function NavUpdate()
|
|
{
|
|
$.get("ping",function(data)
|
|
{
|
|
$(data).find('result').each(function() {
|
|
var net = $(this).find('net').text();
|
|
alert(net);
|
|
});
|
|
}) ;
|
|
setTimeout(NavUpdate,10 * 1000);
|
|
}
|
|
</script>
|
|
|