[JavaScript] 45 fresh useful JavaScript and jquery techniques and tools

Source: Internet
Author: User
Tags seamonkey
ArticleDirectory
    • Calendars and timelines
    • Javascript debugging and validation tools
    • Forms, buttons & navigation
    • Layout tools
    • Useful jquery plugins
    • Educational JavaScript resources and tutorials
    • Related posts


[Original address]: http://www.smashingmagazine.com/2010/03/12/45-fresh-useful-javascript-and-jquery-techniques-and-tools/



Yes, this is another round-upFresh and useful JavaScript techniques, tools and resources. But don't close the tab yet, as you might find this one very useful. in this selection we present calendars, forms, buttons, navigation, debugging, optimization and compatibility tables as well as handy resources and tools. we also cover varous jquery-plugins that will help you extend the functionality of your website and improve user experience with ready components or coding solutions.



The last section also covers a number of useful educational resources such as a compilation of useful JavaScript coding practices, a detailed comparison of JavaScript frameworks and general JavaScript programming conventions. we are looking forward to your feedback.



You may be interested in the following related posts:


    • 50 fresh JavaScript tools that will improve your workflow
    • 45 powerful CSS/JavaScript-Techniques
    • 70 useful Ajax and JavaScript Techniques


By the way, what was the last time you visited our sister site noupe? Subscribe to noupe's feed for more inspirational and design-related articles.


Calendars and timelines


Jdigiclock-digital clock (HTC hero converted red)
Jdigiclock is a jquery plugin named Red from HTC hero clock widget.






Jquery sliding clock V1.1
Jquery transtmant slider clock with CSS Sprites.






Date/time picker
Note that this control is not designed to work in IE6; although it will function correctly in most cases, the positioning of the calendar may be way off depending on how your page is styled.





Javascript debugging and validation tools


Venkman JavaScript debugger project page
Venkman is the code name for Mozilla's JavaScript debugger. venkman aims to provide a powerful JavaScript debugging environment for gecko-based browsers namely Firefox 3.x, the Netscape 7.x series of browsers, Netscape 9.x series, Mozilla SeaMonkey 1.x and Mozilla SeaMonkey 2. x. it does not include gecko-based browsers such as K-meleon 1.x, galeon 2.x and Netscape 8. x. the debugger is available as an add-on package in xpi format. venkman JavaScript debugger has been provided as part of the Mozilla install distribution since October 3rd 2001.






Companionjs
Companion. js (pronounced companion Dot JS or CJS) is a javascript Debugger for IE.






How to test your JavaScript code with qunit
Qunit is a powerful JavaScript unit testing framework that helps you to debug code. it's written by members of the jquery team, and is the official test suite for jquery. but qunit is general enough to test any regular JavaScript code, and it's even able to test server-side JavaScript via some JavaScript engine like rhino or V8.






JS bin-Collaborative JavaScript debugging
JS bin is an open source collaborative JavaScript debugging tool.





Forms, buttons & navigation


Making a Google wave history Slider
Here is shown how to create a Google wave-like history slider. Using it will enable visitors to go back and forth in time to view the changes that take place on a comment thread.






Fancy radio buttons with jquery
Creation of 2 Mandatory option sets that a user cocould choose, while hiding off the radio button inputs and using an anchor links to make it a bit more usable.






Creative button animations with sprites and jquery
Fading hover effect for which the transition is smoothed with JavaScript, using jquery library.






Password (un) masking
Javascript jquery that Toggles the masking and unmasking of the password field.






Jquery magicline navigation
These "sliding" style navigation bars have been around a while, and turns out it's really pretty darn easy. Here are put two examples together.






Fixed fade out menu: a CSS and jquery tutorial
The aim is to have a fixed navigation that follows the user when he scrolls, and only subtly showing itself by fading out and becoming almost transparent. when the user hovers over it, the menu then becomes opaque again. inside of the navigation we will have some links, a search input and a top and bottom button that let the user navigate to the top or the bottom of the page.






Jquery Plugin: Simplest Twitter-like Dynamic Character Count for textareas and input fields
The best way to explain what this plugin does is to mention Twitter. twitter posts are limited to 140 characters. while typing the Twitter post there is this always present information about how many characters the users have before reaching the limit. the information is not only provided merely by displaying a number, there are different colors applied to certain stages to allow y the user about the status.



Sliding labels v2
Form label keeping the label inline, But sliding it off to the left rather than going away on click.






Ketchup plugin
Ketchup is a slim jquery plugin that validates your forms. It aims to be very flexible and extendable for its appearance and functionality.





Layout tools


Jquery {CSS} designergrid plugin
{CSS} designergrid is a jquery plugin developed for website interface developers who use the grid system of layout. {CSS} designergrid is intended to assist these developers with CSS prototyping.






CSS-template-Layout
JavaScript (jquery) Implementation of the CSS template layout module






How to Create a fluid grid with jquery
Grid-based layout is probably the more preferred way to style up a webpage to give it more magazine-like look and feel. this tutorial is about how to use CSS and JavaScript to create a fluid grid-based layout (see demo here ). the algorithm/procedure used in this tutorial is very simple and straightforward. there are more advanced algorithms out there which can handle multiple scenarios. but the pur Pose is to understand the basic logic on how to create such layout. So here it goes...






Closure-templates
Closure templates are a client-and server-side templating system that helps you dynamically build reusable HTML and UI elements. they are easy to learn and customizable to fit your application's needs. closure templates support JavaScript and Java and use a data model and expression syntax that works for either language. you can also use the built-in message support to easily localize your applications.





Useful jquery plugins


Tiptip jquery plugin
Tiptip detects the edges of the browser window and will make sure the tooltip stays within the current window size. as a result the tooltip will adjust itself to be displayed abve, below, to the left or to the right of the element with tiptip applied to it, depending on what is necessary to stay within the browser window. tiptip is a very lightweight and intelligent custom tooltip jquery plugin. I T uses zero images and is completely customizable via CSS. It's also only 3.5kb minified!






Jquery roundabout
Roundabout is a jquery plugin that converts a structure of Static HTML elements into a highly customizable turntable-like interactive area. (And now, not just turntables, but has shapes !)






Jparse-jquery XML Parse plugin
Jparse is a jquery plugin that allows you to parse XML that was fetched with the jquery. Ajax method (making it fully customizable ).






Jquery quicksand plugin
Reorder and filter items with a nice shuffling animation.






Typequery, change website Typography with jquery
Typequery gives the flexibility to change the font-family for everything you define with class, ID, or tag, this example is referring to the selected item on a select object with ID = "tag" and the font-family value at select object with ID = "family ":$ ("# Tag" ).val()).css ("font-family", $ ("# Family"). Val ());






Flip! A jquery plugin v0.9.9
Flip is a jquery plugin that will flip easily your elements in four directions.






Data Encryption with javascript: jcryption
Jcryption is a jquery plugin for encrypting post/get data submitted by forms. It uses public-key algorithm of RSA for the encryption & has a PHP file for handling the decryption of data.






Minimalist jquery: 11 useful plugins under 4 K
Jquery makes our lives easier. so much so that it's tempting to use it all the time, inadvertently slowing our page load times (cue yslow and Hammerhead ). combining, compressing, and delivering scripts at the end of your page helps in the HTTP request department. on the file size front, below are jquery plugins that give solid bang for your performance buck.






Undo/Redo in jquery
An easy-to-use plugin for adding Undo/Redo capabilities to a jquery application. It is based loosely on the objective-C/cocoa way of doing things.






Edit.pdf
Editbench-jquery CMS | no fuss, no database, no worries






Jshub
Jshub is a single piece of JavaScript (a "tag") that can handle reading different sorts of page information and then send them to your different vendors 'products. one piece of code to send to Google Analytics, omniture sitecatalyst, Webtrends and mixpanel. instead of one piece of JavaScript per vendor, jshub has a single piece of code (the "Hub") and plugins that know how to translate into the required wire protocol for each vendor. vendors only maintain the plugin for their product.





Educational JavaScript resources and tutorials


Caffeinated simpleton
Javascript is an amazing little language, but it's got some quirks that turn a lot of people off. One of those quirks isThis, And how it's not necessarily what you need CT it to be.ThisIsn't that complicated, but there are very few explanations of how it works on the Internet. This article is an attempt to explain howThisWorks and how to use it properly.






What you need to know about JavaScript Scope
This article discusses how JavaScript handles scope and how varous JavaScript libraries provide methods for dealing with it and how they smooth out a few bumps. we'll also look at how you can get back to basics and do some interesting scope wrangling without a library, a useful approach if you're writing code that needs to stand alone.






Learning advanced Javascript
A very nice tutorial to learn JavaScript, containing code and discussion from the upcoming book secrets of the Javascript ninja by John resig.






Highlight search terms automagically with JavaScript and Mark
Script surrounding the search term (s) withMarkElement rather thanSpan, Although the classSearchwordIs retained in case you want to style theseMarkS differently from others. In the CSS, the ruleArticle markIs just added to turn it a gentle shade of pink.



10 really helpful traversing functions in jquery
With jquery, selecting HTML elements is laughably easy. but at times, we may wish to further refine the selection, which can be a hassystemic when the HTML structure is complicated. in this tutorial, we'll just E ten ways that we can refine and extend a set of wrapped elements that we wish to operate.






Using keyboard shortcuts in Javascript
If you want to enhance your web app, JavaScript keyboards shortcuts is definitely something to consider. In this article, you'll learn to use JS keyboard shortcuts, with and without the jquery framework.






Code conventions for the JavaScript programming language
This is a set of coding conventions and rules for use in JavaScript programming.






Jquery-select element cheat sheet
This cheat sheet helps you to find the index of a selected option, set the selected option by value, set the selected option by text, insert a new option before or after another and get the text or value of the selected option.






Compare JavaScript frameworks
Modern web sites and Web applications tend to rely quite heavily on client-side JavaScript to provide rich interactivity, particle ly through the advent of asynchronous HTTP requests that do not require page refreshes to return data or responses from a server-side script or database system. in this article, you will discover how JavaScript frameworks make it easier and faster to create highly interactive and responsive web sites and Web applications.






Park your horse, code Cowboy: Professional JavaScript workflows, part 1
In this series, we'll talk about tools & techniques you can use to cover those no's, and cut a lot of strife & embarrassment from your JavaScript experience.






Javascript reference examples (example source code)
Javascript reference examples, organized by objects, properties, methods & collections. Some Event Handlers reference are also available.






Javascript Best Practices
A compilation of best practices and good advice I 've amassed over the years, much of it learned the hard way (experimentation and suchlike ). take the advice below to heart and keep it in a part of your brain that has a quick access route so you can apply it without thinking about it. I am sure you will find things to disagree with, and that is a good thing-You shoshould question what you read, and strive to find better solutions. however, I have found that following these principles has made me a more effective developer and allowed other developers to build upon my work more easily.






Wtfjs
Javascript is a language we love despite it giving us so much to hate. This is a collection of those very special irregularities, inconstancies and just plain painfully unintuitive moments for the language of the web.





Related posts


You may be interested in the following related posts:


    • 50 fresh JavaScript tools that will improve your workflow
    • 45 powerful CSS/JavaScript-Techniques
    • 70 useful Ajax and JavaScript Techniques
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.