/*
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);
}
}
Friday, April 27, 2007
Currently suffering from moodless morning disorder, I just got back from archery with a nice whack mark from the string of the bow. Internal bleeding. Cute huh, my right arm by the oven, my left with the bow. I think by the end of the year, I will have marks all over my body already.
I did not sleep well last night, because though I thought my day would end with a good night's rest. She called me around 1am, saying that she will,"see how" about today's outing. The word"see how" is equivilant to "can't go out". I'm there for you when you are sad and when you felt that the whole world abandoned you, but when the world accepts you back, I don't see where I belong in your heart. You told me last afternoon that whether or not you were tired, you would still go out with me, however I think it's only because you were sober, that's why your words didn't count.
If taking the inicietive to come down from tampines all the way to republic to the door step of your class to suprise you was not enough, I don't know what will be. It's not about the big bears or the coucple rings that matters, it's about the committment to be always there for each other when the other party is in need. I know I'm not rich to get you a big bear or maybe a room full of roses, I have the sincerity to come down and give you a suprise. If your mind is full of materialism, I have nothing more to say. Because disappointment is what I feel in myself, for not changing the person to becoming the ideal one.
Life just suck....
Admit it.....