tag:blogger.com,1999:blog-3803541356848955053.post8643320893305182797..comments2016-05-06T18:44:33.019-07:00Comments on YJL: jQuery plugin jk navigationYu-Jie Linhttps://plus.google.com/115422682039760465813[email protected]Blogger21125tag:blogger.com,1999:blog-3803541356848955053.post-70018192652300019742012-12-11T23:27:37.760-08:002012-12-11T23:27:37.760-08:00Thank you for your answer! Since I&#39;m not regis...Thank you for your answer! Since I&#39;m not registered on any service, I don&#39;t have the “edit” button...<br /><br />Actually, I&#39;m a Mac user, and I don&#39;t have any computer running Windows with me. I just ask a friend when I see him online :-) I&#39;ll ask him more details when I can!Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-25132536625225155122012-12-11T23:27:36.745-08:002012-12-11T23:27:36.745-08:00Tip: There is an Edit button next to reply button....Tip: There is an Edit button next to reply button. (I don&#39;t know if unregistered Disqus user have that or not, but I have that button)livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-10004032747642584622012-12-11T23:27:35.747-08:002012-12-11T23:27:35.747-08:00I think you can count it as a caveat. If you press...I think you can count it as a caveat. If you press `d`, then `u`, it will work as you expect; or you scroll pass Header 2:1, then press `u`. It&#39;s a caveat because, as in common use, `d` would be first key to press by users. But, it&#39;s not right to assume that, so it&#39;s a caveat. It can be fixed.<br /><br />When I said something, I meant something, if I don&#39;t have time for that, I will honestly say, I am not going to do it. I won&#39;t bullshit that &quot;I will find time&quot; and think who cares about that thing. If I don&#39;t care, I will say so.<br /><br />And as I said &quot;test,&quot; it would be just test on IE. If it&#39;s easy fix, then I will fix it.<br /><br />I guess you don&#39;t know I am not a Windows user, therefore I need to find time to open *Windows* so I can test jknav. It&#39;s been about two weeks since last time I used Windows.<br /><br />If you already have error messages from IE, maybe you should just pass them to me. Who knows, they might be easy fix... or just wait for me to turn on my Windows box.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-69900524408045728362012-12-11T23:27:34.802-08:002012-12-11T23:27:34.802-08:00typo: « In fact, IF “circular” is false... »typo: « In fact, IF “circular” is false... »Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-23460805295270093372012-12-11T23:27:33.742-08:002012-12-11T23:27:33.742-08:00Thank you very very much for adding this!!! Actual...Thank you very very much for adding this!!! Actually, on your demo page, right after the loading of the page, if I push “u” it goes to Header 2:4... In fact, is “circular” is false, it shouldn&#39;t behave like this, right?<br /><br />Anyway, you may have better things to do than modify again your script for me, so if you say that you don&#39;t have time for this, I&#39;ll understand perfectly, there&#39;s no problem!Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-82012640430570266212012-12-11T23:27:32.806-08:002012-12-11T23:27:32.806-08:00I just added a new option `circular`, you can add ...I just added a new option `circular`, you can add `circular: false` for your need. Check out the demo page, I added a new navigation, using `u` and `d` to see how it works.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-31743691665685793852012-12-11T23:27:31.776-08:002012-12-11T23:27:31.776-08:001. I have no idea if it can work with IE, never te...1. I have no idea if it can work with IE, never tested it on IE. But I guess it doesn&#39;t work since you asked. I might find time to test.<br />2. I understand your description, I will add a new option for that.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-16552862807248897582012-12-11T23:27:30.751-08:002012-12-11T23:27:30.751-08:00Hello, your plugin is absolutely wonderful and I&#...Hello, your plugin is absolutely wonderful and I&#39;m trying to add it to my photo blog but I have two questions: 1: it does not work on IE, right? 2: I would like to avoid the “loop”, I mean, when you&#39;re on the last element, the next will be the first, and when you&#39;re on the first element, the next one will be the last (I hope it&#39;s clear enough). So, could you please give me a clue about what I should change in your script to avoid this behavior? Thank you very much! Anyway, I love your script!Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-55976918733429383272012-12-11T23:27:28.736-08:002012-12-11T23:27:28.736-08:00I just wrote a new post about using jknav on dynam...I just wrote a new post about <a href="/2010/09/using-jquery-jknav-plugin-on.html" rel="nofollow">using jknav on dynamically loaded contents</a>. If anything is unclear, free feel to ask.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-64471810989841328462012-12-11T23:27:27.729-08:002012-12-11T23:27:27.729-08:00Thank you for the speedy reply! I shall be sure t...Thank you for the speedy reply!<br /><br />I shall be sure to follow the blog so as to be first in line if ever you do post a modified version of the script, with dynamic loading if possible, thank you.Jasonhttp://twitter.com/andbamnan[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-13144547110351162552012-12-11T23:27:26.767-08:002012-12-11T23:27:26.767-08:00It will require modifications to include new items...It will require modifications to include new items from dynamic loading. Currently, by the design, jknav stores items when initialization. I wasn&#39;t considering items will get updated or some may get added/removed.<br /><br />I could modify but not right now, because I just knew jknav doesn&#39;t work for FF4 somehow, this one has to be fixed first. And in Opera, it doesn&#39;t work well for this blog or your tumblr, but the demo page works fine. Strange.livibetterhttp://yjl.im/[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-22917905380101728872012-12-11T23:27:25.786-08:002012-12-11T23:27:25.786-08:00I love this script, beautiful. I&#39;m trying to c...I love this script, beautiful. I&#39;m trying to combine it with an infinite page scroll for a blog, but I&#39;m having a little trouble. It gets to the end of the first page but instead of continuing to the next post as page 2 loads, it flicks to the first post of the first page. A little confusing maybe - you can see what I mean on my blog, here: http://andbamnan.tumblr.com/<br /><br />Do you know of any way to combine the two scripts, at all? No worries if you can&#39;t help. Thank you.Jasonhttp://twitter.com/andbamnan[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-54184830542380722562010-11-25T02:15:46.546-08:002010-11-25T02:15:46.546-08:00Such a quick answer! Thanks so much. It looks like...Such a quick answer! Thanks so much. It looks like it was pretty simple for you, but to me it would have taken a long time to figure out. Thanks so much for the explanation. The difference page/feature on google code makes it really easy to understand what you have done. :)<br />Many thanks!James Grean[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-49171885876376729592010-11-25T00:11:14.016-08:002010-11-25T00:11:14.016-08:00This is a nice question and clearly I have never t...This is a nice question and clearly I have never thought about arrow keys or other special key when I was writing this plugin. Unfortunately, jknav is not able to recognize those keys. But since I have modified jknav to allow <a href="http://code.google.com/p/lilbtn/wiki/JsJqueryJknav#$.jknav.up()_and_$.jknav.down()" rel="nofollow">programmatic control</a> and the <a href="https://github.com/jeresig/jquery.hotkeys" rel="nofollow">hotkeys plugin</a> you mentioned, now it&#39;s possible to use those keys.<br /><br />See the <a href="http://code.google.com/p/lilbtn/source/browse/src/static/js/jquery/jquery.jknav.demo.html" rel="nofollow">demo page</a> and press up and down. It would be more clear if you read this <a href="http://code.google.com/p/lilbtn/source/diff?spec=svn6e6fae9a634268b83abf7863cac21597f8e9a763&amp;r=6e6fae9a634268b83abf7863cac21597f8e9a763&amp;format=side&amp;path=/src/static/js/jquery/jquery.jknav.demo.html" rel="nofollow">diff</a>.livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-43333813961065840432010-11-24T23:00:38.019-08:002010-11-24T23:00:38.019-08:00Hi! Great plugin, easy to use. Question, how would...Hi! Great plugin, easy to use. Question, how would I assign other, non alpha-numeric keys? EG, I would like to remap the up arrow and down arrow rather than j and k. Many people scroll with the keyboard anyway, I would like them to press &quot;down&quot; to scroll down, and be rewarded with the screen scrolling to the next paragraph.<br />But what do I type to get the plugin to work with arrow-up / arrow down?<br />Does the script respond to keycodes similar to jquery.hotkeys? (https://github.com/jeresig/jquery.hotkeys)<br />Thanks!James Grean[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-20720254033420085472010-09-21T16:52:02.193-07:002010-09-21T16:52:02.193-07:00Wow, that&#39;s so nice! Thank you very much!!! Yo...Wow, that&#39;s so nice! Thank you very much!!! Your script is perfect, I&#39;m so glad I can use it on my photo blog :-)<br />It would be absolutely perfect if the &quot;circular&quot; parameter could work also, ha ha :-p<br /><br />Anyway, thanks a lot for taking time to improve your script!Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-30097166092081031912010-09-20T19:14:39.066-07:002010-09-20T19:14:39.066-07:00Fixed and add support for Opera.Fixed and add support for Opera.livibetterhttp://lmgtfy.com/?q=livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-86968339790842415832010-09-20T10:40:49.175-07:002010-09-20T10:40:49.175-07:00Arrgh... that&#39;s why I hate IE. If it had suppo...Arrgh... that&#39;s why I hate IE. If it had supported Linux, then I would hate it less because I don&#39;t have to use Windows to fix the bug.<br /><br />I created an issue for this bug: http://code.google.com/p/lilbtn/issues/detail?id=2<br /><br />But I am not planning to fix it anytime soon because I have no a guessing resolution even I have guessed the cause.livibetterhttp://lmgtfy.com/?q=livibetter[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-66819973967872045792010-09-20T03:14:34.285-07:002010-09-20T03:14:34.285-07:00Wow!!! So fast! And it even works on IE6!!! That&#...Wow!!! So fast! And it even works on IE6!!! That&#39;s amazing! Thank you very much!Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-57016500714309811282010-09-20T03:14:26.547-07:002010-09-20T03:14:26.547-07:00Ouch, I think I found a bug: in IE (every version)...Ouch, I think I found a bug: in IE (every version), if you click anywhere on the page, the JK navigation doesn&#39;t work anymore. Still no error message in IE, sorry...Antoine[email protected]tag:blogger.com,1999:blog-3803541356848955053.post-13879286536807705082010-09-19T19:24:12.568-07:002010-09-19T19:24:12.568-07:00As expected, it didn&#39;t work on IE. But I have ...As expected, it didn&#39;t work on IE. But I have fixed it.livibetterhttp://lmgtfy.com/?q=livibetter[email protected]