CNET Common Libraries (Revision 452)

Plugins built for Mootools 1.2

See also: Mootools | the docs | the licencse | svn | assets

Note: You can hold control and uncheck any file to exclude it regardless of dependencies.

Choose the Components you need

Include this library:

Mootools 1.2

Core

Core

The core of MooTools, contains all the base functions and the Native and Hash implementations. Required by all the other scripts.

Browser

The Browser Core. Contains Browser initialization, Window and Document, and the Browser Hash.

Native

Array

Contains Array Prototypes like copy, each, contains, and remove.

Function

Contains Function Prototypes like create, bind, pass, and delay.

Number

Contains Number Prototypes like limit, round, times, and ceil.

String

Contains String Prototypes like camelCase, capitalize, test, and toInt.

Hash

Contains Hash Prototypes. Provides a means for overcoming the JavaScript practical impossibility of extending native Objects.

Event

Contains the Event Class, to make the event object Crossbrowser.

Class

Class

Contains the Class Function for easily creating, extending, and implementing reusable Classes.

Class.Extras

Contains Utility Classes that can be implemented into your own Classes to ease the execution of many common tasks.

Element

Element

One of the most important items in MooTools. Contains the dollar function, the dollars function, and an handful of cross-browser, time-saver methods to let you easily work with HTML Elements.

Element.Event

Contains Element methods for dealing with events. This file also includes mouseenter and mouseleave custom Element Events.

Element.Style

Contains methods for interacting with the styles of Elements in a fashionable way.

Element.Dimensions

Contains methods to work with size, scroll, or positioning of Elements and the window object.

Utilities

Selectors

Adds advanced CSS-style querying capabilities for targeting HTML Elements. Includes pseudo selectors.

DomReady

Contains the custom event domready.

JSON

JSON encoder and decoder.

Cookie

Class for creating, reading, and deleting browser Cookies.

Swiff

Wrapper for embedding SWF movies. Supports External Interface Communication.

Fx

Fx

Contains the basic animation logic to be extended by all other Fx Classes.

Fx.CSS

Contains the CSS animation logic. Used by Fx.Tween, Fx.Morph, Fx.Elements.

Fx.Tween

Formerly Fx.Style, effect to transition any CSS property for an element.

Fx.Morph

Formerly Fx.Styles, effect to transition any number of CSS properties for an element using an object of rules, or CSS based selector rules.

Fx.Transitions

Contains a set of advanced transitions to be used with any of the Fx Classes.

Request

Request

Powerful all purpose Request Class. Uses XMLHTTPRequest.

Request.HTML

Extends the basic Request Class with additional methods for interacting with HTML responses.

Request.JSON

Extends the basic Request Class with additional methods for sending and receiving JSON data.

Include this library:

Mootools Official Plugins

Fx

Fx.Slide

Effect to slide an element in and out of view.

Fx.Scroll

Effect to smoothly scroll any element, including the window.

Fx.Elements

Effect to change any number of CSS properties of any number of Elements.

Drag

Drag

The base Drag Class. Can be used to drag and resize Elements using mouse events.

Drag.Move

A Drag extension that provides support for the constraining of draggables to containers and droppables.

Utilities

Hash.Cookie

Class for creating, reading, and deleting browser Cookies in JSON format.

Color

Class for creating and manipulating colors in JavaScript. Supports HSB -> RGB Conversions and vice versa.

Group

Class for monitoring collections of events.

Assets

Provides methods to dynamically load JavaScript, CSS, and Image files into the document.

Interface

Sortables

Class for creating a drag and drop sorting interface for lists of items.

Tips

Class for creating nice tooltips that follow the mouse cursor when hovering over an element.

SmoothScroll

Class for creating a smooth scrolling effect to all internal links on the page.

Slider

Class for creating horizontal and vertical slider controls.

Scroller

Class which scrolls the contents of any Element (including the window) when the mouse reaches the Element's boundaries.

Accordion

An Fx.Elements extension which allows you to easily create accordion type controls.

CNET Common Libraries

Core

dbug

Wrapper for the firebug console.log() function.

Browser

Browser.Extras

Extends the Window native class with numerous shortcuts.

FixPNG

Fixes transparent png files and dom elements with transparent png backgrounds for IE6

IframeShim

Creates a transparent iframe to mask out items not drawn by the browser (flash, select lists, etc) for IE6.

Popup

A Class wrapper for window.open that provides a more pleasant interface than the default window.open arguments.

Native

Date

Extends the Date native object to include methods useful in managing dates.

Date.Extras

Extends the Date native object to include extra methods (on top of those in Date.js).

Form

Creates constructors for Form, Input, and SelectList that allow you to create a form on the fly from a JSON object

Hash.Extras

Extends the Hash native object to include getFromPath which allows a path notation to child elements.

String.Extras

