1 2 3 4
this.rotate = function (antiClockwise) { if (antiClockwise) ...
JavaScript Rotate co-ordinates
1 2 3
function matches(matchString,list) ...
JavaScript Search a string with wildcards
I want to have a string whi...
1 2 3 4
rightOffset = 20; topOffset = 20; ...
JavaScript Center text along a sloping...
I've written a countdown to...
1 2 3 4
// this is a function that creates with_libraryname functions var lazy_load_library = function (path) { return function () { ...
JavaScript Lazy Library Loading
There are certain libraries...
1 2 3 4
var getRandomNo = function(seed){ ...
JavaScript learn more explodeEffect
This jQuery snippet creates...
1 2 3 4
function changeColours(headerClassColour,contentClassColour,bannerDivColour) { document.getElementById("content").className = contentClassColour + "-content"; ...
JavaScript Colour changer
Intended to give a create a...
1 2 3 4
(function($) { $.fn.SelectedNav = function(options) { ...
JavaScript jQuery plugin: add class to...
I'm using this plugin in co...
1 2 3
;(function($) { $.fn.extend( ...
JavaScript filter selectbox with 3000+...
This is a little jQuery scr...
1 2 3 4
Date.prototype.addBizDays = function(n){ var day = this.getDay(); var d = new Date(); ...
JavaScript Business Days
The function add or substra...
1 2 3 4
function autogeneratepassword(params) { this.chartype_upper = params.chartype_upper this.chartype_lower = params.chartype_lower ...
JavaScript Cpanel like password generator
Good day guys,
Ive jst mad...
1 2 3 4
/** * timer.class.js - Version 1.0.0 * Last update: 01 Jan 2010 ...
JavaScript timer.class
please review this tiny jav...
1 2 3 4
<script type="text/javascript" src="prototype.js"></script> <ul id="theUL"> <li class="toto titi">1</li> ...
JavaScript Select Element with multipl...
Hi all,
With the help of...
1 2 3 4
function format_money(n) { var buf = [], ...
JavaScript Money formatting
Just needed to whip up a re...
1 2 3 4
if ($('invoice_discount')) { this.invoice_discount = this.form.down('#invoice_discount'); this.invoice_discount.observe('change', this._checkFormat.bindAsEventListener(this)); ...
JavaScript Need help with creating a loop
I have the following code t...
1 2 3 4
// Copyright (c) 2009 Benjamin P. DeLillo // Unless otherwise specified, vectors and matricies are assumed to be ...
JavaScript WebGLU, a library for worki...
I'm new to javascript and a...
1 2 3 4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> ...
JavaScript Playing with dom
This code works fine, I jus...
1 2 3 4
document.observe('dom:loaded', function(event) { var MemberReviews = Class.create({ ...
JavaScript Common unobtrusive javascri...
I have this javascript patt...
1 2 3 4
<html> <head> <script type="text/javascript"> ...
JavaScript My1stJavascript: Dice roller
A C++ programmer who is lea...
1 2 3 4
$('#page').inlineEdit(); $.fn.inlineEdit = function (opts) { var options = $.extend({ ...
JavaScript edit inplace plugin with wy...
This is based on jquery and...
1 2 3 4
;(function(){ YAML = { ...
JavaScript JS YAML parser
obviously not a full implem...
1 2 3 4
function checkInterval(event) { if ( true == new RegExp( /^\d$/ ).match( event.element().value ) ) { ...
JavaScript check pattern and add zeroes
procedure check user inform...
1 2 3 4
;(function($) { /** ...
JavaScript "Smart" polling w...
Library can be found at htt...
1 2 3 4
fireEvent: function(event){ var type = event.type; ...
JavaScript Error on closure
This code used to works fine.
A nice and fun one here. I ...