JQuery is a form of JavaScript. It serves as a library that gives a designer flexibility and simplification when designing. JQuery works with a multitude of browsers and helps the designing of html, animation and other intentions for the design much faster and efficient. The purpose of JQuery if for rapid web development, that is provided through its JavaScript library.
To start off the basic jquery syntax of an html page looks like this…

The jquery.js file in the src element in <script> must point to a copy of jQuery which is in the same directory as the HTML file.
“Onload” function is a code that JavaScript programmers wrap their code in to confirm that it runs after the browser finishes loading a document.
An example of this syntax looks like this…

This code can only successfully run and work once the images in the documents are done downloading. A statement called “ready event” is used to run this code when the document is ready to be worked on.

You can also add a click handler to the ready event link.

“it’s important to reference external style sheets or embed style elements before referencing the scripts.” (api.jquery.com)
(COMPLETE EXAMPLE)

Some features JavaScript offers are a callback function. A callback function is an function beneath a parent function that needs to be implemented at a later time after its parent function has performed (This function is also known as an “Argument”). In the meantime the browser is still able to perform other functions.
I recent years JavaScript’s popularity has increased because of its appealing and easily manageable libraries. Even though with all JavaScripts praises it does have its issues.
To begin with CoffeeScript is another programing language with JavaScript. It helps with the writing of JavaScript making it easier, consistent and helps avoid any irregular nature in the JavaScript mark-up.
An example of code writing using the CoffeeScript process is in three steps.
- Write your code in a .coffee file
- Compile it into a .js file
- Include the .js file in your web page/s like you would any other JavaScript file

Two basic rules to remember when writing JavaScript and CoffeeScript together are firstly Whitespace matters. Unlike other syntax, there are no curly braces or statements in CoffeeScript indentations are used. Additionally there are no parentheses.
One aspect of CoffeeScript is the use of the var statement which is used to avoid creating global variable on accident. In JavaScript var is used but not in CoffeeScript.
JQuery has a widespread plugin ecosystem. They help from table sorting, validation, auto completion, etc. But how do you know if a plugin is good to use?
Look at this example of code…

The code looks seemingly perfect but you don’t have time to look through it all once it’s been run. For example the inline return should be written as…

So even though code works once an event has run, probably you haven’t had time to read through all the code carefully…so double check.
(For more feedback on this code go to signs of poorly written jquery plugins.)

Meerkat is an example of a Jquery plugin. Depending on the decisions that were set in a design the information will slide or fade in from top or bottom of the browser. In the window itself the information will remain fixed while the rest of the page will scroll customarily. There are additional alternatives as well providing a close or don’t show option, which will close the Meerkat option until the browser session has ended, or depending on how much time you have set it for.

Brosho ‘Design in the Browser’ is another Plugin where you can use a build-in element selector and CSS editor to style your markup right in your browser. This plugin creates great opportunities because you wont have to keep switching between your editor, browser and you also can see changes immediately as you progress through your design.
Try this Brosho Demo.

Another helpful plugin is tinyTips 1.0. This plugin allows a designer to add tooltips to any component on a page.
TipTip is a unique plugin that is only 3.5kb minified and a custom tooltip jQuery that uses no images. It is completely customizable in CSS and can identify its surroundings like staying in the window size.
(Example)

Tiptip demo.
JQuery-Notes 1.0.2 is a plugin that lets you add text to images on your website. Almost like a hover state to distinguish what that image is.

All these plugins I feel enhance the user experience by making it easier to navigate through and also make it more informational. Little tweaks and quirks like hovering over an image and letting the viewer know what it is along with keeping the site within its screen range helps a lot.
ESPN is a site that uses Jquery Frameworks. Its design and set-up is clear and easily navigational and s very fluid. There is a ton of content that is compressed thoughtfully but it is not very organized. Its tabs have a ton of other links and surprisingly the color pallet is very minimal. The site overall isn’t very exciting and the only focal point seems to be a video.
