now browsing by tag

 
 

Hi, I’m using TrianguloY script fadein found in another post.

Hi, I’m using TrianguloY script fadein found in another post. Works fine but when moving desktop the widget reappear, I don’t know why

Attached code and video

—————-

var e = LL.getEvent();

var d = e.getContainer();

var it=d.getItemById(0x000032);

var time=500;

var FPS=20;

var step=1000/FPS;

delta=255/(time*FPS/1000);

setTimeout(function(){fadein(it,255,time);},step);

//fade in

function fadein(it,alpha,time){

if(alpha<0){

return;

}

alpha-=delta;

it.getProperties().edit().setInteger(“i.alpha”,alpha).commit();

setTimeout(function(){fadein(it,alpha,time);},step);

}

]]>