background preloader

Jquery

Facebook Twitter

Ajax

C# Validation. JavaScript Tutorial. Dragon Labs » Rainbows » The Demo. This page uses no images whatsoever below this point.

Dragon Labs » Rainbows » The Demo

Read the manual to see how to use it yourself or see the white paper to learn how it all works. Gradients Galore! Gradients Galore! Gradients Galore! Gradients Galore! Why so serious? OranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOranginaOrangina Octy the Wonderpus Octopus!! A little ostentatious, don't you think?

Blog / 10 useful jQuery authoring tips. Here's 10 tips that will makes you code more efficiently with jQuery. 1. Be lazy // Don't if ( $ ( '#item' ). get ( 0 )) { $ ( '#item' ). someFunction (); } // Or if ( $ ( '#item' ). length ) { $ ( '#item' ). someFunction (); } // Just do $ ( '#item' ). someFunction (); jQuery will call the function if there is a match, no need to double check. 2. // You can but.. $ ( document ). ready ( function (){ // ... }); // There is a shorter equivalent $ ( function (){ // ... }); It should be well known, but obviously it is not. 3. // Don't $ ( '#frame' ). fadeIn (); $ ( '#frame .title' ). show (); $ ( '#frame a:visited' ). hide ; // Do $ ( '#frame' ). fadeIn () . find ( '.title' ). show (). end () . find ( 'a:visited' ). hide (); Unnecessary DOM traversal is a expensive operation, avoid it when possible.

20+ ways to create javascript modal windows and dialog boxes. Liked that login modal window on Digg ?

20+ ways to create javascript modal windows and dialog boxes

Want to incorporate something like that in your next project ? Then this article will be helpful for you. Javascript modal dialog boxes/windows can be used in any type of project from your personal website to e-commerce website or to just spice up user interface of your web app. These can significantly improve user experience. Designers seem to like using modal windows more and more, as they provide a quick way to show data without reloading the entire page. The most common cases where these can be used are : (1) When you want to draw attention to important information. (2) When you want some action from user to continue (3) Showing warning signs (4) For extra options panel (like login/register panel) (1) Prototype Window This is a javascript class based on prototype framework.

. (2) Simple Modal Simple Modal is jQuery framework based plugin which can be used to create different types of modal dialog boxes. . (10) Wingo A way to make dragable modal boxes. Ultimate Collection of 40+ jQuery Tutorials and Resources. Download Javascript Gamelib, javascript games programming librar. Scott Porter made a popular library for creating Javascript Games, called the Javascript Gamelib.

Download Javascript Gamelib, javascript games programming librar

It provided relatively simple routines for animation, sprites, collision detection and control. It meant games programmers could concentrate on designing games for websites instead of spending time rewriting the basic building blocks. Unfortunately, Scott's site at www.javascript-games.org has been discontinued. I'm making the Javascript Gamelib available here under the terms of the GNU Library General Public Licence, under which Scott released his work. Javascript Gamelib version 2.10 (updated) Brent Silby has built upon the official 2.09 version of the Gamelib released by Scott.

Properties for sprites such as jumping, falling, fallspeed, etc. tile handling for backgrounds and platforms. He's updated the documentation as appropriate. Related links.