/*
Gradual-Highlight Image Script II-
By J. Mark Birenbaum (birenbau@ugrad.cs.ualberta.ca)
Permission granted to Dynamicdrive.com to feature script in archive
For full source to script, visit http://dynamicdrive.com
*/
nereidFadeObjects = new Object();
nereidFadeTimers = new Object();
/* object - image to be faded (actual object, not name);
* destop - destination transparency level (ie 80, for mostly solid)
* rate - time in milliseconds between trasparency changes (best under 100)
* delta - amount of change each time (ie 5, for 5% change in transparency)
*/
function nereidFade(object, destOp, rate, delta){
if (!document.all)
return
if (object != "[object]"){ //do this so I can take a string too
setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
return;
}
clearTimeout(nereidFadeTimers[object.sourceIndex]);
diff = destOp-object.filters.alpha.opacity;
direction = 1;
if (object.filters.alpha.opacity > destOp){
direction = -1;
}
delta=Math.min(direction*diff,delta);
object.filters.alpha.opacity+=direction*delta;
if (object.filters.alpha.opacity != destOp){
nereidFadeObjects[object.sourceIndex]=object;
nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
}
}
Tuesday, April 17, 2007
Today was my last day at work. It rocks! It's not that the people there are not nice or they treat me bad. It's just that the travelling time is too long. 1 1/2 hours to reach my work place? That's just mental yeah.
It was my last day at work, which left me an everlasting impression on the place. Permanent I guess, let me tell you my grandfather story. I was in the kitchen waiting for the next main course to come out. Suddenly, chef reminded me that my bread was still inside the oven. I pulled the lever and used a pair of tongs to reach my hand into the oven. The tray of bread slices was quite deep inside the oven, however my tongs was short. Without hesitation, I reached for the tray of bread.
I did not realise that lid of the oven was burning my arm, until chef told me, "Eh! your hand!!"
There was a seafood pizza inside, therefore the temperature for the oven must be 250 degress celcius. 250 degrees of heat was touching against my skin without me realising until the chef told me off! An obvious red line immediatedly formed the moment I left my arm of the lid. The whole arm started swelling up for a moment. The feeling was sort of undescribable. It was feeling a little itchy but burning at the same time. An ever lasting event to make me remember my first scar on my right arm.
I went over to my girl's house after that, she was sick. Had to be there for her. My arm was hurting all the way until I received "The Kiss of Heal". ahaha....
Now apparently that red line has truned black, and I should go to bed too..
Iman, OUT!