Preserved Topic: Yay, it works! it works! Mah very own scrollbar. |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-20-2002 02:47
Heh. Can you tell I'm just a tad excited? |
Maniac (V) Inmate From: under the bed |
posted 10-20-2002 03:53 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-20-2002 04:16
Nice and smooth. I like the rollovers. |
Maniac (V) Mad Scientist From: New California |
posted 10-20-2002 07:32
Great job, Drac! I haven't had time to look at the code but the operation is just fine. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 10-20-2002 09:05
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 10-20-2002 15:46
Excellent, very nice work! Some minor details that I remember haunted me for months were these: When you click on the "dragger", you don't really want it to jump to where you clicked (with your mouse in the center of the dragger), instead you want to check the offset of where we clicked, and adjust based on that. So, click at the top of the dragger, and that's where it stays, glued to your mouse. I was always kinda torn over "what should happen" when you click on the bar, should it jump to that spot, or page down, or scroll down very fast till it gets to that point? I've opted for the last choice, although the traditional windows metaphor calls for a page down. (Same code when you think about it, the "very fast" jump setting is just set to the height of the display window, minus a couple lines.) One last thing that I spent a bunch of time with is deciding when the scrolling stops, I used to do it as you do, if your mouse drifts too far right or left it stops, but now once it's started I don't stop until I get a mouseup event. (You'll need to handle the case that happens when people click, and then keep dragging off the screen, though! Once they come back the scrolling can still be on, even though the mouse is now up. Pain in the ass that one was.) |
Nervous Wreck (II) Inmate From: uk |
posted 10-20-2002 15:53
congrats on the scroller... very fine work and as already mentioned, so neat as well.. |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 10-20-2002 20:46
Impressive work Drac! Tried it in Moz1 and it works great |
Bipolar (III) Inmate From: Cold Sweden |
posted 10-20-2002 21:10
Looks and works really nice. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-20-2002 23:14
Ok, I've made some updates; many based on the suggestions given here. |
Paranoid (IV) Inmate From: Lebanon |
posted 10-21-2002 09:09
Dracusis, Good work! I like it! |
Maniac (V) Inmate From: Brisbane, Australia |
posted 10-22-2002 06:13
I love trains! |