Re:JQAPI - Alternative jQuery Documentation
by fatbat on Thursday February 23, 2012 @03:34AM
(#3624239)
"Just to make it clear, I only coded the navigation and re-styled the documentation."
It is not clear if you are hosting the documentation or not.
I ask because I have encountered problems accessing the official jq doc sometimes. Would be nice if this was an updated "mirror".
And I definitely like the search better. ;)
Re:JQAPI - Alternative jQuery Documentation
by Xion on Thursday February 23, 2012 @03:40AM
(#3624257)
Very nice work here! The search is definitely better than in original version, the docs itself are more tidily formatted and easier to read, and the whole website is just much more lightweight than the jquery.com version.
I'm pretty certain I'll be using this when looking up jQuery docs now.
I have only one grudge so far: there seems to be no way of generating an URL to search query, as /#p=XXX only works if XXX is part of the API (e.g. jQuery.ajax) rather than arbitrary term (e.g. ajax). Were it corrected, it would be trivial to integrate JQAPI search into web browser, YubNub, shell, etc.
Re:JQAPI - Alternative jQuery Documentation
by canton on Thursday February 23, 2012 @12:19PM
(#3625749)
Love better docs! Amusing fail though: impossible to scroll home page on my android device. Must be some kind of JS hook on scrolling that's breaking drag support.
Re:JQAPI - Alternative jQuery Documentation
by jablan on Thursday February 23, 2012 @04:13AM
(#3624309)
Couple suggestions:
You should make the fact that this is downloadable and suitable for local/offline use more prominent.
I guess lots of people would benefit if you made the downloadable packages dynamic (e.g. "Zip me docs for jQuery vX.Y.Z and jQuery UI vY.Z.X"), similar to what railsapi does.
Re:JQAPI - Alternative jQuery Documentation
by mustardamus on Thursday February 23, 2012 @09:40AM
(#3625051)
I planned filter functionality for the different versions of the docs. But I will not provide dynamic packages because I want jQAPI to be only client-side for easy mirroring.
Re:JQAPI - Alternative jQuery Documentation
by rachelbythebay on Thursday February 23, 2012 @04:40AM
(#3624361)
Something is very wrong with the scrolling of this page on iOS. It's like this page is missing the usual inertia which you will find nearly everywhere else.
Re:JQAPI - Alternative jQuery Documentation
by tlianza on Thursday February 23, 2012 @04:01AM
(#3624292)
Before a trip I went on a month ago, I grabbed the downloadable html version. It was an absolute lifesaver, and made my plane rides 10x more productive.
Re:JQAPI - Alternative jQuery Documentation
by kamjam on Thursday February 23, 2012 @06:51AM
(#3624591)
That's a very good point, I haven't properly used jQuery since 1.4.2 and it would be good to catch up on the new features of the API during "dead time" like this.
Re:JQAPI - Alternative jQuery Documentation
by damiongrimfield on Thursday February 23, 2012 @12:48PM
(#3625882)
any chance you could avoid using the XHR to load content for the downloadable version?
i get this error in chrome:
XMLHttpRequest cannot load file://localhost/Users/damion/Downloads/jqapi-latest/navigation.html. Origin null is not allowed by Access-Control-Allow-Origin.
in the meantime i've been using chrome as my browser, and safari as my dedicated jqapi renderer.
Re:JQAPI - Alternative jQuery Documentation
by mustardamus on Thursday February 23, 2012 @09:25AM
(#3624999)
I'd love to make it iPad compatible with the new version I am (slowly) working on. But there is a good chance I never will own a iPad ;) Have to see if I can co-work with somebody on that.
Re:JQAPI - Alternative jQuery Documentation
by jonknee on Thursday February 23, 2012 @10:26AM
(#3625227)
Do you have a Mac? You can run the iOS simulator and figure out when it's popping up and roughly what it looks like. In this case the problem is you're setting focus on the search field.
In iOS the keyboard automatically pops up when there is an input field focused. That's also why you need to have a touch event to set focus because it gets annoying having half the screen disappear (so for example when visiting Google the keyboard does not pop up and the search box does not have focus).
It is not clear if you are hosting the documentation or not. I ask because I have encountered problems accessing the official jq doc sometimes. Would be nice if this was an updated "mirror". And I definitely like the search better. ;)
Thanks!
I have only one grudge so far: there seems to be no way of generating an URL to search query, as /#p=XXX only works if XXX is part of the API (e.g. jQuery.ajax) rather than arbitrary term (e.g. ajax). Were it corrected, it would be trivial to integrate JQAPI search into web browser, YubNub, shell, etc.
This one is good too: http://www.visualjquery.com/ except that it hasn't been updated in ages.
You should make the fact that this is downloadable and suitable for local/offline use more prominent.
I guess lots of people would benefit if you made the downloadable packages dynamic (e.g. "Zip me docs for jQuery vX.Y.Z and jQuery UI vY.Z.X"), similar to what railsapi does.
An additional service would be possible thought.
I prefer clean, static documentation (like: http://docs.python.org/)
What Firefox addons are you using?
Are you in Windows or Linux or Mac?
Firefox is slow as hell for me on Ubuntu (like a lot of things) but fast on Windows.
Also try turning off adblock and firebug.
Firefox 10.0.2 on Windows 7 X64. Only addon is adblock plus.
Clicking "python (beta)" at the top results in a stop script after about 10 seconds.
Please, don't mess with the scrolling.
Many thanks to those who put it together.
i get this error in chrome: XMLHttpRequest cannot load file://localhost/Users/damion/Downloads/jqapi-latest/navigation.html. Origin null is not allowed by Access-Control-Allow-Origin.
in the meantime i've been using chrome as my browser, and safari as my dedicated jqapi renderer.
In iOS the keyboard automatically pops up when there is an input field focused. That's also why you need to have a touch event to set focus because it gets annoying having half the screen disappear (so for example when visiting Google the keyboard does not pop up and the search box does not have focus).