background preloader

JavaScript.com (TM) - The Definitive JavaScript Resource: JavaScript Tutorials, Free Java Scripts, Source Code and Other Scripting Resources

JavaScript - MDC Doc Center JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. JavaScript's dynamic capabilities include runtime object construction, variable parameter lists, function variables, dynamic script creation (via eval), object introspection (via for...in and Object utilities), and source-code recovery (JavaScript functions store their source text and can be retrieved through toString()). This section is dedicated to the JavaScript language itself, and not the parts that are specific to Web pages or other host environments. Looking to become a front-end web developer? Get started

Stepwise Implementing Global Best Practices in Local Businesses Increasingly, the challenges faced by governments, utilities and businesses are not just technical. Rather they involve redesigning organizations, optimizing processes and procedures, harnessing technology and “big data,” addressing financial and risk constraints, and making decisions under uncertainty and increasing scrutiny – all with the goal of creating a sustainable business. At MWH, our group of more than 200 global management consultants partner with clients on their toughest challenges – offering a holistic approach to tackling business challenges. Coming from a diverse professional and educational background, our consultants bring perspectives as scientists, economists, organizational experts, technologists, former chief financial officers, former chief risk officers and former military officers. This diversity of thinking enables our teams to develop innovative solutions in collaboration with our clients.

Animated Collapsible DIV v2.4 July 3rd 09': Updated to v2.4, which supports a new set of "rel" and data-image" attributes you can insert into arbitrary links to quickly create link or image link togglers. Description: This script collapses any DIV on the page and lets users manually toggle its appearance via a smooth "Web 2.0 style" animation. It's a popular effect on many social networking/ comment sites. Three distinguishing features of this script are: Ability for the script to work on both DIVs that have an explicit CSS height attribute defined, and without. Have fun sliding content up and down! Demos: Directions: Step 1: Insert the following code in the HEAD section of your page Notice the code at the very top- a doctype declaration. Step 2: Insert the below sample code into the BODY section of your page: And there you have it. Setup Information In the HEAD section of your page, call animatedcollapse.addDiv() to add this DIV to be animated before finally calling animatedcollapse.init() Feature attributes String

JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and Ajax stop Highslide JS - JavaScript thumbnail viewer Photo Album script v2.0 Mar 11th, 07': Updated to v2.0, which adds support for multiple albums on the same page, ability to run custom code when an image is clicked on. Description: Photo Album script is ideal for displaying multiple images at once, with links to cycle through additional batches of images. But that's just the beginning. Customize the album's dimensions as desired, such as 3 by 2 images, 4 by 5 images etc. Now go show off your photo album! Demo Directions Step 1: Add the following CSS to the <head> section of your page: Since the script references an external .js file, you need to download the below: photogallery.js (right click, and select "Save As") Step 2: Add the below code to the <BODY> section of your page where you wish the photo album to appear: All configurations to the script is done inside the code of Step 2. //Define your own array to hold the photo album images //Syntax: ["path_to_thumbnail", "opt_image_title", "opt_destinationurl", "opt_linktarget"] Here's an example:

JavaScript Best Codes Raphaël—JavaScript Library

Related: