code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * Ext Core Library Examples 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * The MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without...
JavaScript
/* * Ext Core Library Examples 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * The MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ var BEFOREREQUEST = "beforerequest", REQUESTCOMPLETE = "requestcomplete", REQUESTEXCEPTION = "requestexception", UNDEF...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ var EXTLIB = Ext.lib, noNegatives = /width|height|opacity|padding/i, offsetAttribute = /^((width|height)|(top|left))$/,...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ Ext.lib.Event = function() { var loadComplete = false, listeners = [], unloadListeners = [], retryCount = 0, onAvailStack = [], ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /* * Portions of this file are based on pieces of Yahoo User Interface Library * Copyright (c) 2007, Yahoo! Inc. All rights reserved. * YUI licensed unde...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ if(Ext.isIE) { function fnCleanUp() { var p = Function.prototype; delete p.createSequence; delete p.defer; ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ var libFlyweight; function fly(el) { if (!libFlyweight) { libFlyweight = new Ext.Element.Flyweight(); } ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ // Easing functions (function(){ // shortcuts to aid compression var abs = Math.abs, pi = Math.PI, asin = Math.asin, pow = Math.pow, sin =...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ var doc = document, isCSS1 = doc.compatMode == "CSS1Compat", MAX = Math.max, PARSEINT = parseInt; Ext.lib.Dom = { isAnces...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.util.DelayedTask * <p> The DelayedTask class provides a convenient way to "buffer" the execution of a method, * performing setTimeout where...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.util.JSON * Modified version of Douglas Crockford"s json.js that doesn"t * mess with the Object prototype * http://www.json.org/js.html *...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.util.TaskRunner * Provides the ability to execute one or more arbitrary tasks in a multithreaded * manner. Generally, you can use the sing...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ var EXTUTIL = Ext.util, TOARRAY = Ext.toArray, EACH = Ext.each, ISOBJECT = Ext.isObject, TRUE = true, FALSE = false; /** ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ Ext.Element.addMethods(function(){ var PARENTNODE = 'parentNode', NEXTSIBLING = 'nextSibling', PREVIOUSSIBLING = 'prev...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element * <p>Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.</p> * <p>All in...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ Ext.Element.addMethods({ /** * Returns true if this element is scrollable. * @return {Boolean} */ ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.DomHelper * <p>The DomHelper class provides a layer of abstraction from DOM and transparently supports creating * elements via DOM or using...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ // for old browsers window.undefined = window.undefined; /** * @class Ext * Ext core utilities and functions. * @singleton */ Ext = { /** * The...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ Ext.Element.addMethods( function() { var GETDOM = Ext.getDom, GET = Ext.get, DH = Ext.DomHelper, isEl = func...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.EventManager * Registers event handlers that want to receive a normalized EventObject instead of the standard browser event and provides * ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.CompositeElementLite * Flyweight composite class. Reuses the same Ext.Element for element operations. <pre><code> var els = Ext.select...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Template * Represents an HTML fragment template. Templates can be precompiled for greater performance. * For a list of available format fun...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ (function(){ // contants var NULL = null, UNDEFINED = undefined, TRUE = true, FALSE = false, SETX = "setX", ...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ (function(){ var D = Ext.lib.Dom, LEFT = "left", RIGHT = "right", TOP = "top", BOTTOM = "...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /* * This is code is also distributed under MIT license for use * with jQuery and prototype JavaScript libraries. */ /** * @class Ext.DomQuery Provid...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ /** * Visibility mode constant for use with {@link #setVisibilityMode}. Use visibility to hide element * @static * @type...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ /** * @class Ext.Element */ Ext.Element.addMethods(function(){ // local style camelizing for speed var propCache = {}, camelRe = /(-[...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="3.0" copyright="Ext Core Library $version&#xD;&#xA;http://extjs.com/&#xD;&#xA;Copyright(c) 2006-2009, $author.&#xD;&#xA;&#xD;&#xA;MIT Licensed - http://extjs.com/license/mit.txt&#xD;&#xA;" output="E:\apps\www\dep...
JavaScript
/* * Ext Core Library 3.0 * http://extjs.com/ * Copyright(c) 2006-2009, Ext JS, LLC. * * MIT Licensed - http://extjs.com/license/mit.txt * */ // for old browsers window.undefined = window.undefined; Ext = { version: '3.0' }; Ext.apply = function(o, c, defaults){ // no "this" refere...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2008, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="$project\..\samples\tasks\ext-air\resources\" ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.SystemMenu * * Provides platform independent handling of adding item to the application menu, creating the menu or * items as needed. <br/><br/> * * T...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.Sound * * @singleton */ Ext.air.Sound = { /** * Play a sound. * @param {String} file The file to be played. The path is resolved against applicatio...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.NativeWindow * @extends Ext.air.NativeObservable * * Wraps the AIR NativeWindow class to give an Ext friendly API. <br/><br/>This class also adds * autom...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.FileProvider * @extends Ext.state.Provider * * An Ext state provider implementation for Adobe AIR that stores state in the application * storage director...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.sql.Proxy * @extends Ext.data.DataProxy * An implementation of {@link Ext.data.DataProxy} that reads from a SQLLite * database. * * @constructor * @param {...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.sql.SQLiteStore * @extends Ext.data.Store * Convenience class which assists in setting up SQLiteStore's. * This class will create the necessary table if it does not ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.sql.AirConnection = Ext.extend(Ext.sql.Connection, { // abstract methods open : function(db){ this.conn = new air.SQLConnection(); var file = air.File.application...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.sql.Table = function(conn, name, keyName){ this.conn = conn; this.name = name; this.keyName = keyName; }; Ext.sql.Table.prototype = { update : function(o){ var clause ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // Abstract base class for Connection classes Ext.sql.Connection = function(config){ Ext.apply(this, config); Ext.sql.Connection.superclass.constructor.call(this); this.addEvent...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.ns('Ext.air'); Ext.air.MusicPlayer = Ext.extend(Ext.util.Observable, { /** * The currently active Sound. Read-only. * @type air.Sound * @property activeSound */ ac...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.tree.LocalTreeLoader = Ext.extend(Ext.tree.TreeLoader, { requestData : function(node, callback){ if(this.fireEvent("beforeload", this, node, callback) !== false){ ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.SystemTray * @singleton * * * */ Ext.air.SystemTray = function(){ var app = air.NativeApplication.nativeApplication; var icon, isWindows = false, b...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.NativeObservable * @extends Ext.util.Observable * * Adds ability for Ext Observable functionality to proxy events for native (AIR) object wrappers * * ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.VideoPanel * @extends Ext.Panel */ Ext.air.VideoPanel = Ext.extend(Ext.Panel, { // Properties autoResize: true, // Overriden methods initComponen...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.Clipboard * @singleton * Allows you to manipulate the native system clipboard and handle various formats. * This class is essentially a passthrough to air.Clipbo...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2008, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="$project\..\samples\tasks\ext-air\" source="Fa...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.air.App = function() { return { launchOnStartup: function(launch) { air.NativeApplication.nativeApplication.startAtLogin = !!launch; }, getAct...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * This file corrects air eval issues and other issues found in the AIR application sandbox */ Ext.namespace('Ext.air', 'Ext.sql'); Ext.Template.prototype.compile = function()...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.air.DragType * * Drag drop type constants * * @singleton */ Ext.air.DragType = { /** * Constant for text data */ TEXT : 'text/plain', /** ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.air.Notify = Ext.extend(Ext.air.NativeWindow, { winType: 'notify', type: 'lightweight', width: 400, height: 50, chrome: 'none', transparent: true, alwaysOnTop: true, ...
JavaScript
/* * Ext JS Library 0.30 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * Useful debugging function similar to console.dir for air. * This was ported from AS3 and the original code came from Adobe's help system. */ Ext.air.dir = function (obj, indent) ...
JavaScript
<?xml version="1.0" encoding="utf-8"?> <project path="" name="Ext AIR Support Library" author="Ext JS, LLC" version="0.30" copyright="Ext JS Library $version&#xD;&#xA;Copyright(c) 2006-2009, $author.&#xD;&#xA;licensing@extjs.com&#xD;&#xA;&#xD;&#xA;http://extjs.com/license" output="C:\apps\www\deploy\ext-2.3.0\air\" s...
JavaScript
/* AIRAliases.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from a s...
JavaScript
/* AIRMenuBuilder.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from ...
JavaScript
/* AIRLocalizer.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from a...
JavaScript
/* AIRSourceViewer.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from...
JavaScript
/* AIRAliases.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from a s...
JavaScript
/* AIRAliases.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from a s...
JavaScript
/* AIRMenuBuilder.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from ...
JavaScript
/* AIRLocalizer.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from a...
JavaScript
/* AIRSourceViewer.js - Revision: 1.5 */ /* ADOBE SYSTEMS INCORPORATED Copyright 2007-2008 Adobe Systems Incorporated. All Rights Reserved. NOTICE: Adobe permits you to modify and distribute this file only in accordance with the terms of Adobe AIR SDK license agreement. You may have received this file from...
JavaScript
// Side Navigation Menu Slide $(document).ready(function() { $("#nav > li > a.collapsed + ul").slideToggle("medium"); $("#nav > li > a").click(function() { $(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium"); }); }); // Notifications Pop-Up $(document).rea...
JavaScript
/** * WYSIWYG - jQuery plugin 0.5 * * Copyright (c) 2008-2009 Juan M Martinez * http://plugins.jquery.com/project/jWYSIWYG * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Id: $ */ (function( $ ) { $.fn....
JavaScript
/* * -------------------------------------------------------------------- * jQuery inputToButton plugin * Author: Scott Jehl, scott@filamentgroup.com * Copyright (c) 2009 Filament Group * licensed under MIT (filamentgroup.com/examples/mit-license.txt) * -----------------------------------------------------------...
JavaScript
/* * jQuery UI 1.5.3 * * Copyright (c) 2008 Paul Bakaus (ui.jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;(function($) { $.ui = { plugin: { add: function(module, option, set) { var proto = $.ui[module].pro...
JavaScript
/** * Styleswitch stylesheet switcher built on jQuery * Under an Attribution, Share Alike License * By Kelvin Luck ( http://www.kelvinluck.com/ ) **/ (function($) { $(document).ready(function() { $('.styleswitch').click(function() { switchStylestyle(this.getAttribute("rel")); return false; })...
JavaScript
function toggle(obj) { var el = document.getElementById(obj); if ( el.style.display != 'none' ) { el.style.display = 'none'; } else { el.style.display = ''; } }
JavaScript
/* * jQuery UI Tabs * * Copyright (c) 2007, 2008 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Tabs * * Depends: * ui.core.js */ (function($) { $.widget("ui.tabs", { init: function() { this.op...
JavaScript
/** * WYSIWYG - jQuery plugin 0.6 * * Copyright (c) 2008-2009 Juan M Martinez * http://plugins.jquery.com/project/jWYSIWYG * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Id: $ */ (function( $ ) { $.fn....
JavaScript
// tipsy, facebook style tooltips for jquery // version 1.0.0a // (c) 2008-2010 jason frame [jason@onehackoranother.com] // released under the MIT license (function($) { function maybeCall(thing, ctx) { return (typeof thing == 'function') ? (thing.call(ctx)) : thing; }; function Tipsy(ele...
JavaScript
/** * -------------------------------------------------------------------- * jQuery-Plugin "visualize" * by Scott Jehl, scott@filamentgroup.com * http://www.filamentgroup.com * Copyright (c) 2009 Filament Group * Dual licensed under the MIT (filamentgroup.com/examples/mit-license.txt) and GPL (filamentgroup.com/...
JavaScript
/* Template Name: Adminium Description: Modern admin panel interface Version: 1.2 Author: enstyled Author URI: http://themeforest.net/user/enstyled */ $(function () { // Collapsable navigation $('ul#nav .collapse').parents('li').find('ul').hide(); $('ul#nav .collapse').toggle( function() { $(this).pare...
JavaScript
$(document).ready(function(){ //Sidebar Accordion Menu: $("#main-nav li ul").hide(); // Hide all sub menus $("#main-nav li a.current").parent().find("ul").slideToggle("slow"); // Slide down the current menu item's sub menu $("#main-nav li a.nav-top-item").click( // When a top menu item is clicked....
JavaScript
/** * WYSIWYG - jQuery plugin 0.5 * * Copyright (c) 2008-2009 Juan M Martinez * http://plugins.jquery.com/project/jWYSIWYG * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Id: $ */ (function( $ ) { $.fn....
JavaScript
/* * Facebox (for jQuery) * version: 1.2 (05/05/2008) * @requires jQuery v1.2 or later * * Examples at http://famspam.com/facebox/ * * Licensed under the MIT: * http://www.opensource.org/licenses/mit-license.php * * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ] * * Usage: * * jQuery(documen...
JavaScript
/* * jQuery UI 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;jQuery.ui || (function($) { var _remove = $.fn.remove, isFF2 = $.browser.mozilla && (parseFloat($.browser....
JavaScript
/* * Style File - jQuery plugin for styling file input elements * * Copyright (c) 2007-2008 Mika Tuupola * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * * Based on work by Shaun Inman * http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_an...
JavaScript
/** * @author trixta */ (function($){ $.userMode = (function(){ var userBg, timer, testDiv, boundEvents = 0; function testBg(){ testDiv = testDiv || $('<div></div>').css({position: 'absolute', left: '-999em', top: '-999px', width: '0px', height: '0px'}).appendTo('body'); var black = $.curCSS(...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.n...
JavaScript
/* * jQuery Tooltip plugin 1.2 * * http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ * http://docs.jquery.com/Plugins/Tooltip * * Copyright (c) 2006 - 2008 Jörn Zaefferer * * $Id: jquery.tooltip.js 4569 2008-01-31 19:36:35Z joern.zaefferer $ * * Dual licensed under the MIT and GPL licenses: * ht...
JavaScript
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $LastChangedDate: 2007...
JavaScript
/** * @author trixta */ (function($){ $.bind = function(object, method){ var args = Array.prototype.slice.call(arguments, 2); if(args.length){ return function() { var args2 = [this].concat(args, $.makeArray( arguments )); return method.apply(object, args2); }; } else { return function() { var args2...
JavaScript
/** * Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * . * $Id: jquery.datePicker.js 94 2010-01-25 02:25:27Z kelvin.luck $ **/ (functio...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.ne...
JavaScript
/** * @author alexander.farkas * @version 1.3 */ (function($){ $.widget('ui.checkBox', { _init: function(){ var that = this, opts = this.options, toggleHover = function(e){ if(this.disabledStatus){ return false; } that.hover = (e.type == 'focus' || e.ty...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.n...
JavaScript
var JATypo = new Class ({ initialize: function(options) { this.options = $extend({ offsets: {x:10, y: 10} }, options || {}); this.wrapper = $('jatypo-wrap'); if (!this.wrapper) return; this.typos = this.wrapper.getElements ('.typo'); this.typos.addEvents ({ 'mouseenter': function (){ ...
JavaScript
function SetViewTableDiv(tableName) { var str = AdFindObjectID(tableName + 'Loc').style.display; if (str == 'block') { AdFindObjectID(tableName + 'Loc').style.display = "none"; AdFindObjectID(tableName).src = "images/AdImgDown.gif"; } else { AdFindObjectID(tabl...
JavaScript
/** * ------------------------------------------------------------------------ * JA Tabs Plugins for Joomla 1.5 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/license...
JavaScript
var DateDiff = { inDays: function(d1, d2) { var t2 = d2.getTime(); var t1 = d1.getTime(); return parseInt((t2-t1)/(24*3600*1000)); }, inWeeks: function(d1, d2) { var t2 = d2.getTime(); var t1 = d1.getTime(); return parseInt((t2-t1)/(24*3600*...
JavaScript
/** * @version $Id: caption.js 5263 2006-10-02 01:25:24Z webImagery $ * @copyright Copyright (C) 2005 - 2010 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, and as distributed it...
JavaScript
/** * ------------------------------------------------------------------------ * T3V2 Framework * ------------------------------------------------------------------------ * Copyright (C) 2004-20011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html * ...
JavaScript
/** * @version $Id: k2.js 1246 2011-10-19 15:33:04Z joomlaworks $ * @package K2 * @author JoomlaWorks http://www.joomlaworks.gr * @copyright Copyright (c) 2006 - 2011 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ var $K2 = jQuery.noConflict(); $K2(...
JavaScript
/** * SqueezeBox - Expandable Lightbox * * Allows to open various content as modal, * centered and animated box. * * Inspired by * ... Lokesh Dhakar - The original Lightbox v2 * ... Cody Lindley - ThickBox * * @version 1.0rc1 * * @license MIT-style license * @author Harald Kirschner <mail [at] digitar...
JavaScript
/*! * jQuery Form Plugin * version: 3.15 (09-SEP-2012) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses: * http://malsup.github.com/mit-license.txt ...
JavaScript
if (location.host !=='vnexpress.net') { document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">'); try { if (typeof vHanoi != "undefined") document.write('<tr><td>&nbsp;&nbsp;' + vHanoi + '</td><td></td><td>&nbsp;' + dHanoi + '&deg;C</td></tr>'); if (typeof vH...
JavaScript
/** * ------------------------------------------------------------------------ * T3V2 Framework * ------------------------------------------------------------------------ * Copyright (C) 2004-20011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html * ...
JavaScript
if('undefined'==typeof xajax) xajax={};if('undefined'==typeof xajax.config) xajax.config={};xajax.config.setDefault=function(option,defaultValue){if('undefined'==typeof xajax.config[option]) xajax.config[option]=defaultValue;} xajax.config.setDefault('commonHeaders',{'If-Modified-Since':'Sat, 1 Jan 2000 00:00:00 GMT' ...
JavaScript
/* INDEX */ function BrowseServer( startupPath, functionData ){ var finder = new CKFinder(); finder.basePath = 'ckfinder/'; //Đường path nơi đặt ckfinder finder.startupPath = startupPath; //Đường path hiện sẵn cho user chọn file finder.selectActionFunction = SetFileField; // hàm sẽ được gọi khi 1 f...
JavaScript