Preventing Selection |
Dave Kwon-Tom Obsessive Puzzles: 607 Best Total: 1h 0m 33s | Posted - 2006.01.31 08:10:25 Hi Foilman!
I was wondering if you'd consider the following changes to the kwontom loop puzzle page?
In trying to complete puzzles quickly I find myself selecting text and images on the game board when I'm trying to place x's or lines (I somehow manage to click-move-release with the mouse instead of click-release-move and I do this irritatingly often).
It's possible to disable selection of stuff in webpages as per these instructions: http://www.ditchnet.org/wp/2005/06/15/ajax-freakshow-drag-n-drop-events-2/
IE needs a tidbit of javascript and Firefox/Safari/Konqueror need some CSS gubbins. Not sure about Opera, but then I don't use it Of course, in a perfect world, the CSS3 'user-select' property would fix this for all browsers... |
foilman Kwon-Tom Admin Puzzles: 3614 Best Total: 24m 6s | Posted - 2006.01.31 08:43:00 Good idea Dave! I do get that scenario a bit myself, and it does distract from getting a good time... I'll have a look into it. |
foilman Kwon-Tom Admin Puzzles: 3614 Best Total: 24m 6s | Posted - 2006.01.31 18:48:33 Ok, in theory this should be working now. When you're clicking in the puzzle you should no longer get the shaded selection area if you drag accidentally. I've tested it on Firefox & IE on Windows. |
drnull Kwon-Tom Obsessive Puzzles: 1053 Best Total: 23m 25s | Posted - 2006.01.31 20:14:21
Quote: Originally Posted by foilman Ok, in theory this should be working now. When you're clicking in the puzzle you should no longer get the shaded selection area if you drag accidentally. I've tested it on Firefox & IE on Windows. |
Looks great here on Firefox/Linux. Thanks for that addition. |
Dave Kwon-Tom Obsessive Puzzles: 607 Best Total: 1h 0m 33s | Posted - 2006.02.01 18:03:35 That was quick! Thanks! |
OldBean Kwon-Tom Fan Puzzles: 52 Best Total: 2h 15m 2s | Posted - 2006.03.08 03:38:19 Sorry to be the bearer of bad news, but it's not fixed in Safari on OS X. |