X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=basic-data%2Ftemplates%2Fown_templates%2F1515428.tpl;fp=basic-data%2Ftemplates%2Fown_templates%2F1515428.tpl;h=f9faffa80f37c54119ce952b22350e342d97d00c;hb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;hp=0000000000000000000000000000000000000000;hpb=b097cd5c3065f23e47a0226ee43fa0ce9cc4cd99;p=mirrors%2FKyberia-bloodline.git diff --git a/basic-data/templates/own_templates/1515428.tpl b/basic-data/templates/own_templates/1515428.tpl new file mode 100644 index 0000000..f9faffa --- /dev/null +++ b/basic-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