Quick, write some comments
by Volker Weber
My mailbox is currently being flooded with three spam messages per minute. I desperately need some ham. :-)
And since we are at it, thank you Bill for putting a computer without security on everybody's desk. It has been a great help for building botnets.
Comments
... your wish is my command ;) just for the "ham" of it. -- And BTW, in a few weeks you can find me "just around the corner", geographically speaking.
regards, Nils
Well, it's a good thing I don't keep kosher, otherwise I couldn't participate.
That's a good opportunity to make you aware of a small problem with the poll on your site:
After voting, the results show up with a nice fade-in effect. Unfortunately, they do so every time I load vowe.net time, making it almost impossible to scroll until the effect is complete (G4@1,33GHz).
It's a minor issue, but it actually made me stop voting. It would be better to show the results immediately on subsequent views.
...your wish is my "comment", too :-)))))
poll-related: und ohne js geht da gar nichts ...
@Nils: that’s because the poll is built with Javascript. @Timo: you need a faster machine :o)
Ben, I'm with Timo - I'm still with G4@1,33GHz and scrolling indeed is impossible.
However, I finally have found a good cause to buy a new Mac. No, it's not Leopard, it's all about Hunting Kerrigan. 8-)
A propos "ham" ... just had some Nasi Goreng.
Aahh, Nasi Goreng; delicious! Add a bit of atjar tjampoer, some pisang goreng and a dollop of ketjap manis, and I'll join you.
(I do hope Volker doesn't mind this bit o' spam too much)
Rhabarber, Rhabarber, Rhabarber ...
Wie wärs mit Nudelsalat?
your ham sir. hehe.
is that noodle salad? or something more interesting? ;-)
he he
.::AleX::.
Re: fade-in effect
No problem here with a G4@876MHz (and 896MB RAM). The fading takes about half a second.
(for our English fellows: Rhabarber = rhubarb)
Good find, Philipp! *LOL*
For our english speaking friends: In theater or film industry if you want to simulate the sound of a large crowd you mumble "Rhabarber, Rhabarber, Rhabarber ..." all the time. I don't know the the equivalent in English.
LOL! Bizarrely, you do the same thing in the UK. Mumbling “rhubarb, rhubarb” is also used to indicate displeasure at what a public speaker is saying.
@Thomas: Try that again with a few heavy apps running in the background and roughly a dozen other web sites open.
I've just had a look at the source and found the cause: The JS function setTimeout is called with a timeout of 1. This is stupid because the resolution of this argument is milliseconds. This means that the animation runs with 1000 frames per second.
For smooth animation, you only need about 25 frames per second. So the argument to setTimeout should be 40 (1000ms/25frames). If you want to control the animation speed, do not tweak the argument to setTimeout.
Sorry, couldn't resist to fix that:
var renderSpeed = 5; // smaller is faster
var pollScrollSpeed = 1000 / 25; // render with 25 frames per second
function slideVotes(pollId,currentPercent) {
currentPercent = Math.min(100, currentPercent/1 + renderSpeed);
for(var prop in pollVotes[pollId]){
var targetPercent = pollVotes[pollId][prop];
var renderPercent = Math.min(targetPercent, currentPercent);
if (renderPercent <= targetPercent) {
var obj = document.getElementById('result_voteTxt' + prop);
obj.innerHTML = renderPercent + '%';
obj.style.width = Math.round(renderPercent/100*graphMaxWidth) + 'px';
}
}
if(currentPercent < 100) {
setTimeout('slideVotes("' + pollId + '","' + currentPercent + '")',pollScrollSpeed);
}
}
Post a comment
Recent comments
ursus schneider
on Apple TV: First impressions at 09:16
Armin Roth
on Doc Scrubber cleans your Word document at 08:56
Volker Weber
on Foldershare, R.I.P. at 08:28
Ralf M Petter
on Foldershare, R.I.P. at 08:10
Ralf M Petter
on Foldershare, R.I.P. at 08:09
Mariano Kamp
on Foldershare, R.I.P. at 07:58
Volker Weber
on Apple TV: First impressions at 06:48
Kevan Emmott
on Apple TV: First impressions at 04:44
Robert Dahlem
on Doc Scrubber cleans your Word document at 22:14
Andrew Pollack
on Jehovah at 20:11
John V. Keogh
on Apple TV: First impressions at 19:57
Jan Fuellemann
on Apple TV: First impressions at 19:22
Volker Weber
on Doc Scrubber cleans your Word document at 18:14
Michael Renner
on Doc Scrubber cleans your Word document at 17:01
Ben Poole
on Apple TV: First impressions at 15:05
Ben Poole
on Jehovah at 15:03
Chris Linfoot
on Doc Scrubber cleans your Word document at 14:50
Philipp Sury
on Apple TV: First impressions at 14:50
Tony S Lee
on Jehovah at 14:46
Felix Binsack
on Michael Sampson: "Hello, I'm an Angry PC" at 13:08
Ben Poole
on Jehovah at 11:01
Volker Weber
on Jehovah at 10:53
Stefan Opitz
on Google voice search for iPhone finally out at 09:58
Sebastian Keil
on Apple TV: First impressions at 09:58
Klaus Peter Schmidt
on Apple TV: First impressions at 09:43



