Update of /cvsroot/dynapi/dynapi3x/src/fx
In directory sc8-pr-cvs1:/tmp/cvs-serv12044/src/fx

Modified Files:
        fader.js timerx.js 
Log Message:
uploaded by raymond

Index: fader.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/src/fx/fader.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** fader.js    5 Mar 2003 04:36:16 -0000       1.1
--- fader.js    9 Mar 2003 22:21:47 -0000       1.2
***************
*** 42,46 ****
        else if(ua.dom && this.css){
                if(ua.ie) this.css.filter='alpha(opacity=' + opac + ')';
!               else this.css.MozOpacity = parseInt(opac) +'%';
        }
        if(!ua.ns4 && opac>1 && this.visible==false) this.setVisible(true);
--- 42,46 ----
        else if(ua.dom && this.css){
                if(ua.ie) this.css.filter='alpha(opacity=' + opac + ')';
!               else this.css.MozOpacity = parseInt(opac)/100;
        }
        if(!ua.ns4 && opac>1 && this.visible==false) this.setVisible(true);
***************
*** 52,54 ****
        
        }
! };
\ No newline at end of file
--- 52,81 ----
        
        }
! };
! 
! /*
! function hex2dec(hex){
!       return(parseInt(hex,16));
! };
! function dec2hex(dec){
!       return (dec < 16 ? "0" : "") + dec.toString(16);
! };
! function fadeColor(start, end, percent) {
! 
!       var r1=hex2dec(start.slice(0,2));
!       var g1=hex2dec(start.slice(2,4));
!       var b1=hex2dec(start.slice(4,6));
! 
!       var r2=hex2dec(end.slice(0,2));
!       var g2=hex2dec(end.slice(2,4));
!       var b2=hex2dec(end.slice(4,6));
! 
!       var pc=percent/100;
! 
!       var r=Math.floor(r1+(pc*(r2-r1)) + .5);
!       var g=Math.floor(g1+(pc*(g2-g1)) + .5);
!       var b=Math.floor(b1+(pc*(b2-b1)) + .5);
! 
!       return("#" + dec2hex(r) + dec2hex(g) + dec2hex(b));
! };
! */
\ No newline at end of file

Index: timerx.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi3x/src/fx/timerx.js,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** timerx.js   10 Feb 2003 22:35:58 -0000      1.1.1.1
--- timerx.js   9 Mar 2003 22:21:47 -0000       1.2
***************
*** 19,23 ****
        this._timerTickCount++;
        this.invokeEvent("timer")
!       this._tickTimer=setTimeout(this+'.tickLoop()',this._timerInterval)
  }
  DynLayer.prototype.stopTimer=function() {
--- 19,23 ----
        this._timerTickCount++;
        this.invokeEvent("timer")
!       this._tickTimer=window.setTimeout(this+'.tickLoop()',this._timerInterval)
  }
  DynLayer.prototype.stopTimer=function() {



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-cvs

Reply via email to