A long-running tutorial blog on jQuery, with beginner-to-advanced posts, tips, and a bookmarklet for loading jQuery on any page.
Commenters call it one of the better all-around jQuery sites after the official one, and cite its jQuerify bookmarklet and tips.
This is nice:
15. Add a JS class to your HTML attribute
Firstly, as soon as jQuery has loaded you use it to add a “JS” class to your HTML tag.
1
$('HTML').addClass('JS');
Because that only happens when javascript is enabled, you can use it to add CSS styles which only work if the user has JavaScript switched on, like this…
1
/* In your css */
2
.JS #myDiv{display:none;}
So, what this means is that we can hide content when JavaScript is switched on and then use jQuery to show it when necessary (e.g. by collapsing some panels and expanding them when the user clicks on them), while those with JavaScript off (and search engine spiders) see all of the content, as it’s not hidden. I’ll be using this one a lot in the future.
http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content
Actually, I made this work:
1) Inject JQuery as described on this website: http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet
2) Then open your JS console and copy and paste this in:
$("textarea").keyup(function(){
try {
formatter.set(editor.get())
} catch (a) {
notify.showError(a)
}
});
And viola! It will change in real time from the left side to the right. Doing the opposite should be trivial.
Enjoy.
PS: This is a total hack obviously. Not production stuff.
Russia has blocked Cloudflare before too. You can see it in the issues for jsDelivr (which apparently handles a lot of traffic for TASS, since they use the CDN and browsers don't share caches for privacy reasons). https://github.com/jsdelivr/jsdelivr/issues/762 https://news.ycombinator.com/item?id=24894135 https://learningjquery.com/2012/01/why-to-use-google-hosted-jquery-cdn
I think http://www.learningjquery.com/ is one of the better (besides the official site) all-around jQuery site. You can filter posts by beginner/intermediate/advanced to meet your skill level.
14 Days of jQuery series is pretty good too.
http://jquery14.com/
Also, stay away from things like "30 Most Amazing jQuery Plugins to Make Your Site Mind-Blowing-ly Awesome".
There's a bookmarklet for that (jQuerify) which I use all the time: http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet
Good idea, but it's been done.
jQuerify bookmarklet: http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet