Nette istediginiz turde bir
script var mi bilmiyorum, ancak bahsettiginiz sey size verdigim adreste bulunan scriptin bir baska versiyonunu yaratmaktan geciyor. O scriptte;
function ConstructObject(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
this.el=bw.dom?document.getElementById(obj):bw.ie4 ?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
this.
CSS=bw.dom?document.getElementById(obj).style :bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
this.scrollHeight=bw.ns4?this.
CSS.document.height: this.el.offsetHeight
this.clipHeight=bw.ns4?this.
CSS.clip.height:this.e l.offsetHeight
this.up=
MoveAreaUp;this.
down=MoveAreaDown;
this.MoveArea=MoveArea; this.x; this.y;
this.obj = obj + "Object"
eval(this.obj + "=this")
return this
}
function MoveArea(x,y){
this.x=x;this.y=y
this.
CSS.left=this.x
this.
CSS.top=this.y
}
Up ve down ifadelerini, left ve right olarak degistirmeniz gerekiyor; hem
HTML icinde, hem de harici
script icinde, oldukca yorulacaksiniz gibime geliyor, yukari-asagi olan bir ornegi
http://www.graphart.net/anomotion/menu1.htm
adresinde bulabilirsiniz.
Kolay gelsin