x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
PlayButton.js - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\tmp4677415525\Leona\Scripts\Widgets\PlayButton\PlayButton.js
Girar
Efecto
Propiedad
Historial
// // iWeb - PlayButton.js // Copyright (c) 2007 Apple Inc. All rights reserved. // function PlayButton(instanceID) {if(instanceID!=null) {Widget.apply(this,arguments);if(windowsInternetExplorer&&browserVersion>=7) {this.enableIE7Hack=true;} this.updateFromPreferences();}} PlayButton.prototype=new Widget();PlayButton.prototype.constructor=PlayButton;PlayButton.prototype.widgetIdentifier="com-apple-iweb-widget-playbutton";PlayButton.prototype.onload=function() {} PlayButton.prototype.onunload=function() {} PlayButton.prototype.changedPreferenceForKey=function(key) {} PlayButton.prototype.setDivOpacity=function(playButtonDiv,opacity) {if(this.enableIE7Hack) {playButtonDiv.style.visibility=(opacity>0.5)?"visible":"hidden";} else {IWSetDivOpacity(playButtonDiv,opacity,true);}} PlayButton.prototype.updateFromPreferences=function() {var playButtonDiv=this.getElementById("play_button");playButtonDiv.ensureHasLayoutForIE();var self=this;self.opacity=0;this.setDivOpacity(playButtonDiv,self.opacity);var mouseEventDiv=this.enableIE7Hack?playButtonDiv.parentNode:playButtonDiv;mouseEventDiv.onmouseover=function() {self.p_fadeIn(playButtonDiv);mouseEventDiv.onmouseout=function() {self.p_fadeOut(playButtonDiv);}} fixupIEPNGBGsInTree(playButtonDiv);} PlayButton.prototype.p_fadeIn=function(playButtonDiv) {var self=this;var startOpacity=this.opacity;if(this.mFadeAnimation) {this.mFadeAnimation.stop();} this.mFadeAnimation=new SimpleAnimation(function() {delete self.mFadeAnimation;});this.mFadeAnimation.pre=function() {self.opacity=startOpacity;self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.post=function() {self.opacity=1.0;self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.update=function(now) {self.opacity=startOpacity+now*(1.0-startOpacity);self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.start();} PlayButton.prototype.p_fadeOut=function(playButtonDiv) {var startOpacity=this.opacity;if(this.mFadeAnimation) {this.mFadeAnimation.stop();} var self=this;this.mFadeAnimation=new SimpleAnimation(function() {delete self.mFadeAnimation;});this.mFadeAnimation.pre=function() {self.opacity=startOpacity;self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.post=function() {self.opacity=0.0;self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.update=function(now) {self.opacity=startOpacity*(1.0-now);self.setDivOpacity(playButtonDiv,self.opacity);} this.mFadeAnimation.start();}
PlayButton.js
Dirección de la página
Dirección del archivo
Anterior
3/3 Siguiente
Descargar
( 2 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.