// ******************************************************************************** // Copyright (C) 1999 Thomas Brattli // This script is made by and copyrighted to Thomas Brattli at www.bratta.com // Visit for more great scripts. This may be used freely as long as this msg is intact! // I will also appriciate any links you could give me. Go to his site for the original code. // ********************************************************************************/ seeit = 0; warner= "# denotes link is to a Flash site - they can be verrrrrry slow without broadband & are often blank without the Flash plug-in. or parts are unusable"; function checkBrowser(){ this.ver=navigator.appVersion ; this.dom=document.getElementById?1:0 ; this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5); fred=navigator.appName ; fred = fred.search("Explorer") this.ie= (fred>0)?1:0; this.shit = this.ver.indexOf("MSIE 5"); return this; } bw=new checkBrowser() ; //Set these variables: fromLeft=10 ;// How much from the left of the cursor should the div be? fromTop=10 ;// How much from the top of the cursor should the div be? /******************************************************************** Initilizes the objects *********************************************************************/ function cursorInit(){ oCursor=new makeCursorObj('divCursor'); scrolled=bw.ns4 || bw.ns5?"window.pageYOffset":"document.body.scrollTop"; if(bw.ns4)document.captureEvents(Event.MOUSEMOVE) // alert("bw.ie5 "+bw.ie5 +" bw.ie4 "+ bw.ie4 +" bw.ns4 "+ bw.ns4 +" bw.ns5 "+ bw.ns5+" bw.bw "+bw.bw+" bw.fred "+bw.fred) if(!(bw.ie5 || bw.ie4)) { document.onmousemove=move;} //move(); } if(bw.ie4||bw.ie5){ }else{ onload=cursorInit; } // end of script