Konu Başlığı: iframe sağa sola
View Single Post
Sponsorlu Bağlantılar
Zoque.Forum
Advertisement
Old 27.01.2001   #4 (permalink)
ScottJr
 
ScottJr's Avatar
 
Üyelik Tarihi: 14.07.2000
Yer: Istanbul-Turkey
Yaş: 28
Mesaj: 1,061
Whoa!

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
__________________
Onur Oztaskiran

» Monofactor -Journal | Showcase | » DevArt Gallery
ScottJr şu an çevrimdışı   Mesajdan alıntı yaparak yeni bir cevap ekleyin