code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/*
Flot plugin for stacking data sets, i.e. putting them on top of each
other, for accumulative graphs.
The plugin assumes the data is sorted on x (or y if stacking
horizontally). For line charts, it is assumed that if a line has an
undefined gap (from a null point), then the line above it should have
the same gap - i... | JavaScript |
/*! Javascript plotting library for jQuery, v. 0.7.
*
* Released under the MIT license by IOLA, December 2007.
*
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration from jQuery color ani... | 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 |
/*
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 beca... | JavaScript |
/**
* @license Highcharts JS v4.0.3 (2014-07-03)
* Exporting module
*
* (c) 2010-2014 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, Math, setTimeout */
(function (Highcharts) { // encapsulate
// create shortcuts
var Chart = Highcharts.Chart... | JavaScript |
$(document).ready(function(){
$(document).on('click', '#showmoney', function(){
if( !$(this).prev().hasClass('show') ){
$(this).prev().slideDown();
$(this).prev().addClass('show');
$(this).html('Ẩn số dư');
}else{
$(this).prev().slideUp();
... | JavaScript |
$(function () {
/*--------------------------------------------------
Plugin: Slider
--------------------------------------------------*/
/* Increment Slider */
$( "#incrementSlider" ).slider({
range: "min",
value:150,
min: 0,
max: 500,
step: 50,
slide: function( event, ui ) {
$( "#incrementAm... | JavaScript |
$(function () {
$('#loading-ex-1').click (function () {
var btn = $(this)
btn.button('loading')
setTimeout(function () {
btn.button('reset')
}, 3000)
})
}) | JavaScript |
$(function () {
if (!$('#area-chart').length) { return false; }
area ();
$(window).resize (target_admin.debounce (area, 250));
});
function area () {
$('#area-chart').empty ();
Morris.Area ({
element: 'area-chart',
data: [
{period: '2010 Q1', iphone: 2666, ipad: null, itouch: 2647},
{period: '201... | JavaScript |
$(function () {
if (!$('#donut-chart').length) { return false; }
donut ();
$(window).resize (target_admin.debounce (donut, 325));
});
function donut () {
$('#donut-chart').empty ();
Morris.Donut({
element: 'donut-chart',
data: [
{label: 'Direct', value: 25 },
{labe... | JavaScript |
$(function () {
if (!$('#bar-chart').length) { return false; }
bar ();
$(window).resize (target_admin.debounce (bar, 325));
});
function bar () {
$('#bar-chart').empty ();
Morris.Bar({
element: 'bar-chart',
data: [
{ y: '2006', a: 100, b: 90, c: 120 },
{ y: '2007', a: 75, b: 65, c: 60 },
{ y: ... | JavaScript |
$(function () {
if (!$('#line-chart').length) { return false; }
line ();
$(window).resize (target_admin.debounce (line, 325));
});
function line () {
$('#line-chart').empty ();
Morris.Line({
element: 'line-chart',
data: [
{ y: '2006', a: 100, b: 90 },
{ y: '2007', a: 75, b: 65 },
{ y: '2008', ... | JavaScript |
$(function () {
var d1, data, chartOptions;
d1 = [
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
[1283299200000, 2700], [1285891200000, 2700], [12... | JavaScript |
$(function () {
var d1, d2, d3, data, chartOptions;
d1 = [
[1325376000000, 1200], [1328054400000, 700], [1330560000000, 1000], [1333238400000, 600],
[1335830400000, 350]
];
d2 = [
[1325376000000, 800], [1328054400000, 600], [1330560000000, 300], [1333238400000, 350],
[13358... | JavaScript |
$(function () {
var data, chartOptions;
data = [
{ label: "Product 1", data: Math.floor (Math.random() * 100 + 250) },
{ label: "Product 2", data: Math.floor (Math.random() * 100 + 350) },
{ label: "Product 3", data: Math.floor (Math.random() * 100 + 650) },
{ label: "Product 4", data: Math.floor (Math.... | JavaScript |
$(function () {
var d1, d2, d3, data, chartOptions;
d1 = [
[1325376000000, 1200], [1328054400000, 700], [1330560000000, 1000], [1333238400000, 600],
[1335830400000, 350]
];
d2 = [
[1325376000000, 800], [1328054400000, 600], [1330560000000, 300], [1333238400000, 350],
[13358... | JavaScript |
$(function () {
var ds=[], data, chartOptions;
ds.push ([[2500, 1],[3400, 2],[3700, 3],[4500, 4]]);
ds.push ([[1300, 1],[2900, 2],[2500, 3],[2300, 4]]);
ds.push ([[800, 1],[1300, 2],[1900, 3],[1500, 4]]);
data = [ {
label: 'Product 1',
data: ds[1]
}, {
label: 'Product 2',
data: ds[0]
... | JavaScript |
$(function () {
var data, chartOptions;
data = [
{ label: "Product 1", data: Math.floor (Math.random() * 100 + 250) },
{ label: "Product 2", data: Math.floor (Math.random() * 100 + 350) },
{ label: "Product 3", data: Math.floor (Math.random() * 100 + 650) },
{ label: "Product 4", data: Math.floor (Math.... | JavaScript |
$(function () {
var d1, d2, data, chartOptions;
d1 = [[0,1],[1,2],[3,8],[5,4],[2,10],[1.2,9],[9,2],[46,41],[22,14],[20,12],[20,25],[7,5],[18,11],[31,20]];
d2 = [[50,40],[24,36],[20,42],[33,41],[51,39],[11,28],[32,16],[38,40],[35,22],[41,30],[21,18]];
data = [{
label: "Total visitors",
... | JavaScript |
$(function () {
var d1, d2, d3, data, chartOptions;
d1 = [
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
[1283299200000, 2700], [1285891200000, 27... | JavaScript |
$(function () {
var ds=[], data, chartOptions;
ds.push ([[2500, 1],[3400, 2],[3700, 3],[4500, 4]]);
ds.push ([[1300, 1],[2900, 2],[2500, 3],[2300, 4]]);
ds.push ([[800, 1],[1300, 2],[1900, 3],[1500, 4]]);
data = [ {
label: 'Product 1',
data: ds[1]
}, {
label: 'Product 2',
data: ds[0]
... | JavaScript |
$(function () {
var d1, d2, data, chartOptions;
d1 = [
[1262304000000, 5], [1264982400000, 200], [1267401600000, 1605], [1270080000000, 1129],
[1272672000000, 1163], [1275350400000, 1905], [1277942400000, 2002], [1280620800000, 2917],
[1283299200000, 2700], [1285891200000, 2700],... | JavaScript |
$(function () {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
$('#full-calendar').fullCalendar({
header: {
left: 'prev,next',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
editable: true,
... | JavaScript |
$(function () {
var sparkOptions = {
type: 'bar'
, height: '35px'
, barWidth: '5px'
, barSpacing: '2px'
};
$('#total-visits').sparkline(
'html', $.extend (sparkOptions, { barColor: target_admin.layoutColors[0] })
);
$('#new-visits').sparkline(
'html', $.extend (sparkOptions, { barColor: target_admin... | JavaScript |
$(function () {
$('.howler').click (function (e) {
$.howl ({
type: $(this).data ('type')
, title: 'Howl Message'
, content: 'Lorem ipsum dolor sit amet, consect adipisicing elit.'
, sticky: $(this).data ('sticky')
, lifetime: 7500
, iconCls: $(this).data ('icon')
});
}... | JavaScript |
$(function () {
$('.select2-input').select2({
placeholder: "Select..."
});
// Just for the demo
$('#time-2').val ('');
}) | JavaScript |
$(function () {
$('#dp-ex-1').datepicker ()
$('#dp-ex-2').datepicker ()
$('#dp-ex-3').datepicker ()
$('#dp-ex-4').datepicker ()
$('#dp-ex-5').datepicker ()
$('#dpStart').datepicker ().on ('changeDate', function (e) {
$('#dpEnd').datepicker ('setStartDate', e.date);
})
$('#dpEnd').datepicker ().on... | JavaScript |
// ------------------------------
// Sidebar Accordion Menu
// ------------------------------
$(function () {
//if($.cookie('admin_leftbar_collapse') === 'collapse-leftbar') {
// $('body').addClass('collapse-leftbar');
//} else {
// $('body').removeClass('collapse-leftbar');
//}
$('body'... | JavaScript |
var target_admin = function () {
"use strict"
var layoutColors = ['#16a085', '#e74c3c', '#428bca', '#333333', '#6685a4', '#E68E8E']
return { init: init, layoutColors: layoutColors, debounce: debounce }
function init () {
initLayoutToggles ()
initNoticeBar ()
navHoverInit ({ delay: { show... | JavaScript |
//! moment.js
//! version : 2.5.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function (undefined) {
/************************************
Constants
************************************/
var moment,
VERSION = "2.5.1",
global =... | JavaScript |
/**
* @version: 1.3.7
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2014-04-29
* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
!function ($, mo... | JavaScript |
M.mod_poasassignment = {};
M.mod_poasassignment.init_tree = function(Y, expand_all, htmlid) {
Y.use('yui2-treeview', function(Y) {
var tree = new YAHOO.widget.TreeView(htmlid);
tree.subscribe("clickEvent", function(node, event) {
// we want normal clicking which redirect... | JavaScript |
/**
* Created by AndreyU on 24.11.13.
*/
$(document).ready(function(){
function updateLessontypes(){
if ($('#id_supervisedmode_2').is(':checked')) {
$('#fgroup_id_lessontypesgroup :input').removeAttr('disabled');
} else {
$('#fgroup_id_lessontypesgroup :input').... | JavaScript |
/**
* Script for preg text+button widget
*
* @copyright 2012 Oleg Sychev, Volgograd State Technical University
* @author Pahomov Dmitry, Terechov Grigory, Volgograd State Technical University
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questions
*/
M.poasquestion_text... | JavaScript |
/**
* Script for button "Check", "Back" and push in interactive tree
*
* @copyright © 2012 Oleg Sychev, Volgograd State Technical University
* @author Pahomov Dmitry, Terechov Grigory, Volgograd State Technical University
* @license http://www.gnu.org/copyleft/gpl.html GNU Public License
* @package questions... | JavaScript |
M.block_role_assign = M.block_role_assign || {};
M.block_role_assign.del_rule = function(Y,rowid,ruleid,courseid,del,message) {
var button = Y.one("#cur_cell" + rowid);
button.on("click", function (e) {
if(confirm(message)){
var params = {
id : ruleid,
course... | JavaScript |
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is dis... | JavaScript |
function selectAll(objectSelectAll, checkboxName) {
var elements = document.getElementsByName(checkboxName);//.getElementsByTagName('input');
var checked = objectSelectAll.checked;
var size = elements.length;
for (i = 0; i < size; i++) {
if (elements[i].type == "checkbox") {
el... | JavaScript |
/*!
* jQuery serializeObject - v0.2 - 1/20/2010
* http://benalman.com/projects/jquery-misc-plugins/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Whereas .serializeArray() serializes a form into an array, .serializeObject()
... | JavaScript |
/* Copyright (c) 2009-2010, Benito Jorge Bastida :: For further information check COPYING */
var Dajax = {
process: function(data)
{
if(data==Dajaxice.EXCEPTION){
alert('Something went wrong, please reload the page.');
}
else{
$.each(data, function(i,elem){
... | JavaScript |
/*!
* jQuery serializeObject - v0.2 - 1/20/2010
* http://benalman.com/projects/jquery-misc-plugins/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Whereas .serializeArray() serializes a form into an array, .serializeObject()
... | JavaScript |
/* Copyright (c) 2009-2010, Benito Jorge Bastida :: For further information check COPYING */
var Dajax = {
process: function(data)
{
if(data==Dajaxice.EXCEPTION){
alert('Something went wrong, please reload the page.');
}
else{
$.each(data, function(i,elem){
... | JavaScript |
/*!
* jQuery serializeObject - v0.2 - 1/20/2010
* http://benalman.com/projects/jquery-misc-plugins/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
// Whereas .serializeArray() serializes a form into an array, .serializeObject()
... | JavaScript |
/* Copyright (c) 2009-2010, Benito Jorge Bastida :: For further information check COPYING */
var Dajax = {
process: function(data)
{
if(data==Dajaxice.EXCEPTION){
alert('Something went wrong, please reload the page.');
}
else{
$.each(data, function(i,elem){
... | JavaScript |
/**
* Creates a new Floor.
* @constructor
* @param {google.maps.Map=} opt_map
*/
function Floor(opt_map) {
/**
* @type Array.<google.maps.MVCObject>
*/
this.overlays_ = [];
/**
* @type boolean
*/
this.shown_ = true;
if (opt_map) {
this.setMap(opt_map);
}
}
/**
* @param {google.maps.M... | JavaScript |
/**
* Creates a new level control.
* @constructor
* @param {IoMap} iomap the IO map controller.
* @param {Array.<string>} levels the levels to create switchers for.
*/
function LevelControl(iomap, levels) {
var that = this;
this.iomap_ = iomap;
this.el_ = this.initDom_(levels);
google.maps.event.addList... | JavaScript |
/**
* @license
*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | JavaScript |
// Copyright 2011 Google
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | JavaScript |
/*!
* validation.js
*
* Client Validation for Bootstrap Forms
*
* Requires use of jQuery.
* Tested with jQuery 1.7
*
* Copyright (c) 2012 Johannes Geppert http://www.jgeppert.com
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/l... | JavaScript |
// Load the Google data JavaScript client library.
google.load('gdata', '2.x', {packages: ['analytics']});
google.load('jquery','1.4.2');
// Set the callback function when the library is ready.
google.setOnLoadCallback(init);
//vars
var profiles = {};
var num_results = 30;
... | JavaScript |
// Copyright 2010 Google Inc. All Rights Reserved.
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | JavaScript |
var d='/';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCkQFjAB&url=http%3A%2F%2Fafowles.blogspot.com%2F&ei=dnhYVIrCOsG0uATNmILgAQ&usg=AFQjCNFuepWaBZy9eITsx7UDAKjG0-axig&sig2=izjDxDaTH-QCPo2LAa0TVQ&bvm=bv.78677474,d.c2E';
| JavaScript |
function AlexaSiteStatsWidget(){
var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var jsUrlRegex = /http:\/\/xslt.alexa.com\/site_stats\/js\/(.)\/(.).*(?:[\?&]|&)url=([^\?&]*)/i;
var jsAmznIdRegex = /http:\/\/xslt.alexa.com\/site_stats\/js\/.*[\?&]amzn_id=([^\?&]*)/i;
... | JavaScript |
var Menu = (function() {
var $container = $( '#rm-container' ),
$cover = $container.find( 'div.rm-cover' ),
$middle = $container.find( 'div.rm-middle' ),
$right = $container.find( 'div.rm-right' ),
$open = $cover.find('a.rm-button-open'),
$close = $right.find('span.rm-close'),
$details = $container... | JavaScript |
angular.module("BaseProjectApp").controller("TestController",["$scope",function($scope){
$scope.var="foo"
}]); | JavaScript |
/* ______________________________________
________| |_______
\ | SmartAdmin WebApp | /
\ | Copyright © 2014 MyOrange | /
/ |______________________________________| \
/__________) ... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time at http://ckeditor.com/builder to build CKEditor aga... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
| JavaScript |
/**
* @license Copyright (c) 2003-2013, 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 = ... | JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'myDialog', function( editor ) {
return {
title: 'My Dialog',
minWidth: 400,
minHeight: 200,
contents: [
{
id: 'tab1',... | JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// Tool scripts for the sample pages.
// This file can be ignored and is not required to make use of CKEditor.
(function() {
// Check for sample compliance.... | JavaScript |
/**
* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
// This file contains style definitions that can be used by CKEditor plugins.
//
// The most common use for it is the "stylescombo" plugin, which shows a combo
... | JavaScript |
$(function () {
$('h1').find('a')
.attr('target', '_blank')
.addClass('edit-page-link')
.text('Edit on GitHub');
// languages
$('[data-language]').each(function (i) {
var $this = $(this),
language = $this.data('language');
// default
if (i === 0)... | JavaScript |
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
* Copyright 2014 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
// Intended to ... | JavaScript |
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT
// IT'S JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++
/*!
* Copyright 2011-2014 Twitter, Inc.
*
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
// Intende... | JavaScript |
/*
* @file sidenav.js
* @author Jianlong Chen <jianlong99@gmail.com>
* @date 2014-03-08
* @update 2014-11-12
*/
(function($) {
'use strict';
function SideNav($el) {
this.$el = $el;
}
SideNav.prototype = {
constructor: SideNav,
init: function(options) {
this.options = options;
... | 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.com/gett... | JavaScript |
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Metadata.
pkg: grunt.file.readJSON('bootstrap-table.jquery.json'),
banner: '/*\n' +
'* <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n' +... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* The ac... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* The ac... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* A few utility funct... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/*
* aciTree jQuery Plugin v4.5.0-rc.7
* http://acoderinsights.ro
*
* Copyright (c) 2014 Dragos Ursu
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Require jQuery Library >= v1.9.0 http://jquery.com
* + aciPlugin >= v1.5.1 https://github.com/dragosu/jquery-aciPlugin
*/
/*
* This extension adds... | JavaScript |
/**
* @preserve jQuery DateTimePicker plugin v2.4.1
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
* (c) 2014, Chupurnov Valeriy.
*/
/*global document,window,jQuery,setTimeout,clearTimeout*/
(function ($) {
'use strict';
var default_options = {
i18n: {
ar: { // Arabic
months: [
"كانون الثا... | JavaScript |
var Menu = (function() {
var $container = $( '#rm-container' ),
$cover = $container.find( 'div.rm-cover' ),
$middle = $container.find( 'div.rm-middle' ),
$right = $container.find( 'div.rm-right' ),
$open = $cover.find('a.rm-button-open'),
$close = $right.find('span.rm-close'),
$details = $container... | JavaScript |
// 非chrome浏览器用虚拟接口
//function(){
// } | JavaScript |
/**
* factory function
*/
function getJSAPI() {
var jsapi = window.jsapi;
if (jsapi == null) {
jsapi = new VirtualJSAPI();
window.jsapi = jsapi;
}
return jsapi;
}
/**
* implements VirtualJSAPI.Pos
*/
function VirtualJSAPI_pos() {
this.color = "b";
this.length = 1;
}
VirtualJSAPI_pos.prototype.getLati... | 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.
*/
//var img_src = "";
$(document).ready(function() {
var val = $('.metric').val()
console.log(val);
var img... | 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 |
/*
* 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() {
$('#slider').bind('click', function(event) {
var id = $(this).attr('id');
... | 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 |
//! moment.js
//! version : 2.5.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function (undefined) {
/************************************
Constants
************************************/
var moment,
VERSION = "2.5.1",
global =... | JavaScript |
/**
* @version: 1.3.4
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2014-03-19
* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
!function ($, mo... | 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, 24th march 10:02
Author : Sharayu Jagtap
*/
var userId = "";
var _userid = localStorage.getItem('_userid');
console.log("pageinfo userid"+_userid);
// alert(_userid);
function ge... | JavaScript |
/*
Description : This js file gives user's click co-ordinates.
Created at : 27jan 2014 15:49
Updated at : 28 jan 2014 15:38
Author : Sharayu Jagtap
*/
/*
folllowing ClickMap function gives us clicking co-ordinates of user.
*/
var _userid = localStorage.getItem('_userid');
//alert(_userid);
function getCo... | JavaScript |
if (document.referrer.indexOf(window.location.host)!=-1)
{
//alert("success");
}
else
{
//alert("fail");
storeUserData();
}
| 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 |
/*
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 |
// Copyright 2006 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.