Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1918532.tpl
1 {literal}
2 <script language='javascript' type='text/javascript'>
3 function ajax() {
4 var browser = navigator.appName;
5 if(browser == "Microsoft Internet Explorer") {
6 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
7 }
8 else {
9 xmlhttp = new XMLHttpRequest();
10 }
11 url = '/ajax/get_moods.php?user_id=2334';
12 xmlhttp.open("GET", url);
13 xmlhttp.onreadystatechange = function() {
14 if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
15 document.getElementById("ajax").innerHTML = xmlhttp.responseText);
16 }
17 }
18 xmlhttp.send(null);
19 }
20 </script>
21 {/literal}
22 <a href='#' onClick='ajax();'>ajax</a>
23 <div id='ajax'></div>
This page took 0.278515 seconds and 4 git commands to generate.