friendica/view/head.tpl
2010-07-19 22:52:31 -07:00

27 lines
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>