Extends the String native object to include methods useful in managing strings (query strings, urls, etc).

Element

Element.Forms

Extends the Element native object to include methods useful in managing inputs.

Element.Measure

Extends the Element native object to include methods useful in measuring dimensions.

Element.MouseOvers

Collection of mouseover behaviours (images, class toggles, etc.).

Element.Pin

Extends the Element native object to include the pin method useful for fixed positioning for elements.

Element.Position

Extends the Element native object to include methods useful positioning elements relative to others.

Element.Shortcuts

Extends the Element native object to include some shortcut methods.

Fx

Fx.Marquee

A simple marquee effect for fading in and out messages.

Fx.Move

Moves an element to another location (relative to another element) with a transition.

Fx.Reveal

Executes a transition from display:block to display:none and vice versa.

Fx.Sort

Reorders a group of items with a transition.

Request

JsonP

Creates a Json request using a script tag include and handles the callbacks for you.

UI

ErrorAlert

The function in this script just makes a little alert box with a close button.

IconMenu

A simple icon (img) based menu.

Modalizer

Provides functionality to overlay the window contents with a semi-transparent layer.

ObjectBrowser

Creates a tree view of any javascript object.

PopupDetails

Handles popup detail templated elements.

StyleWriter

Provides a simple method for injecting a css style element into the DOM if it's not already present.

StickyWin

An in-page popup maker.

StickyWinFx

Extends StickyWin to create popups that fade in and out.

StickyWinFx.Drag

Extends StickyWin to create popups that fade in and out and are draggable.

StickyWin.Modal

This script extends StickyWin and (optionally) StickyWinFx classes to add Modalizer functionality.

StickyWin.Ajax

Adds ajax functionality to all the StickyWin classes.

StickyWin.ui

Creates an html holder for in-page popups using a default style.

Waiter

Adds a semi-transparent overlay over a dom element with a spinnin ajax icon.

Layout

HtmlTable

Builds table elements with methods to add rows quickly.

MultipleOpenAccordion

Creates a Mootools Accordion that allows the user to open more than one element.

MooScroller

Recreates standard scrollbar behavior for elements with overflow using DOM elements styleable by css.

SimpleCarousel

Builds a carousel object that manages the basic functions of a generic carousel.

SimpleSlideShow

Makes a very, very simple slideshow gallery with a collection of dom elements and previous and next buttons.

TabSwapper

Handles the scripting for a common UI layout; the tabbed box.

Forms

Clipboard

Adds functionality to let javascript write to the OS clipboard.

Confirmer

Fades a message in and out for the user to tell them that some event (like an ajax save) has occurred.

DatePicker

Allows the user to enter a date in any popuplar format or choose from a calendar.

DatePicker.Extras

Allows the user to enter a date in any popuplar format or choose from a calendar.

FormValidator

A css-class based form validation system.

OverText

Displays text over empty inputs until the user focuses the input or adds information.

ProductPicker

Allows the user to pick a product from a data source.

SimpleEditor

A simple html editor for wrapping text with links and whatnot.

TagMaker

Prompts the user to fill in the gaps to create an html tag output.

iPhone

CiUI

CNET's iPhone UI. No dependencies (see docs and svn for demos, css, and images that accompany this script). Important: Don't include this script for anything except a mobile app.

CNET

CNET.assets

Allows you to set the location of CNET image files to your own server; download the files @ google code; see docs.

CNETAPI

Classes that make getting data out of the CNET API easier to manage.

3rdParty

Autocompleter

An auto completer class from http://digitarald.de.

Autocompleter.CNET

Extends Autocompleter to automatically inject the css styles.

Autocompleter.Local

Allows Autocompleter to use an object in memory for autocompletion (instead of retrieving via ajax).

Autocompleter.Remote

Allows Autocompleter to get data from a remote server (using Request - a.k.a. Ajax).

Autocompleter.JsonP

Allows Autocompleter to get data from a remote server using JsonP (script injection).

Autocompleter.Observer

Used by Autocompleter to monitor an input for changes.

Slimbox

A Lightbox clone for MooTools.

Choose download preferences

Include compatibility with previous versions This puts the MooTools/CNET libs in compatibility mode with previous version (1.0/1.1).

Debugging

Wrap w/ dbugScripts See documentation.

Debugging (advanced)

Base Path The base path for the libraries included in this script. See documentation.
Include Scripts If true, each script here will be listed in the second argument for dbugScripts. Uncheck this if your Base Path value points to a single concatenated file.

Choose compression type

JavaScript Packer The highest compression ratio. Uses the php5 version of Dean Edwards Packer. The output uses eval.
No Documentation Uncompressed, removes only documentation
No Compression Full Source, includes documentation. Recommended while testing & building.




Looking to download everything? You're only using this for testing right? Right? Ok then. Select all | none