code
stringlengths
1
2.08M
language
stringclasses
1 value
/* Simple parser for CSS */ var CSSParser = Editor.Parser = (function() { var tokenizeCSS = (function() { function normal(source, setState) { var ch = source.next(); if (ch == "@") { source.nextWhileMatches(/\w/); return "css-at"; } else if (ch == "/" && source.equals("*")...
JavaScript
/* Copyright (c) 2008-2009 Yahoo! Inc. All rights reserved. The copyrights embodied in the content of this file are licensed by Yahoo! Inc. under the BSD (revised) open source license @author Dan Vlad Dascalescu <dandv@yahoo-inc.com> Based on parsehtmlmixed.js by Marijn Haverbeke. */ var PHPHTMLMixedParser = Editor....
JavaScript
// A framework for simple tokenizers. Takes care of newlines and // white-space, and of getting the text from the source stream into // the token object. A state is a function of two arguments -- a // string stream and a setState function. The second can be used to // change the tokenizer's state, and can be ignored fo...
JavaScript
var HTMLMixedParser = Editor.Parser = (function() { // tags that trigger seperate parsers var triggers = { "script": "JSParser", "style": "CSSParser" }; function checkDependencies() { var parsers = ['XMLParser']; for (var p in triggers) parsers.push(triggers[p]); for (var i in parsers) { ...
JavaScript
/* Demonstration of embedding CodeMirror in a bigger application. The * interface defined here is a mess of prompts and confirms, and * should probably not be used in a real project. */ function MirrorFrame(place, options) { this.home = document.createElement("div"); if (place.appendChild) place.appendChild...
JavaScript
/* The Editor object manages the content of the editable frame. It * catches events, colours nodes, and indents lines. This file also * holds some functions for transforming arbitrary DOM structures into * plain sequences of <span> and <br> elements */ var internetExplorer = document.selection && window.ActiveXObj...
JavaScript
/** * Tinymce template_list.js sample file * @version tinymce 3.3.9 * @package Joomla * @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License...
JavaScript
/** * @package Joomla.JavaScript * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // Only define the Joomla namespace if not defined. if (typeof(Joomla) === 'undefined') { var Joomla = {}; } /** *...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ Object.append(Browser.Features, { localstorage: (function() { return ('localStorage' in window) && window.localStorage !== null; })() }); /** ...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JCaption javascript behavior * * Used for displaying image captions * * @package Joomla * @since 1.5 * @version 1.0 */ var JCaption...
JavaScript
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ * --------------------------------------------------------------------------- * * The DHTML Calendar * * Details and latest version at: * http://dynarch.com/mishoo/calendar.epl * * This script is distributed under the GNU Lesser General Public...
JavaScript
/** * SqueezeBox - Expandable Lightbox * * Allows to open various content as modal, * centered and animated box. * * Dependencies: MooTools 1.2 or newer * * Inspired by * ... Lokesh Dhakar - The original Lightbox v2 * * @version 1.2 * * @license MIT-style license * @author Harald Kirschner <mail [at] ...
JavaScript
/* name: Fx.ProgressBar description: Creates a progressbar with WAI-ARIA and optional HTML5 support. license: MIT-style authors: - Harald Kirschner <mail [at] digitarald [dot] de> - Rouven Weßling <me [at] rouvenwessling [dot] de> requires: [Core/Fx, Core/Class, Core/Element] provides: Fx.ProgressBar */ Fx.Progre...
JavaScript
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo * ----------------------------------------------------------- * * The DHTML Calendar, version 1.0 "It is happening again" * * Details and latest version at: * www.dynarch.com/projects/calendar * * This script is developed by Dynarch.com. Visit us at...
JavaScript
/** * FancyUpload - Flash meets Ajax for powerful and elegant uploads. * * Updated to latest 3.0 API. Hopefully 100% compat! * * @version 3.0 * * @license MIT License * * @author Harald Kirschner <http://digitarald.de> * @copyright Authors */ var FancyUpload2 = new Class({ Extends: Swiff.Uploader, op...
JavaScript
/* --- MooTools: the javascript framework web build: - http://mootools.net/core/7c56cfef9dddcf170a5d68e3fb61cfd7 packager build: - packager build Core/Core Core/Array Core/String Core/Number Core/Function Core/Object Core/Event Core/Browser Core/Class Core/Class.Extras Core/Slick.Parser Core/Slick.Finder Core/Eleme...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JavaScript behavior to allow shift select in administrator grids */ (function() { Joomla = Joomla || {}; Joomla.JMultiSelect = new Class(...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ Object.append(Browser.Features, { inputemail: (function() { var i = document.createElement("input"); i.setAttribute("type", "email"); return ...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Switcher behavior * * @package Joomla * @since 1.5 */ var JSwitcher = new Class({ Implements: [Options, Events], togglers: null, el...
JavaScript
/* Script: mootree.js My Object Oriented Tree - Developed by Rasmus Schultz, <http://www.mindplay.dk> - Tested with MooTools release 1.2, under Firefox 2, Opera 9 and Internet Explorer 6 and 7. License: MIT-style license. Credits: Inspired by: - WebFX xTree, <http://webfx.eae.net/dhtml/xtree/> - Destroydrop dT...
JavaScript
/** * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // Only define the Joomla namespace if not defined. if (typeof(Joomla) === 'undefined') { var Joomla = {}; } Joomla.editors = {}; // An object to ...
JavaScript
/** * Swiff.Uploader - Flash FileReference Control * * @version 3.0 * * @license MIT License * * @author Harald Kirschner <http://digitarald.de> * @author Valerio Proietti, <http://mad4milk.net> * @copyright Authors */ Swiff.Uploader = new Class({ Extends: Swiff, Implements: Events, options: { pa...
JavaScript
/** * @version $Id: popup-imagemanager.js 20828 2011-02-22 04:22:21Z dextercowley $ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JImageManager behavior for media component * * @package ...
JavaScript
/** * @version $Id: mediamanager.js 21948 2011-08-08 16:02:50Z infograf768 $ * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * JMediaManager behavior for media component * * @package Joomla....
JavaScript
// Angie Radtke 2009 // /*global window, localStorage, Cookie, altopen, altclose, big, small, rightopen, rightclose, bildauf, bildzu */ Object.append(Browser.Features, { localstorage: (function() { return ('localStorage' in window) && window.localStorage !== null; })() }); function saveIt(name) { var x = docume...
JavaScript
/*global window, localStorage, fontSizeTitle, bigger, reset, smaller, biggerTitle, resetTitle, smallerTitle, Cookie */ var prefsLoaded = false; var defaultFontSize = 100; var currentFontSize = defaultFontSize; var fontSizeTitle; var bigger; var smaller; var reset; var biggerTitle; var smallerTitle; var resetTitle; Obj...
JavaScript
/* Javscript Document */
JavaScript
// Angie Radtke 2009 // /*global window, localStorage, Cookie, altopen, altclose, big, small, rightopen, rightclose, bildauf, bildzu */ Object.append(Browser.Features, { localstorage: (function() { return ('localStorage' in window) && window.localStorage !== null; })() }); function saveIt(name) { var x = docume...
JavaScript
/*global window, localStorage, fontSizeTitle, bigger, reset, smaller, biggerTitle, resetTitle, smallerTitle, Cookie */ var prefsLoaded = false; var defaultFontSize = 100; var currentFontSize = defaultFontSize; var fontSizeTitle; var bigger; var smaller; var reset; var biggerTitle; var smallerTitle; var resetTitle; Obj...
JavaScript
/** * @version $Id: installation.js 22161 2011-09-26 15:44:26Z infograf768 $ * @package Joomla.Installation * @subpackage JavaScript * @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ var Installation = ...
JavaScript
function initRSFormPro() { jQuery('#componentPreview tbody').tableDnD({ onDragClass: 'rsform_dragged', onDrop: function (table, row) { tidyOrder(true); } }); jQuery('#mappingTable tbody').tableDnD({ onDragClass: 'rsform_dragged', onDrop: function (table, row) { tidyOrderMp(true...
JavaScript
/** * TableDnD plug-in for JQuery, allows you to drag and drop table rows * You can set up various options to control how the system will work * Copyright (c) Denis Howlett <denish@isocra.com> * Licensed like jQuery, see http://docs.jquery.com/License. * * Configuration options: * * onDragStyle * This is ...
JavaScript
/** * @version $Id: template.js 20822 2011-02-21 23:02:52Z dextercowley $ * @package Hathor * @copyright Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Functions */ /** * Set focus to username on th...
JavaScript
/** * @version $Id: menu.js 20196 2011-01-09 02:40:25Z ian $ * @package Joomla.Administrator * @subpackage templates.bluestork * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ var Joomla = Joomla ...
JavaScript
function PMA_queryAutoCommit() { document.getElementById('sqlqueryform').target = window.opener.frame_content.name; document.getElementById('sqlqueryform').submit(); return; } function PMA_querywindowCommit(tab) { document.getElementById('hiddenqueryform').querydisplay_tab.value = tab; document.get...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Functions used in the export tab * */ /** * Toggles the hiding and showing of each plugin's options * according to the currently selected plugin from the dropdown list */ $(document).ready(function() { $("#plugins").change(function() { $(".format_...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview function used in server privilege pages * @name Database Operations * * @requires jQuery * @requires jQueryUI * @requires js/functions.js * */ /** * Ajax event handlers here for db_operations.php * * Actions Ajaxified here:...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * for server_synchronize.php * */ // Global variable row_class is set to even var row_class = 'even'; /** * Generates a row dynamically in the differences table displaying * the complete statistics of difference in table like number of * rows to be updated, number of...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * for tbl_relation.php * */ function show_hide_clauses(thisDropdown) { // here, one span contains the label and the clause dropdown // and we have one span for ON DELETE and one for ON UPDATE // if (thisDropdown.val() != '') { thisDropdown.parent...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * general function, usally for data manipulation pages * */ /** * @var sql_box_locked lock for the sqlbox textarea in the querybox/querywindow */ var sql_box_locked = false; /** * @var array holds elements which content should only selected once */ var only_once_el...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * common functions used for communicating between main, navigation and querywindow * */ /** * holds the browser query window */ var querywindow = ''; /** * holds the query to be load from a new query window */ var query_to_load = ''; /** * attach a function to ob...
JavaScript
/** * Allows moving around inputs/select by Ctrl+arrows * * @param object event data */ function onKeyDownArrowsHandler(e) { e = e||window.event; var o = (e.srcElement||e.target); if (!o) return; if (o.tagName != "TEXTAREA" && o.tagName != "INPUT" && o.tagName != "SELECT") return; if (na...
JavaScript
/** * Functions used in configuration forms and on user preferences pages */ // default values for fields var defaultValues = {}; // language strings var PMA_messages = {}; /** * Returns field type * * @param {Element} field */ function getFieldType(field) { field = $(field); var tagName = field.attr('tag...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Functions used in the import tab * */ /** * Toggles the hiding and showing of each plugin's options * according to the currently selected plugin from the dropdown list */ function changePluginOpts() { $(".format_specific_options").each(function() { $(...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used in server privilege pages * @name Server Privileges * * @requires jQuery * @requires jQueryUI * @requires js/functions.js * */ /** * Validates the password field in a form * * @see PMA_messages['strPasswo...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * function used for index manipulation pages * */ /** * Ensures indexes names are valid according to their type and, for a primary * key, lock index name to 'PRIMARY' * * @return boolean false if there is no index form, true else */ function checkIndexName() { ...
JavaScript
/* * jQuery JSON Plugin * version: 2.1 (2009-08-14) * * This document is licensed as free software under the terms of the * MIT License: http://www.opensource.org/licenses/mit-license.php * * Brantley Harris wrote this plugin. It is based somewhat on the JSON.org * website's http://www.json.org/json2.js, which...
JavaScript
/** * sprintf and vsprintf for jQuery * somewhat based on http://jan.moesen.nu/code/javascript/sprintf-and-printf-in-javascript/ * * Copyright (c) 2008 Sabin Iacob (m0n5t3r) <iacobs@m0n5t3r.info> * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Scripts to update location to allow bookmarking of frameset * and restoring the bookmark once the page is loaded. * */ var hash_to_set = ""; var hash_init_done = 0; /** * Sets hash part in URL, either calls itself in parent frame or does the * work itself. The has...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * function used in or for navigation frame */ /** * init */ var today = new Date(); var expires = new Date(today.getTime() + (56 * 86400000)); var pma_navi_width; var pma_saveframesize_timeout = null; /** * opens/closes (hides/shows) tree elements * * @param stri...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used on the database structure page * @name Database Structure * * @requires jQuery * @requires jQueryUI * @required js/functions.js */ /** * AJAX scripts for db_structure.php * * Actions ajaxified here: * Drop D...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * for server_replication.php * */ var random_server_id = Math.floor(Math.random() * 10000000); var conf_prefix = "server-id=" + random_server_id + "<br />log-bin=mysql-bin<br />log-error=mysql-bin.err<br />"; function update_config() { var conf_ignore = "binlog_ig...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview JavaScript functions used on Database Search page * @name Database Search * * @requires jQuery * @requires js/functions.js */ /** * AJAX script for the Database Search page. * * Actions ajaxified here: * Retrieve result of SQL ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview JavaScript functions used on tbl_select.php * * @requires jQuery * @requires js/functions.js */ /** * Ajax event handlers for this page * * Actions ajaxified here: * Table Search */ $(document).ready(function() { /** * Set a parame...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used on the table structure page * @name Table Structure * * @requires jQuery * @requires jQueryUI * @required js/functions.js */ /** * AJAX scripts for tbl_structure.php * * Actions ajaxified here: * Drop Column ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview functions used wherever an sql query form is used * * @requires jQuery * @requires js/functions.js * */ var $data_a; /** * decode a string URL_encoded * * @param string str * @return string the URL-decoded string */ function PMA_urldeco...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Conditionally called from libraries/header_scripts.inc.php * if third-party framing is not allowed * */ try { // can't access this if on a different domain var topdomain = top.document.domain; // double-check just for sure if (topdomain != self.docume...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview function used in table data manipulation pages * * @requires jQuery * @requires jQueryUI * @requires js/functions.js * */ /** * Modify form controls when the "NULL" checkbox is checked * * @param theType string the MySQL field ...
JavaScript
/** * Holds the definition and the creation of the imageMap object * @author Martynas Mickevicius <mmartynas@gmail.com> * @package phpMyAdmin */ /** * responsible for showing tooltips above the image chart */ var imageMap = { 'mouseMoved': function(event, cont) { // return if no imageMap set ...
JavaScript
/************************************************** * dom-drag.js * 09.25.2001 * www.youngpup.net ************************************************** * Copyright 2001, Aaron Boodman * This code is public domain. Please use it for good, not evil. ************************************************** * 10.28.2001 - f...
JavaScript
/** * Functions used in Setup configuration forms */ // show this window in top frame if (top != self) { window.top.location.href = location; } // ------------------------------------------------------------------ // Messages // // stores hidden message ids var hiddenMessages = []; $(function() { var hidd...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @package phpMyAdmin-Designer */ /** * init */ var dx, dy, dy2; var cur_click; // update in Main() var sm_x = 2, sm_y = 2; var sm_s = 0; var sm_add = 10; var s_left = 0; var s_right = 0; var ON_relation = 0; var ON_grid = 0; ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin-Designer */ /** * */ if (!window.all) // if IE { document.attachEvent("onreadystatechange", // document load function () { if (document.readyState == "complete") { var el = document.getElementById("canvas"); ...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package phpMyAdmin-Designer */ /** * */ var http_request = false; var xmldoc; var textdoc; /** * */ function makeRequest(url, parameters) { http_request = false; if (window.XMLHttpRequest) { // Mozilla, Safari,... http_request = new XML...
JavaScript
/* vim: set expandtab sw=4 ts=4 sts=4: */ /** * @fileoverview function used in this file builds history tab and generates query. * * @requires jQuery * @requires moves.js * @version $Id$ */ var history_array = []; // Global array to store history objects var select_field = []; // Global array to...
JavaScript
function FindProxyForURL(url, host) { PROXY = "PROXY yourhttpproxy:80"; DEFAULT = "DIRECT"; if(/^[\w\-]+:\/+(?!\/)(?:[^\/]+\.)?appspot\.com/i.test(url)) return PROXY; if(/^[\w\-]+:\/+(?!\/)(?:[^\/]+\.)?blogspot\.com/i.test(url)) return PROXY; if(/^[\w\-]+:\/+(?!\/)(\d{2,}\.)docs\.google\.com/i.test(url)) return P...
JavaScript
(function($) { ;function Phono(config) { // Define defualt config and merge from constructor this.config = Phono.util.extend({ gateway: "gw-v6.d.phono.com", connectionUrl: window.location.protocol+"//app.phono.com/http-bind" }, config); if (this.config.connectionUrl.indexOf("file:")==0){ ...
JavaScript
/*global io MediaServices Phono*/ (function () { // Utils and references var root = this, att = {}; // global utils var _ = att.util = { _uuidCounter: 0, uuid: function () { return Math.random().toString(16).substring(2) + (_._uuidCounter++).toString(16); }, ...
JavaScript
var Openfire = {}; /** Class: Openfire.Connection * WebSockets Connection Manager for Openfire * * Thie class manages an WebSockets connection * to an Openfire XMPP server through the WebSockets plugin and dispatches events to the user callbacks as * data arrives. It uses the server side Openfire authentic...
JavaScript
/* global */ (function () { /* WildEmitter.js is a slim little event emitter largely based on @visionmedia's Emitter from UI Kit. I wanted it standalone. I also wanted support for wildcard emitters. Like: emitter.on('*', function (eventName, other, event, payloads) { }); emitter.on('s...
JavaScript
// License: MIT (http://www.opensource.org/licenses/mit-license.php) // Shout-outs to open source software, Soul Control Crew International, & real Hip Hop. // Copyright 2011 Babak Badaei (http://www.thoughtswordsdeeds.com) (function($){ $.fn.placeholder = function(options) { msie = (jQuery.browser.msie) ? true :...
JavaScript
//\///// //\ overLIB 4.21 - You may not remove or change this notice. //\ Copyright Erik Bosrup 1998-2004. All rights reserved. //\ //\ Contributors are listed on the homepage. //\ This file might be old, always check for the latest version at: //\ http://www.bosrup.com/web/overlib/ //\ //\ Please read the licens...
JavaScript
// javascript function to deal with form // please keep these lines on when you copy the source // made by: Phuwarin Supawarapong, 2004 function initForm(field) { // set first focus. field.focus(); } function checkRequired(which) { var pass=true; if (document.images) { for (i=0;i<which.length;...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime ...
JavaScript
/** * Javascript function to display Seagate calendar with company workweek * Please keep these lines on when you copy the source * Author: Phuwarin Supawarapong, 14 July 2005 * Last update: 5 Aug 2007 * Version: 1.4.0 * * Example: * <HEAD> * <script src="./scripts/seagateww.js"></script> * <s...
JavaScript
// jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) //...
JavaScript
// ==UserScript== // @name Google Contacts Autocomplete // @namespace http://mattsarchives.com // @description Version: 8. Creates a javascript autocompleter next to email input boxes on web pages with your Google Contacts // @include * // @exclude http*://*.google.com/* // @exclud...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime ...
JavaScript
<!-- // Pre-define functions as null function takeShortcut() { } // DHTML Menu Functions function showMenu(menu) {} function hideMenu(menu) {} // Predefine menu image state functions. var topnavDown = ""; var snavDown = ""; function imgOn(imgName) {} function imgOff(imgName) {} function imgDown(im...
JavaScript
/* * qTip2 - Pretty powerful tooltips * http://craigsworks.com/projects/qtip2/ * * Version: nightly * Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com * * Dual licensed under MIT or GPLv2 licenses * http://en.wikipedia.org/wiki/MIT_License * http://en.wikipedia.org/wiki/GNU_General_Public_License...
JavaScript
<!-- TWO STEPS TO INSTALL THIS SCRIPT --> <!-- STEP ONE: Place the following script into a separate JavaScript file called: calendar.js --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function getCalendar(year, ...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime ...
JavaScript
<!-- function breadCrumb(pageData) { separator = " <span class=\"breadcrumbCaret\">\&gt;</span> "; siteHome = "Site Home"; linkOpen = "<a class=\"breadcrumbLink\" href=\"/"; linkJoin = "\">"; linkClose = "</a></span>"; // portalpal~portal pal/admin~administration/updating content // tools/authoring/...
JavaScript
/** * Javascript function to get Seagate workweek * Please keep these lines on when you copy the source * Made by: Phuwarin Supawarapong, 14 July 2005 * * Implementation: you must put this file in the head secion of the html file * <HEAD> * <script src="./scripts/seagateww.js"></script> * </HEAD> * <B...
JavaScript
// written by Tan Ling Wee on 2 Dec 2001 // last updated 23 June 2002 // email : fuushikaden@yahoo.com var fixedX = -1 // x position (-1 if to appear below control) var fixedY = -1 // y position (-1 if to appear below control) var startAt = 1 // 0 - sunday ; 1 - monday var showWeekNumber = 1 // 0 - do...
JavaScript
/*! * jQuery blockUI plugin * Version 2.37 (29-JAN-2011) * @requires jQuery v1.2.3 or later * * Examples at: http://malsup.com/jquery/block/ * Copyright (c) 2007-2010 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl...
JavaScript
// copyright 1999-2001 Idocs, Inc. http://www.idocs.com/tags/ // Distribute this script freely, but keep this // notice with the code. var submitRolls = new Object(); function submitroll(src, oversrc, name) { this.src=src; this.oversrc=oversrc; this.name=name; this.alt="Submit"; this.write=submitroll_write...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime ...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ function calTime(){ var currentETime = new Date(); var eTime = currentETime.getTime(); $('#responseTime').html(eTime - sTime); } var sTime; function startTime(){ var currentSTime = new Date(); sTime...
JavaScript
/** * Originator: * written by Tan Ling Wee on 2 Dec 2001 * last updated 23 June 2002 * email : fuushikaden@yahoo.com * * Modify to fit with Seagate calendar year * written by Phuwarin Supawarapong, 12 Jun 2005 * last updated 15 July 2005 * email : phuwarin.supawarapong@seagate.com * * To impleme...
JavaScript
/* * Pop up information box II (Mike McGrath (mike_mcgrath@lineone.net, * http://website.lineone.net/~mike_mcgrath)) * Permission granted to Dynamicdrive.com to include script in archive * For this and 100's more DHTML scripts, visit http://dynamicdrive.com */ Xoffset=-60; // modify these values to .....
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "n...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "n...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "geen", "aler...
JavaScript
/* * Inline Form Validation Engine 2.0 Beta, jQuery plugin * * Copyright(c) 2010, Cedric Dugas * http://www.position-absolute.com * * 2.0 Rewrite by Olivier Refalo * http://www.crionics.com * * Form validation engine allowing custom regex rules to be added. * Licensed under the MIT License */ (fu...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": ...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "none", ...
JavaScript
(function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example "regex": "n...
JavaScript