code
stringlengths
1
2.08M
language
stringclasses
1 value
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/Menu.js var __rootMenuItem; var __menuInterval; var __scrollPanel; var __disappearAfter = 500; function Menu_ClearInterval() { if (__menuInterval) { window.clearInterval(__menuInterval); } } function Menu_Collapse(item) { Menu_SetRoot(item); ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/WebParts.js var __wpm = null; function Point(x, y) { this.x = x; this.y = y; } function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScroll) { while ((typeof(offsetElement) != "undefined") && (offsetElement != null) && (offsetElemen...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/MenuStandards.js if (!window.Sys) { window.Sys = {}; } if (!Sys.WebForms) { Sys.WebForms = {}; } Sys.WebForms.Menu = function(options) { this.items = []; this.depth = options.depth || 1; this.parentMenuItem = options.parentMenuItem; this.element = S...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/GridView.js function GridView() { this.pageIndex = null; this.sortExpression = null; this.sortDirection = null; this.dataKeys = null; this.createPropertyString = GridView_createPropertyString; this.setStateField = GridView_setStateValue; ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/TreeView.js function TreeView_HoverNode(data, node) { if (!data) { return; } node.hoverClass = data.hoverClass; WebForm_AppendToClassName(node, data.hoverClass); if (__nonMSDOMBrowser) { node = node.childNodes[node.childNodes.len...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/DetailsView.js function DetailsView() { this.pageIndex = null; this.dataKeys = null; this.createPropertyString = DetailsView_createPropertyString; this.setStateField = DetailsView_setStateValue; this.getHiddenFieldContents = DetailsView_getHiddenF...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/Focus.js function WebForm_FindFirstFocusableChild(control) { if (!control || !(control.tagName)) { return null; } var tagName = control.tagName.toLowerCase(); if (tagName == "undefined") { return null; } var children = contr...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/WebForms.js function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) { this.eventTarget = eventTarget; this.eventArgument = eventArgument; this.validation = validation; this.validati...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/WebUIValidation.js var Page_ValidationVer = "125"; var Page_IsValid = true; var Page_BlockSubmit = false; var Page_InvalidControlToBeFocused = null; var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|dateti...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/SmartNav.js var snSrc; if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null)) { window.__smartNav = new Object(); window.__smartNav.update = function() { var sn = window.__smartNav; var fd; document.detac...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/Menu.js var __rootMenuItem; var __menuInterval; var __scrollPanel; var __disappearAfter = 500; function Menu_ClearInterval() { if (__menuInterval) { window.clearInterval(__menuInterval); } } function Menu_Collapse(item) { Menu_SetRoot(item); ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/WebParts.js var __wpm = null; function Point(x, y) { this.x = x; this.y = y; } function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScroll) { while ((typeof(offsetElement) != "undefined") && (offsetElement != null) && (offsetElemen...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/MenuStandards.js if (!window.Sys) { window.Sys = {}; } if (!Sys.WebForms) { Sys.WebForms = {}; } Sys.WebForms.Menu = function(options) { this.items = []; this.depth = options.depth || 1; this.parentMenuItem = options.parentMenuItem; this.element = S...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/GridView.js function GridView() { this.pageIndex = null; this.sortExpression = null; this.sortDirection = null; this.dataKeys = null; this.createPropertyString = GridView_createPropertyString; this.setStateField = GridView_setStateValue; ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/TreeView.js function TreeView_HoverNode(data, node) { if (!data) { return; } node.hoverClass = data.hoverClass; WebForm_AppendToClassName(node, data.hoverClass); if (__nonMSDOMBrowser) { node = node.childNodes[node.childNodes.len...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5/6/DetailsView.js function DetailsView() { this.pageIndex = null; this.dataKeys = null; this.createPropertyString = DetailsView_createPropertyString; this.setStateField = DetailsView_setStateValue; this.getHiddenFieldContents = DetailsView_getHiddenF...
JavaScript
/* * jQuery Mobile Framework 1.1.2 9a15f1aaf99faa7913103f5ea19ef6959b73d763 * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ) { if ( typeof define === "function" && define...
JavaScript
//var u = location.href; //var idx = u.indexOf('?'); //if (idx > -1) // u = u.substring(0, idx); //u += '?'; //function StatusMsg(msgStr) { // status = msgStr; document.returnValue = true; //} //var tmpCat = "UNKNOWN"; //var tmpSubCat = "UNKNOWN"; //function linkclick(cmstag) { // var url = c...
JavaScript
var url = window.location.href.split('?')[0]; //alert(url); var redirectURL = url + "?"; var lochref = location.href; lochref.match(/\?(.+)$/); var params = RegExp.$1; var params = params.split("&"); //alert(params); var q = {}; var prt = ""; var keyword2 = ""; var errURL = ""; var hsimp = ""; for (...
JavaScript
//main var fetch = false; var nPage = 0; var pageSize; $(document).ready(function () { try { $('#loadScroll').hide(); fetch = true; getData(); } catch (err) { alert("Error description: " + err.message + "\n\n"); } $(window).scroll(function () { ...
JavaScript
/* ------------------------------------------------------------------------ Class: prettyPhoto Use: Lightbox clone for jQuery Author: Stephane Caron (http://www.no-margin-for-errors.com) Version: 3.1.3 ------------------------------------------------------------------------- */ (function($) { $.prettyPhoto = {vers...
JavaScript
jQuery(document).ready(function($) { //$('#nav-main').scrollspy() // Localscrolling $('#nav-main, .brand').localScroll(); $('#news, .container').localScroll(); });
JavaScript
/*! * IE10 viewport hack for Surface/desktop Windows 8 bug * Copyright 2014 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see http://creativecommons.org/licenses/by/3.0/. */ // See the Getting Started docs for more information: // http://getbootstrap...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/MenuStandards.js if (!window.Sys) { window.Sys = {}; } if (!Sys.WebForms) { Sys.WebForms = {}; } Sys.WebForms.Menu = function(options) { this.items = []; this.depth = options.depth || 1; this.parentMenuItem = options.parentMenuItem; this.element =...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js function DetailsView() { this.pageIndex = null; this.dataKeys = null; this.createPropertyString = DetailsView_createPropertyString; this.setStateField = DetailsView_setStateValue; this.getHiddenFieldContents = DetailsView_getHidde...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebParts.js var __wpm = null; function Point(x, y) { this.x = x; this.y = y; } function __wpTranslateOffset(x, y, offsetElement, relativeToElement, includeScroll) { while ((typeof(offsetElement) != "undefined") && (offsetElement != null) && (offsetElem...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/GridView.js function GridView() { this.pageIndex = null; this.sortExpression = null; this.sortDirection = null; this.dataKeys = null; this.createPropertyString = GridView_createPropertyString; this.setStateField = GridView_setStateValue; ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/Menu.js var __rootMenuItem; var __menuInterval; var __scrollPanel; var __disappearAfter = 500; function Menu_ClearInterval() { if (__menuInterval) { window.clearInterval(__menuInterval); } } function Menu_Collapse(item) { Menu_SetRoot(item)...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebUIValidation.js var Page_ValidationVer = "125"; var Page_IsValid = true; var Page_BlockSubmit = false; var Page_InvalidControlToBeFocused = null; var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|date...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) { this.eventTarget = eventTarget; this.eventArgument = eventArgument; this.validation = validation; this.valida...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/WebForms.js function WebForm_FindFirstFocusableChild(control) { if (!control || !(control.tagName)) { return null; } var tagName = control.tagName.toLowerCase(); if (tagName == "undefined") { return null; } var children = ...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/TreeView.js function TreeView_HoverNode(data, node) { if (!data) { return; } node.hoverClass = data.hoverClass; WebForm_AppendToClassName(node, data.hoverClass); if (__nonMSDOMBrowser) { node = node.childNodes[node.childNodes.l...
JavaScript
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/SmartNav.js var snSrc; if ((typeof(window.__smartNav) == "undefined") || (window.__smartNav == null)) { window.__smartNav = new Object(); window.__smartNav.update = function() { var sn = window.__smartNav; var fd; document.det...
JavaScript
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
JavaScript
google.load("feeds", "1"); (function($) { $(document).ready(function() { $('#timeline').empty(); tweetList(); tweetUserList(); facebookList(1); //$('#add-twitter-account').button({ // icons: { primary: 'ui-icon-plus'} //}); $('#add-twitter-account').click(function(){ $.oauthp...
JavaScript
; /* * JavaScript library for ISO-8601 datetime format. * Copyright: 2009, Shumpei Shiraishi (shumpei.shiraishi at gmail.com) * License: GNU General Public License, Free Software Foundation * <http://creativecommons.org/licenses/GPL/2.0/> * Original code and license is: * Web Forms 2.0 Cross-browser Im...
JavaScript
function loadData() { var isCheck = JSON.parse(localStorage.getItem("isCheck")); if (isCheck) { document.getElementById("checkedArticle").style.display = "block"; } }
JavaScript
function followed() { var isFollow = true; localStorage.setItem("isFollow", JSON.stringify(isFollow)); }
JavaScript
function loadData() { var isCheck = JSON.parse(localStorage.getItem("isCheck")); var isFollow = JSON.parse(localStorage.getItem("isFollow")); if (isCheck) { document.getElementById("checkedArticle").style.display = "block"; } if (isFollow) { document.getElementById...
JavaScript
function checked() { var isCheck = true; localStorage.setItem("isCheck", JSON.stringify(isCheck)); }
JavaScript
function saveData() { var isFollow = false; var isCheck = false; localStorage.setItem("isFollow", JSON.stringify(isFollow)); localStorage.setItem("isCheck", JSON.stringify(isCheck)); }
JavaScript
/*! * jQuery OAuth via popup window plugin * * @author Nobu Funaki @zuzara * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ (function(jQuery){ // inspired by DISQUS jQuery.oauthpopup = function(options)...
JavaScript
/* * jQuery UI @VERSION * * 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($) { /** jQuery core modifications and additions **/ $.keyCode = { BACKSPACE: 8, CAPS_LOCK: 20, COMMA: ...
JavaScript
/*! Copyright (c) 2008 Brandon Aaron (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. * * Version: 1.0.3 * Requires jQuery 1.1.3+ * Docs: http://docs.jquery.com/Plugins/livequery ...
JavaScript
/* * jQuery UI Tabs @VERSION * * 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() { // create tab...
JavaScript
/*! * jQuery Form Plugin * version: 2.80 (25-MAY-2011) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(functi...
JavaScript
/* http://www.JSON.org/json2.js 2010-03-20 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This code should be minified before deployment. See http://javascript.crockford.com/jsmin.html USE YOUR OWN COPY. IT IS EXTREMELY UNWISE...
JavaScript
/*********************************************** * VietAd (www.vietad.vn) Ajax ToolTip ***********************************************/ var offsetxpoint = -60; //Customize x offset of tooltip var offsetypoint = 20; //Customize y offset of tooltip var ie = document.all; var ns6 = document.getElementById && !doc...
JavaScript
/* Script: Core.js MooTools - My Object Oriented JavaScript Tools. License: MIT-style license. Copyright: Copyright (c) 2006-2008 [Valerio Proietti](http://mad4milk.net/). Code & Documentation: [The MooTools production team](http://mootools.net/developers/). Inspiration: - Class implementation inspired by [Bas...
JavaScript
// JavaScript Document /*! Copyright (c) 2009 Brandon Aaron (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. * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. ...
JavaScript
/* * jQuery Easing v1.1 - http://gsgd.co.uk/sandbox/jquery.easing.php * * Uses the built in easing capabilities added in jQuery 1.1 * to offer multiple easing options * * Copyright (c) 2007 George Smith * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ jQuery.easing =...
JavaScript
/** * jquery.slideShow (1.0.7) * by Marcel Eichner (www.marceleichner.de) <[email protected]> * and charles kline <[email protected]> * * This simple slideshow plugin will provide your effect gallery with * some simple features: * * - auto slideshow with repeat and a lot of options * - callback for sli...
JavaScript
/* Copyright (c) 2007 Yves ASTIER ([email protected]) * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php) * Use only for non-commercial usage. * Usage autorisé uniquement dans un cadre non-commercial. * * Version : 1.2 * * Requires: jQuery 1.2+ */ (function($) { $.fn.Check...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * ...
JavaScript
/* * nyroModal - jQuery Plugin * http://nyromodal.nyrodev.com * * Copyright (c) 2008 Cedric Nirousset (nyrodev.com) * Licensed under the MIT license * * Include this file AFTER nyroModal if you want absolutely no animation with nyroModal * * $Date: 2008-06-24 (Tue, 24 Jun 2008) $ * $version: 1.2.8 ...
JavaScript
(function($){ /* hoverIntent by Brian Cherne */ $.fn.hoverIntent = function(f,g) { // default configuration options var cfg = { sensitivity: 7, interval: 100, timeout: 0 }; // override configuration options with user supplied object cfg = $.extend(cfg, g ? { over: f, out: g } : f ); // instantia...
JavaScript
Site = { MainMenu: function() { $('#header .tab-center:not(.active-tab-center)').bind('mouseenter', function() { $(this).addClass('active-tab-center') .prev() .addClass('active-tab-left') .end() .next() .addClass('active-tab-right'); }) .bind('mouseleave', function() { $...
JavaScript
/* * Superfish v1.4.8 - jQuery menu widget * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt */ ;(functi...
JavaScript
/* * FancyBox - simple jQuery plugin for fancy image zooming * Examples and documentation at: http://fancy.klade.lv/ * Version: 1.0.0 (29/04/2008) * Copyright (c) 2008 Janis Skarnelis * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php * Requires: jQuery v1.2.1 or later */ ...
JavaScript
/* Simple AJAX Code-Kit (SACK) */ /* ©2005 Gregory Wild-Smith */ /* www.twilightuniverse.com */ /* Software licenced under a modified X11 licence, see documentation or authors website for more details */ function sack(file) { this.AjaxFailedAlert = "Trình duyệt của bạn không hỗ trợ Load Ajax. Bạn nên chọn một...
JavaScript
/** * jCarouselLite - jQuery plugin to navigate images/any content in a carousel style widget. * @requires jQuery v1.2 or above * * http://gmarwaha.com/jquery/jcarousellite/ * * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/license...
JavaScript
/********************************************************** Ajax dynamic content Copyright (C) 2007 DTHMLGoodies.com, Alf Magne Kalleland ***********************************************************/ var enableCache = true; var jsCache = new Array(); var dynamicContent_ajaxObjects = new Array(); // Ajax S...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d...
JavaScript
 //get query string function getQueryString(key) { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); ...
JavaScript
/* * Autocomplete - jQuery plugin 1.0.2 * * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete....
JavaScript
//animate the opening of the branch (span.grower jQueryElement) function openBranch(jQueryElement, noAnimation) { jQueryElement.addClass('OPEN').removeClass('CLOSE'); if(noAnimation) jQueryElement.parent().find('ul:first').show(); else jQueryElement.parent().find('ul:first').slideDown(); } //animate the clo...
JavaScript
function autoUrl(name, dest) { var loc; var id_list; id_list = document.getElementById(name); loc = id_list.options[id_list.selectedIndex].value; if (loc != 0) location.href = dest+loc; return ; } function autoUrlNoList(name, dest) { var loc; loc = document.getElementById(name).checked; location.href = de...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built In easIng capabilities added In jQuery 1.1 * to offer multiple easIng options * * Copyright (c) 2007 George Smith * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ // t: current time...
JavaScript
$(function(){ $("ul.dropdown li").hover(function(){ $(this).addClass("hover"); $('.mnuSub',this).show("slow"); $('.mnuSub',this).css('visibility', 'visible'); }, function(){ $(this).removeClass("hover"); $('.mnuSub',this).css('visibility', 'hidden'); }...
JavaScript
$(document).ready(function(){ $(".productPriceWrapRight a").click(function() { var productIDValSplitter = (this.id).split("_"); var productIDVal = productIDValSplitter[1]; var productX = $("#productImageWrapID_" + productIDVal).offset().left; var productY = $("#productImageWrapID_" + productI...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d...
JavaScript
/*********************************************** * VietAd (www.vietad.vn) Ajax ToolTip ***********************************************/ var offsetxpoint = -60; //Customize x offset of tooltip var offsetypoint = 20; //Customize y offset of tooltip var ie = document.all; var ns6 = document.getElementById && !doc...
JavaScript
/* Script: Core.js MooTools - My Object Oriented JavaScript Tools. License: MIT-style license. Copyright: Copyright (c) 2006-2008 [Valerio Proietti](http://mad4milk.net/). Code & Documentation: [The MooTools production team](http://mootools.net/developers/). Inspiration: - Class implementation inspired by [Bas...
JavaScript
// JavaScript Document /*! Copyright (c) 2009 Brandon Aaron (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. * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. ...
JavaScript
/* * jQuery Easing v1.1 - http://gsgd.co.uk/sandbox/jquery.easing.php * * Uses the built in easing capabilities added in jQuery 1.1 * to offer multiple easing options * * Copyright (c) 2007 George Smith * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ jQuery.easing =...
JavaScript
/** * jquery.slideShow (1.0.7) * by Marcel Eichner (www.marceleichner.de) <[email protected]> * and charles kline <[email protected]> * * This simple slideshow plugin will provide your effect gallery with * some simple features: * * - auto slideshow with repeat and a lot of options * - callback for sli...
JavaScript
/* Copyright (c) 2007 Yves ASTIER ([email protected]) * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php) * Use only for non-commercial usage. * Usage autorisé uniquement dans un cadre non-commercial. * * Version : 1.2 * * Requires: jQuery 1.2+ */ (function($) { $.fn.Check...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * ...
JavaScript
/* * CirclePlayer for the jPlayer Plugin (jQuery) * http://www.jplayer.org * * Copyright (c) 2009 - 2011 Happyworm Ltd * Dual licensed under the MIT and GPL licenses. * - http://www.opensource.org/licenses/mit-license.php * - http://www.gnu.org/copyleft/gpl.html * * Version: 1.0.1 (jPlayer 2.0.9) ...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. ...
JavaScript
/* jQuery CooQuery Plugin v2 (minified) - http://cooquery.lenonmarcel.com.br/ Copyright 2009, 2010 Lenon Marcel Dual licensed under the MIT and GPL licenses. http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html */ (function($){$.setCookie=function(name,value,options){if(typeof...
JavaScript
/*! * jCarousel - Riding carousels with jQuery * http://sorgalla.com/jcarousel/ * * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.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. * * Buil...
JavaScript
// JavaScript Document $(function(){ // Accordion $("#accordion").accordion({ header: "h3" }); // Tabs $('#tabs').tabs(); // Dialog $('#dialog').dialog({ autoOpen: false, width: 600, buttons: { "Ok": function() { $(this).dialog("close"); }, "Cancel": func...
JavaScript
// =================================================================== // Author: Matt Kruse <[email protected]> // WWW: http://www.AjaxToolbox.com/ // // NOTICE: You may use this code for any purpose, commercial or // private, without any further permission from the author. You may // remove this notice from ...
JavaScript
$(function(){ $("ul.mid_nav li").hover(function(){ $(this).addClass("hover"); $('ul:first',this).css('visibility', 'visible'); }, function(){ $(this).removeClass("hover"); $('ul:first',this).css('visibility', 'hidden'); }); $("ul.mi...
JavaScript
/* jQuery grab https://github.com/jussi-kalliokoski/jQuery.grab Ported from Jin.js::gestures https://github.com/jussi-kalliokoski/jin.js/ Created by Jussi Kalliokoski Licensed under MIT License. Includes fix for IE */ (function($){ var extend = $.extend, mousedown = 'mousedown', mousemove =...
JavaScript