X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=data%2Ftemplates%2Fown_templates%2F1515428.tpl;fp=data%2Ftemplates%2Fown_templates%2F1515428.tpl;h=f9faffa80f37c54119ce952b22350e342d97d00c;hb=8ab498a1ff528bf9a7251ccc94a79ae86774fbca;hp=0000000000000000000000000000000000000000;hpb=2f9b488531ea667d5d2790e671dbe6e058c7ebd2;p=mirrors%2FKyberia-bloodline.git diff --git a/data/templates/own_templates/1515428.tpl b/data/templates/own_templates/1515428.tpl new file mode 100644 index 0000000..f9faffa --- /dev/null +++ b/data/templates/own_templates/1515428.tpl @@ -0,0 +1,88 @@ +function stswitch() { + document.forms[0].submit(); +} + +submenuTimer = false; +timer = 500; + +var IE = document.all?true:false +if (!IE) document.captureEvents(Event.MOUSEMOVE) +document.onmousemove = getMouseXY; +var tempX = 0 +var tempY = 0 + +function getMouseXY(e) { + if (navigator.userAgent.indexOf("Konqueror")!=-1) { // grab the x-y pos.s if browser is Konqueror + tempX = e.clientX + tempY = e.clientY + } else if (IE) { // grab the x-y pos.s if browser is IE + tempX = event.clientX + document.body.scrollLeft + tempY = event.clientY + document.body.scrollTop + } else { // grab the x-y pos.s if browser is NS + tempX = e.pageX + tempY = e.pageY + } + if (tempX < 0){tempX = 0} + if (tempY < 0){tempY = 0} + return true +} + +function sm(name,id,node) { + var t = tempY - 10; + var l = tempX - 10; + + var cnt = ""; + cnt += "userinfo"; + cnt += "
"; + cnt += ""; + cnt += "
"; + cnt += "
"; + cnt += ""; + cnt += ""; + cnt += "
"; + + if (p) { + p.innerHTML = cnt; + p.style.top = t + "px"; + p.style.left = l + "px"; + p.style.display = "block"; + } +} + +function sm_mail(name,id,node) { + var t = tempY - 10; + var l = tempX - 10; + + var cnt = ""; + cnt += "userinfo"; + cnt += "posta"; + cnt += "filter_by"; + cnt += "
"; + cnt += ""; + cnt += ""; + cnt += ""; + cnt += "
"; + + if (p) { + p.innerHTML = cnt; + p.style.top = t + "px"; + p.style.left = l + "px"; + p.style.display = "block"; + } +} + +function hideSubmenu() { + submenuTimer = setTimeout("hideSubmenu2()", timer); +} + +function hideSubmenu2() { + if (p) { + p.style.display = "none"; + } +} + +function km() { + if (submenuTimer) { + clearTimeout(submenuTimer); + } +} \ No newline at end of file