code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
var currentScroll = '';
var bottomScroll = '';
var scrollLength = '';
var currentTime ;
var dir = '';
var webPage = escape(document.location.pathname);
function getCookie(cname)
{
var name = cname + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++)
{
var ... | JavaScript |
function $$(id){
return document.getElementById(id);
}
/**
* handler
*/
function operate(request, sender, sendResponse){
for( i in request) {
var key = i;
}
if(key == 'drawHeatMap'){
drawHeatMap(sendResponse);
}else if(key == 'startRecord') {
isStart = 1;
}else if(key == 'hideCanvas') { ... | JavaScript |
/*
* heatmap.js 1.0 - JavaScript Heatmap Library
*
* Copyright (c) 2011, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*/
(function(w){
// the heatmapFactory... | JavaScript |
/*
* heatmap.js OpenLayers Heatmap Class
*
* Copyright (c) 2011, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*
* Modified on Jun,06 2011 by Antonio Santiago (http... | JavaScript |
require([
"dojo/_base/declare",
"dojo/dom-construct",
"dojo/query",
"dojo/dom-style",
"dojo/_base/connect",
"esri", // We're not directly using anything defined in esri.js but geometry, locator and utils are not AMD. So, the only way to get reference to esri object is through esri module (ie. esri/mai... | JavaScript |
/*
* heatmap.js GMaps overlay
*
* Copyright (c) 2011, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*/
function HeatmapOverlay(map, cfg){
var me = this;
m... | JavaScript |
/*
* heatmap.js 0.2 Leaflet overlay
*
* Copyright (c) 2012, Dominik Moritz
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*
* Attribution
* - Some snippets for canvas layer: https://gist.github.com/2566567
... | JavaScript |
/*
* heatmap.js 1.0 - JavaScript Heatmap Library
*
* Copyright (c) 2011, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*/
(function(w){
// the heatmapFactory c... | JavaScript |
/*
The MIT License
Copyright (c) 2011 Mike Chambers
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 restriction, including without limitation the rights
to use, co... | JavaScript |
/* Copyright 2013 Xavier Mamano, http://github.com/jorix/OL-Ragbag
* Published under MIT license. All rights reserved.
*
* Based on lib/OpenLayers/Renderer/Canvas.js form:
* https://github.com/openlayers/openlayers/blob/master
* with license:
* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.t... | JavaScript |
/*
* heatmap.js 1.0 - JavaScript Heatmap Library
*
* Copyright (c) 2011, Patrick Wied (http://www.patrick-wied.at)
* Dual-licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and the Beerware (http://en.wikipedia.org/wiki/Beerware) license.
*/
(function(w){
// the heatmapFactory c... | JavaScript |
console.log('Loading a web page');
var page = new WebPage();
var url = "http://www.smashing-magazine.com/";
page.open(url, function (status) {
if(status == 'success') {
var results = page.evaluate(function() {
var allParas = document.getElementsByTagName("article");
var num = allPar... | JavaScript |
var currentScroll = '';
var bottomScroll = '';
var scrollLength = '';
var currentTime ;
var dir = '';
var webPage = escape(document.location.pathname);
function getCookie(cname)
{
var name = cname + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++)
{
var ... | JavaScript |
+function ($) {
$(function(){
// fullcalendar
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
var addDragEvent = function($this){
// create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
// it doe... | JavaScript |
+function ($) { "use strict";
$(function(){
// sparkline
var sr, sparkline = function($re){
$(".sparkline").each(function(){
var $data = $(this).data();
if($re && !$data.resize) return;
($data.type == 'pie') && $data.sliceColors && ($data.sliceColors = eval($data.sliceColors));
($data.type == 'bar... | JavaScript |
jQuery(function() {
prime();
});
function changeFunction() {
jQuery('.edit_profile_name .enter').removeAttr('disabled');
}
/*global jQuery:false */
var sliderDragScroll = false;
var error_msg_box = null;
jQuery(window).load(function() {
if (!jQuery.browser.msie) {
jQuery('.slides li').each(functi... | JavaScript |
/*!
* jQuery twitter bootstrap wizard plugin
* Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard
* version 1.0
* Requires jQuery v1.3.2 or later
* Supports Bootstrap 2.2.x, 2.3.x, 3.0
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.p... | JavaScript |
+function ($) {
$(function(){
$('#wizardform').bootstrapWizard({
'tabClass': 'nav nav-tabs',
'onNext': function(tab, navigation, index) {
var valid = false;
$('[data-required="true"]', $( $(tab.html()).attr('href') )).each(function(){
return (valid = $(this).parsley( 'valid... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(function() {
//codelord
// ----------------------- Reporter Registratoin form submit ----------------
j... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
//var responce = "";
//$('#page_option_dropdown a').click(function()
//{
// $("#action_button").html(this.innerH... | JavaScript |
/*
* Flot plugin to order bars side by side.
*
* Released under the MIT license by Benjamin BUFFET, 20-Sep-2010.
*
* This plugin is an alpha version.
*
* To activate the plugin you must specify the parameter "order" for the specific serie :
*
* $.plot($("#placeholder"), [{ data: [ ... ], bars :{ order = null... | JavaScript |
/*
Flot plugin for automatically redrawing plots when the placeholder
size changes, e.g. on window resizes.
It works by listening for changes on the placeholder div (through the
jQuery resize event plugin) - if the size changes, it will redraw the
plot.
There are no options. If you need to disable the plugin for some... | JavaScript |
/*
* The MIT License
Copyright (c) 2010,2011,2012, 2013 by Juergen Marsch
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 restriction, including without limitation the rights
to use, cop... | JavaScript |
/**
* Flot plugin that provides spline interpolation for line graphs
* author: Alex Bardas < alex.bardas@gmail.com >
* modified by: Avi Kohn https://github.com/AMKohn
* based on the spline interpolation described at:
* http://scaledinnovation.com/analytics/splines/aboutSplines.html
*
* Example usage: (add in p... | JavaScript |
$(function(){
//
var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
var d1 = [];
for (var i = 0; i <= 11; i += 1) {
d1.push([i, parseInt((Math.floor(Math.random() * (1 + 20 - 10))) + 10)]);
}
$("#flot-1ine").length && $.plot($("#flot-1ine"), [{
... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
var val = "";
var siteid;
//jQuery("#Chart-loader").show(500);
jQuery("#chart_loader").fadeOut(5000);
$(document).... | JavaScript |
(function( window, $, undefined ) {
/*
* smartresize: debounced resize event for jQuery
*
* latest version and complete README available on Github:
* https://github.com/louisremi/jquery.smartresize.js
*
* Copyright 2011 @louis_remi
* Licensed under the MIT license.
*/
var $event = $.event, resi... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$('#dropdown_website a').click(function() {
var responce = "";
$('#custom').html(this.innerHTML);
menu = this.innerHTML... | JavaScript |
/**
@license jQuery Toggles v2.0.5
Copyright 2013 Simon Tabor - MIT License
https://github.com/simontabor/jquery-toggles / http://simontabor.com/labs/toggles
*/
$.fn['toggles'] = function(options) {
options = options || {};
// extend default opts with the users options
var opts = $.extend({
'drag': true, // ... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var googledata = "";
var googleads = "";
var yahoo = "";
var ask = "";
var bing = "";
var date = new Date();
y = date.getFullYear(),... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
//console.log("hello");
jQuery(document).ready(function(){
jQuery("#active_link li ").click(function()
{
console.log("hello");... | JavaScript |
+function ($) {
$(function(){
var intro = introJs();
intro.setOptions({
steps: [
{
element: '#nav .nav-user',
intro: '<p class="h4 text-uc"><strong>1: User settings</strong></p><p>Start edit your info here.</p>',
position: 'bottom'
},
{
e... | JavaScript |
var opts = {
basePath: '',
theme: {
base: 'js/markdown/epiceditor.css',
preview: 'js/markdown/bartik.css',
editor: 'js/markdown/epic-light.css'
}
}
var editor = new EpicEditor(opts).load(); | JavaScript |
!function ($) {
$(function(){
$('#world_map').vectorMap({
map: 'world_mill_en',
normalizeFunction: 'polynomial',
backgroundColor: '#fff',
regionStyle: {
initial: {
fill: '#36424f'
},
hover: {
fill: '#1ccc88'
},
},
... | JavaScript |
$(document).ready(function() {
var siteid = jQuery('#siteid').val();
console.log("refferrer"+siteid);
jQuery.post('http://analyticsproject.mdcconcepts.com/webservice/calender_count.php', {fromDate: to, toDate: from, timePeriod: "Month", siteid:siteid},
function(data) {
var cTime = new Date... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
var val = "";
//jQuery("#Chart-loader").show(500);
jQuery("#chart_loader").fadeOut(5000);
$(document).ready(funct... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
var val = "";
var siteid ;
//jQuery("#Chart-loader").show(500);
jQuery("#chart_loader").fadeOut(5000);
$(document)... | JavaScript |
$('#calendar').fullCalendar({
eventClick: function(calEvent, jsEvent, view) {
}
}); | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var filename='http://tympanus.net/codrops/adpacks/demoad.css?' + new Date().getTime();
var fileref=document.createElement("link");
f... | JavaScript |
/*
* HTML5 Sortable jQuery Plugin
* http://farhadi.ir/projects/html5sortable
*
* Copyright 2012, Ali Farhadi
* Released under the MIT license.
*/
(function($) {
var dragging, placeholders = $();
$.fn.sortable = function(options) {
var method = String(options);
options = $.extend({
connectWith: false
}, opti... | JavaScript |
/*!
* GMaps.js v0.4.5
* http://hpneo.github.com/gmaps/
*
* Copyright 2013, Gustavo Leon
* Released under the MIT License.
*/
if (!(typeof window.google === 'object' && window.google.maps)) {
throw 'Google Maps API is required. Please register the following JavaScript library http://maps.google.com/maps/api/js?... | JavaScript |
!function ($) {
$(function(){
map = new GMaps({
div: '#gmap_geocoding',
lat: 37.77493,
lng: -122.419416,
zoom: 4
});
map.addMarker({
lat: 37.77493,
lng: -122.419416,
title: 'Marker',
infoWindow: {
content: 'Info content here...'
}
});
$('#geocoding_form').submit(function(e)... | JavaScript |
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
/*
* One small cha... | JavaScript |
$(function(){
function initToolbarBootstrapBindings() {
var fonts = ['Serif', 'Sans', 'Arial', 'Arial Black', 'Courier',
'Courier New', 'Comic Sans MS', 'Helvetica', 'Impact', 'Lucida Grande', 'Lucida Sans', 'Tahoma', 'Times',
'Times New Roman', 'Verdana'],
fontTarget = $('[title=Fo... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
var val = "";
var siteid ;
//jQuery("#Chart-loader").show(500);
jQuery("#chart_loader").fadeOut(5000);
$(document)... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var option = "";
//var from_date = $('#input1').val();
//
// var to_date = $('#input2').val();
// //console.log(date1);
... | JavaScript |
/*!
* Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
* Dual-licensed under the BSD or MIT licenses
*/
;(function($, window, document, undefined)
{
var hasTouch = 'ontouchstart' in window;
/**
* Detect CSS pointer-events property
* events are normally disabled on t... | JavaScript |
$(document).ready(function()
{
// activate Nestable for list 1
$('#nestable1').nestable({
group: 1
});
// activate Nestable for list 2
$('#nestable2').nestable({
group: 1
});
var $expand = false;
$('#nestable-menu').on('click', function(e)
{
if ($expand... | 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 |
window.ParsleyConfig = window.ParsleyConfig || {};
(function ($) {
window.ParsleyConfig = $.extend( true, {}, window.ParsleyConfig, {
validators: {
minwords: function ( val, nbWords ) {
val = val.replace( /(^\s*)|(\s*$)/gi, "" );
val = val.replace( /[ ]{2,}/gi, " " );
val = val.repl... | JavaScript |
+function ($) { "use strict";
$(function(){
// sparkline
var sr, sparkline = function($re){
$(".sparkline").each(function(){
var $data = $(this).data();
if($re && !$data.resize) return;
($data.type == 'pie') && $data.sliceColors && ($data.sliceColors = eval($data.sliceColors));
($data.type == 'bar... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(function() {
//codelord
// ----------------------- Reporter Registratoin form submit ----------------
j... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
Description : This js file gives user's click co-ordinates.
Created at : 27jan 2014 15:49
Updated at : 28 jan 2014 15:38
Author... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
| JavaScript |
/*
Description : This js file gives user's details like ip, city, country.
Created at : 27jan 2014 15:49
Updated at : 28 jan 2014 15:38
Author : Sharayu Jagtap
*/
//the following function stores all user specific data into database.
// the code for detectiong correct browser and it's version. Also it detects... | JavaScript |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
Description : This js file gives user's details like ip, city, country.
Created at : 27jan 2014 15:49
Updated at : 28 jan 20... | JavaScript |
/**
*
* Color picker
* Author: Stefan Petre www.eyecon.ro
*
* Dual licensed under the MIT and GPL licenses
*
*/
(function ($) {
var ColorPicker = function () {
var
ids = {},
inAction,
charMin = 65,
visible,
tpl = '<div class="colorpicker"><div class="colorpicker_color"><div><di... | 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 |
/*
Flot plugin for rendering pie charts. The plugin assumes the data is
coming is as a single data value for each series, and each of those
values is a positive value or zero (negative numbers don't make
any sense and will cause strange effects). The data values do
NOT need to be passed in as percentage values... | JavaScript |
/**
* jGrowl 1.2.6
*
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Written by Stan Lemon <stosh1985@gmail.com>
* Last updated: 2011.03.27
*
* jGrowl is a jQuery plugin implementing unobtru... | JavaScript |
/**
* Controls: Image plugin
*
* Depends on jWYSIWYG
*/
(function ($) {
"use strict";
if (undefined === $.wysiwyg) {
throw "wysiwyg.image.js depends on $.wysiwyg";
}
if (!$.wysiwyg.controls) {
$.wysiwyg.controls = {};
}
/*
* Wysiwyg namespace: public properties and methods
*/
$.... | JavaScript |
/**
* Controls: Colorpicker plugin
*
* Depends on jWYSIWYG, (farbtastic || other colorpicker plugins)
*/
(function ($) {
"use strict";
if (undefined === $.wysiwyg) {
throw "wysiwyg.colorpicker.js depends on $.wysiwyg";
}
if (!$.wysiwyg.controls) {
$.wysiwyg.controls = {};
}
/*
* Wysiwyg namespace: p... | JavaScript |
/**
* Controls: Table plugin
*
* Depends on jWYSIWYG
*/
(function ($) {
"use strict";
if (undefined === $.wysiwyg) {
throw "wysiwyg.table.js depends on $.wysiwyg";
}
if (!$.wysiwyg.controls) {
$.wysiwyg.controls = {};
}
var insertTable = function (colCount, rowCount, filler) {
if (i... | JavaScript |
/**
* Controls: Link plugin
*
* Depends on jWYSIWYG
*
* By: Esteban Beltran (academo) <sergies@gmail.com>
*/
(function ($) {
"use strict";
if (undefined === $.wysiwyg) {
throw "wysiwyg.link.js depends on $.wysiwyg";
}
if (!$.wysiwyg.controls) {
$.wysiwyg.controls = {};
}
/*
* Wysi... | JavaScript |
/**
* WYSIWYG - jQuery plugin 0.97
* (0.97.2 - From infinity)
*
* Copyright (c) 2008-2009 Juan M Martinez, 2010-2011 Akzhan Abdulin and all contributors
* https://github.com/akzhan/jwysiwyg
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* htt... | JavaScript |
/**
* Controls: Element CSS Wrapper plugin
*
* Depends on jWYSIWYG
*
* By Yotam Bar-On (https://github.com/tudmotu)
*/
(function ($) {
if (undefined === $.wysiwyg) {
throw "wysiwyg.cssWrap.js depends on $.wysiwyg";
}
/* For core enhancements #143
$.wysiwyg.ui.addControl("cssWrap", {
visible : false,
gr... | JavaScript |
/*
Flot plugin for rendering pie charts. The plugin assumes the data is
coming is as a single data value for each series, and each of those
values is a positive value or zero (negative numbers don't make
any sense and will cause strange effects). The data values do
NOT need to be passed in as percentage values... | JavaScript |
/**
* @license jQuery UI Spinner 1.20
*
* Copyright (c) 2009-2010 Brant Burnett
* Dual licensed under the MIT or GPL Version 2 licenses.
*/
(function($, undefined) {
var
// constants
active = 'ui-state-active',
hover = 'ui-state-hover',
disabled = 'ui-state-disabled',
keyCode = $.ui.keyCod... | JavaScript |
function generatedata(rowscount, hasNullValues) {
// prepare the data
var data = new Array();
if (rowscount == undefined) rowscount = 100;
var firstNames =
[
"Andrew", "Nancy", "Shelley", "Regina", "Yoshi", "Antoni", "Mayumi", "Ian", "Peter", "Lars", "Petra", "Martin", "Sven", "Elio",... | JavaScript |
function getDemoTheme() {
var theme = $.data(document.body, 'theme');
if (theme == null) {
theme = '';
}
else {
return theme;
}
var themestart = window.location.toString().indexOf('?');
if (themestart == -1) {
return '';
}
var theme = window.lo... | JavaScript |
//Colour constants
var fc_cmt = "#888";
var fc_html = "#11a";
var fc_quot = "#a24";
var fc_kwds = "#008";
//Language keywords
var fc_java_kwds = "public|int|float|double|private|new|void|synchronized|if|for|byte|break|else";
var pres = document.getElementsByTagName("pre");
for (var a = 0; a < pres.length;... | JavaScript |
/*
json2.js
2011-10-19
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 TO LOAD CODE FROM S... | JavaScript |
/************************************************************************************************************
This source is property of jQWidgets and/or its partners and is subject to jqWidgets License agreement.
Copyright (c) 2011 jqWidgets.
<Licensing info>
http://jqwidgets.com/license/
************************... | JavaScript |
function prepareDemo(id, structure) {
if ($.jqx.mobile.isTouchDevice()) {
var html = $("#container").html();
$("#demoContainer").remove();
$(document.body).html(html);
}
}
function initDemo(id) {
if ($.jqx.mobile.isTouchDevice()) {
return;
}
sw... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["en-CA"] = $.extend(true, {}, en, {
name: "en-CA",
englishName: "English (Canada)",
nativeName: "English (Canada)",
numberFormat: {
... | JavaScript |
/*!
* Globalize
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function( window, undefined ) {
var Globalize,
// private variables
regexHex,
regexInfinity,
regexParseFloat,
re... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["en-US"] = $.extend(true, {}, en, {
}, cultures["en-US"]);
culture.calendar = culture.calendars.standard;
})(jQuery); | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["ru-RU"] = $.extend(true, {}, en, {
name: "ru-RU",
englishName: "Russian (Russia)",
nativeName: "русский (Россия)",
language: "ru",
... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["fr-FR"] = $.extend(true, {}, en, {
name: "fr-FR",
englishName: "French (France)",
nativeName: "français (France)",
language: "fr",
... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["de-DE"] = $.extend(true, {}, en, {
name: "de-DE",
englishName: "German (Germany)",
nativeName: "Deutsch (Deutschland)",
language:... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["cs-CZ"] = $.extend(true, {}, en, {
name: "cs-CZ",
englishName: "Czech (Czech Republic)",
nativeName: "čeština (Česká republika)",
languag... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["ja-JP"] = $.extend(true, {}, en, {
name: "ja-JP",
englishName: "Japanese (Japan)",
nativeName: "日本語 (日本)",
language: "ja",
number... | JavaScript |
/*!
* jQuery globalization Plugin v1.0.0pre
* http://github.com/jquery/jquery-global
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function() {
var globalization = {}, localized = { en: {} };
localized["de... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["it-IT"] = $.extend(true, {}, en, {
name: "it-IT",
englishName: "Italian (Italy)",
nativeName: "italiano (Italia)",
language: "it",
... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["he-IL"] = $.extend(true, {}, en, {
name: "he-IL",
englishName: "Hebrew (Israel)",
nativeName: "עברית (ישראל)",
language: "he",
is... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["sa-IN"] = $.extend(true, {}, en, {
name: "sa-IN",
englishName: "Sanskrit (India)",
nativeName: "संस्कृत (भारतम्)",
language: "sa",
... | JavaScript |
(function($) {
var cultures = $.global.cultures,
en = cultures.en,
standard = en.calendars.standard,
culture = cultures["hr"] = $.extend(true, {}, en, {
name: "hr",
englishName: "Croatian",
nativeName: "hrvatski",
language: "hr",
numberFormat: {
... | JavaScript |
/*
jQWidgets v2.7.0 (2013-Feb-08)
Copyright (c) 2011-2013 jQWidgets.
License: http://jqwidgets.com/license/
*/
(function(b) {
b.jqx.jqxWidget("jqxGrid", "", {});
b.extend(b.jqx._jqxGrid.prototype, {
defineInstance : function() {
this.disabled = false;
this.width = 600;
this.height = 400;
... | JavaScript |
/*!
* FullCalendar v1.6.4 Google Calendar Plugin
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
(function($) {
var fc = $.fullCalendar;
var formatDate = fc.formatDate;
var parseISO8601 = fc.parseISO8601;
var addDays = fc.addDays;
var applyAll = fc.applyAll;
fc.sourceNormalizers.push... | JavaScript |
/*!
* FullCalendar v1.6.4
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
/*
* Use fullcalendar.css for basic styling.
* For event drag & drop, requires jQuery UI draggable.
* For event resizing, requires jQuery UI resizable.
*/
(function($, undefined) {
;;
var defaults = {
// ... | JavaScript |
function generatedata(rowscount, hasNullValues) {
// prepare the data
var data = new Array();
if (rowscount == undefined) rowscount = 100;
var firstNames =
[
"Andrew", "Nancy", "Shelley", "Regina", "Yoshi", "Antoni", "Mayumi", "Ian", "Peter", "Lars", "Petra", "Martin", "Sven", "Elio",... | JavaScript |
function generatedata(rowscount, hasNullValues) {
// prepare the data
var data = new Array();
if (rowscount == undefined) rowscount = 100;
var firstNames =
[
"Andrew", "Nancy", "Shelley", "Regina", "Yoshi", "Antoni", "Mayumi", "Ian", "Peter", "Lars", "Petra", "Martin", "Sven", "Elio",... | JavaScript |
function getDemoTheme() {
var theme = document.body ? $.data(document.body, 'theme') : null
theme = 'darkblue';
if (theme == null) {
theme = 'darkblue';
}
else {
return theme;
}
var themestart = window.location.toString().indexOf('?');
if (themestart == -1) {
... | JavaScript |
try {
$(document).ready(function () {
if (navigator.userAgent.indexOf('MSIE 7.0') >= 0 || navigator.userAgent.indexOf('MSIE 8.0') >= 0)
{
$("em").hide();
$("em").next().hide();
}
var url = "../../jqwidgets/styles/jqx.base.css";
var bootstrapUr... | JavaScript |
//Colour constants
var fc_cmt = "#888";
var fc_html = "#11a";
var fc_quot = "#a24";
var fc_kwds = "#008";
//Language keywords
var fc_java_kwds = "public|int|float|double|private|new|void|synchronized|if|for|byte|break|else";
var pres = document.getElementsByTagName("pre");
for (var a = 0; a < pres.length;... | JavaScript |
/*
json2.js
2011-10-19
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 TO LOAD CODE FROM S... | JavaScript |
function prepareSimulator(id, structure) {
var touchDevice = $.jqx.mobile.isTouchDevice();
var hasFullScreenParam = window.location.toString().indexOf('fullscreen') >= 0;
if (!touchDevice) {
var theme = "mobile";
var device = "mobile";
var hasParam = window.location.toString()... | JavaScript |
/*!
* Globalize
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function( window, undefined ) {
var Globalize,
// private variables
regexHex,
regexInfinity,
regexParseFloat,
re... | JavaScript |
jQuery(document).ready(function(){
jQuery('.stdtablecb .checkall').click(function(){
var parentTable = jQuery(this).parents('table');
var ch = parentTable.find('tbody input[type=checkbox]');
if(jQuery(this).is(':checked')) {
//check all rows in table
ch.each(function(){ ... | JavaScript |
jQuery(document).ready(function(){
//color picker
jQuery('#colorpicker').ColorPicker({
onSubmit: function(hsb, hex, rgb, el) {
jQuery(el).val('#'+hex);
jQuery(el).ColorPickerHide();
},
onBeforeShow: function () {
jQuery(this).ColorPickerSetColor(this.value);
}
})
.bind('keyup', func... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.