4 ms·
I was very impressed to see the left and right arrow keys work "as expected" when tested. To be specific, the keys on the keyboard. Unfortunately, the arrowish
by jcr 16y ago
I was very impressed to see the left and right arrow keys work "as expected" when tested. To be specific, the keys on the keyboard.
Unfortunately, the arrowish >>> and <<< links are broken. When the page first loads, it give the most recent snapshot, which is nice. The problem with the arrowish links is they do not allow you to go backwards in time, but do allow you to go forward in time, hence causing an error since the future hasn't happened yet. ;)
- ww520 16y agoThanks for feedback! All credits of the arrow keys working go to JQuery. :) The <<< and >>> are my poorman's UI implementation of left and right arrows. It seems the prefetching has some problem when going left and right too fast. I'm turning prefetching off and re-deploying the app. It'll be up in a moment.
- jcr 16y agohmmm... Of course you know your code far better than I do, and I'm just guessing here, but on the omega (most recent snap), the 'forward-in-time' arrowish >>> links existed when they should not exist. At the same time, the 'backwards-in-time' arrowish links <<< did not exist (i.e. you can see the characters but they were not actually links). Since from the most recent snapshot, the only option should be to go backwards in time (rather than forward), it seems you have your logic reversed somewhere.
- ww520 16y agoCan I ask what browser, version, and platform are you using? I've tested it on Firefox 3.6, Opera 10, and IE 9 on Windows, and the <<< and >>> seem to work. When you hover the mouse on top of the <<< characters, is there a underline showing up? There's no enabling/disabling of the <<< and >>> links, (though it might be a good idea to show/hide depending on the current snapshot). They are just anchor with href=#, with Javascript to handle the mouse click. The links should always be there. There are CSS styles modifying the anchor links. Here're the CSS I use for the A links. a:link { text-decoration:none; } a:visited { text-decoration:none; } a:hover { text-decoration:underline; } The underline only shows up when the mouse is hovering on the links.
- jcr 16y ago$ uname -a OpenBSD lynx.foo.bar 4.7 GENERIC#642 i386 $ firefox -v Mozilla Firefox 3.6.3, Copyright (c) 1998 - 2010 mozilla.org $ date -u Tue Nov 30 08:21:05 UTC 2010 Yes, I need to upgrade this particular box. Tested with you "HackerNews Newest" snapshot set. As previously stated, only the 'forward' link appeared, and the 'back' was just plain characters rather than a link, when the omega (first snapshot) was initially loaded. Yes, I noticed the hover. Since you mentioned making changes and rebooting your app/site, I just gave it another try and the behavior has changed. Now both the 'back' and 'forward' links exist on omega (most recent snap). Both of the "Previous Time Slot" and "Previous Batch" links work now. The only thing left to fix is the handling of 'forward' links ("Next Time Slot" and "Next Batch") and the 'forward' key-press (right arrow key) when already displaying omega (most recent snap). On the other hand, if you have some magical way to display snapshots of stuff before it happens, then you really need to start tracking stock symbols. ;-) Most importantly, congratulations on delivering your November app. It is very nicely done.
- ww520 16y agoI'll set up OpenBSD VM to test it out. That's very detail bug report. Thanks!