Revision 88 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
// $Header: file:///svn/repos/nagios-php/js/nagios-php.js 98 2013-01-03 09:52:28Z lars $var aktiv;$(function(){$('#accordion').accordion({heightStyle: "content",icons: {"header": "ui-icon-plus","headerSelected": "ui-icon-minus"}});$('#tac').click(load_tac);$('#hgo').click(load_hgo);$('#hgs').click(load_hgs);$('#hgg').click(load_hgg);$('#sgo').click(load_sgo);$('#sgs').click(load_sgs);$('#sgg').click(load_sgg);});function load_tac(){$('#content').html('Loading...');$('#content').load("tac.php");}function load_hgo(){$('#content').html('Loading...');$('#content').load("hostgroups.php?mode=overview");}function load_hgs(){$('#content').html('Loading...');$('#content').load("hostgroups.php?mode=summary");}function load_hgg(){$('#content').html('Loading...');$('#content').load("hostgroups.php?mode=grid");}function load_sgo(){$('#content').html('Loading...');$('#content').load("servicegroups.php?mode=overview");}function load_sgs(){$('#content').html('Loading...');$('#content').load("servicegroups.php?mode=summary");}function load_sgg(){$('#content').html('Loading...');$('#content').load("servicegroups.php?mode=grid");}function callJsFunc(func, delay){clearTimeout(aktiv);aktiv = setTimeout(func, delay);}