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, March 30, 2007
what the hell.
imagine yoursleves, the sir name being to pang, lo , shum...
how? do you like that name?
omg LAR.
OH WELL. JUST PASSING BY.
BYE
Thursday, March 29, 2007
Hello! It me again! Just a reminder. Tomorrow got Science test.
IH test[pollution & global warming] (4/4)
Literature Supplementary (3/4 or 4/4)
HE Test (Term 2 Week 4) [Book 1: Unit 4,5,6,7 Book 2: Unit 4,7,8]
Wish everyone good luck for their test! BYE! =))
Monday, March 26, 2007
Hello! Decided to blog to keep this blog ALIVE. Well people pls tag/blog to keep this blog alive!
Well, tomorrow got maths test! Remember to study! They will be testing on Chapter 7. But don't need to study Exercise 7g. =))
Wednesday got English test & Friday got Science. Well, just in case you don't know. For english, they'll b testing on Comprehension & summary. As or Science, they'll be testing on Chapter 14,15 & 16(I think). Yups.
Anyways, shall say BYE! =))
Marion
Friday, March 9, 2007
Hello everyone.. As i can see no one has been updating this blog! hahas.. Hope more people can update more often.. Well, today is the last day of the term.. All of us took back our progress report and i know that some of us didn't do that well..(which includes me!) Well, we should think positively. Yup.. Even though some of us did badly.. We still have mid-year, term 3 progress report and end-of-year. Hope that all of us will do well next time. =D
As for holiday homework, we have:
Maths : ex 7e (qn 6-26) Maths 2
Science : Focus science unit 11 & 12
English : Read the commonly misspelled words
If there are any more homework, pls post it here. =) Well, I shall end here but also remember to sign all your IH test paper, progress report!
Hope that everyone will have a great march holidays! All the best for your studies!
Marion :D
Friday, March 2, 2007
hello! Hope everyone enjoyed their learning journey! =D hahas.. Well, you can write about your learning journey here! hahas.. =)
Anyone finish their maths homework? I haven't finish yet.. Hope to finish it soon.
Well got nothing to write le.. So shall end here today! bye! =)
Labels: learning journey