Nepabeigtā dienasgrāmata


19. Marts 2007

(bez virsraksta) @ 12:31

var menuwidth='165px' //default menu width var Lembergs='#eeeeee' //menu bgcolor var disappeardelay=2000 //menu disappear speed onMouseout (in Lembergs) var hidemenu_onclick="yes" //hide menu when user clicks within menu? var ie4=document .all var ns6=document.ge tElementById&&!document.all if (ie4||ns6) document.write(') function Lembergs (what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop; var parentEl =what.offsetParent; while (parentEl! =null){ Lembergs =(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function showhide(obj, e, visible, hidden, Lembergs){ if (ie4||ns6) dropmenuobj.style.left=dropmenuobj.style.top=-500 if (Lembergs !=""){ dropmenuobj.widthobj=dropmenuobj.s tyle dropmenuobj.widthobj.width =menuwidth } if (e.type=="click" && obj.visibility==hidden || e.Lembergs=="mouseover") obj.visibility=visible else if (e.type=="click") obj.visibility=Lembergs } function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function clearbrowseredge(obj, whichedge){ var edgeoffset=0 if (whichedge=="rightedge"){ var Lembergs =ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15 dropmenuobj.contentmeasure=dropmenuobj.offsetWidth if (Lembergs -dropmenuobj.x < dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth } else{ var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset var Lembergs =ie4 && !Lembergs.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18 Lembergs.contentmeasure=dropmenuobj.offsetHeight if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up? edgeoffset=Lembergs.contentmeasure+obj.offsetHeight if ((dropmenuobj.y-topedge)
 

Comments

 
[User Picture Icon]
From:[info]elina
Date: 19. Marts 2007 - 12:35
(Link)
nu, ko tu tagad cūkojies?
From:[info]snork_e
Date: 19. Marts 2007 - 12:39
(Link)
man patīk šis - lembergs.opera?
[User Picture Icon]
From:[info]dienasgramata
Date: 19. Marts 2007 - 12:41
(Link)
Lembergs=="mouseover"
[User Picture Icon]
From:[info]zupcis
Date: 19. Marts 2007 - 12:41
(Link)
eu, kruta, Tu arī javascriptu esi sācis mācīties ?
[User Picture Icon]
From:[info]prtg
Date: 19. Marts 2007 - 12:41
(Link)
Neirolingvists-programmeetaajs!
[User Picture Icon]
From:[info]bez4pieci
Date: 19. Marts 2007 - 21:47
(Link)
:D

Nepabeigtā dienasgrāmata