code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
$(function() {
$(".dial").knob(); // knob
//jQuery UI Sliders
//------------------------
$('#demoskylo').on('click',function(){
$(document).skylo('start');
setTimeout(function(){
$(document).skylo('set',50);
},1000);
setTimeout(function(){
$(document).sk... | JavaScript |
$(function(){
// activate Nestable for list 1
$('#nestable_list_1').nestable({
group: 1
})
.on('change', updateOutput);
// activate Nestable for list 2
$('#nestable_list_2').nestable({
group: 1
})
.on('change', updateOutput);
// output initial serialised da... | JavaScript |
$(function(){
var lineChartData = {
labels : ["January","February","March","April","May","June","July"],
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,1)",
pointColor : "rgba(220,220,220,1)",
... | JavaScript |
$(function(){
//Uncomment the line and switch modes
//$.fn.editable.defaults.mode = 'inline';
//editables
$('#username').editable({
type: 'text',
pk: 1,
name: 'username',
title: 'Enter username'
});
$('#firstname').editable({
validate: function(value) {
... | JavaScript |
// -------------------------------
// Initialize Data Tables
// -------------------------------
$(document).ready(function() {
$('.datatables').dataTable({
"sDom": "<'row'<'col-xs-6'l><'col-xs-6'f>r>t<'row'<'col-xs-6'i><'col-xs-6'p>>",
"sPaginationType": "bootstrap",
"oLanguage": {
... | JavaScript |
// ----------------------
// Inline table editor
// ----------------------
$(function () {
$('#editable td').editable({
closeOnEnter : true,
event:"click",
touch : true,
callback: function(data) {
if( data.fontSize ) {
alert('You changed the font si... | JavaScript |
/**
* Basic Map
*/
$(document).ready(function () {
//Basic Maps
var map = new GMaps({
el:'#basic-map',
lat:-12.043333,
lng:-77.028333
});
GMaps.geolocate({
success:function (position) {
map.setCenter(position.coords.latitude, position.coords.longitude);
... | JavaScript |
// Demo for FullCalendar with Drag/Drop internal
$(document).ready(function() {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
var calendar = $('#calendar-drag').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agen... | JavaScript |
/* Initialize Image Filter and Sort Plugin for Gallery */
$(function(){
$('.gallery').mixitup({
onMixEnd: function() {
onclickofimg();
}
});
});
/* Bind filter with selectbox */
$("#galleryfilter").change(function(e) {
var cat = $("#galleryfilter option:selected").data('filter... | JavaScript |
jQuery(document).ready(function() {
$(".demodrop").pulsate({
color: "#2bbce0",
repeat: 10
});
$("#threads,#comments,#users").niceScroll({horizrailenabled:false,railoffset: {left:0}});
try {
//Easy Pie Chart
$('.easypiechart#returningvisits').easyPieChart({
barColor: "#... | JavaScript |
// -------------------------------
// Demos: Form Components
// -------------------------------
$(function() {
//FSEditor
$(".fullscreen").fseditor({maxHeight: 500});
// iPhone like button Toggle (uncommented because already activated in demo.js)
// $('.toggle').toggles({on:true});
// Autogrow... | JavaScript |
$(function () {
//Interacting with Data Points example
var sin = [], cos = [];
for (var i = 0; i < 14; i += 0.5) {
sin.push([i, Math.sin(i) / i]);
cos.push([i, Math.cos(i)]);
}
var plot = $.plot($("#sincos"),
[{ data: sin, label: "sin(x)/x" }, { data: cos, label: "cos(x)"... | JavaScript |
$(document).ready(function(){
$("#demo").click(function(){
bootstro.start(".bootstro", {
onComplete : function(params)
{
alert("Reached end of introduction with total " + (params.idx + 1)+ " slides");
},
onExit : function(params)
{
alert("Introduction stopped at slide #" + (params.idx + 1));
... | JavaScript |
$(function() {
//Parsley Form Validation
//While the JS is not usually required in Parsley, we will be modifying
//the default classes so it plays well with Bootstrap
$('#validate-form').parsley({
successClass: 'has-success',
errorClass: 'has-error',
errors: {
classHandl... | JavaScript |
$(function() { $('.mask').inputmask(); }); | JavaScript |
$(function(){
Morris.Line({
element: 'line-example',
data: [
{ y: '2006', a: 100, b: 90 },
{ y: '2007', a: 75, b: 65 },
{ y: '2008', a: 50, b: 40 },
{ y: '2009', a: 75, b: 65 },
{ y: '2010', a: 50, b: 40 },
{ y: '2011', a: 7... | JavaScript |
$(document).ready(function() {
//Load Wizards
$('#basicwizard').stepy();
$('#wizard').stepy({finishButton: true, titleClick: true, block: true, validate: true});
//Add Wizard Compability - see docs
$('.stepy-navigator').wrapInner('<div class="pull-right"></div>');
//Make Validation Compabilit... | JavaScript |
$(function(){
var lineChartData = {
labels : ["January","February","March","April","May","June","July"],
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,1)",
pointColor : "rgba(220,220,220,1)",
... | JavaScript |
$(function(){
//Default
$('#crop-default').Jcrop();
//Event Handler
$('#crop-handler').Jcrop({
onChange: showCoords,
onSelect: showCoords
});
function showCoords(c)
{
$('#x1').val(c.x);
$('#y1').val(c.y);
$('#x2').val(c.x2);
$('#y2').val(c.y2);
$('#w').val(c.w);
$('#h').val(c.h);
};
}); | JavaScript |
// -------------------------------
// Demos
// -------------------------------
$(document).ready(
function() {
$('.popovers').popover({container: 'body', trigger: 'hover', placement: 'top'}); //bootstrap's popover
$('.tooltips').tooltip(); //bootstrap's tooltip
$(".chathistory").niceScroll({horizrailenab... | JavaScript |
jQuery(document).ready(function() {
jQuery('#worldmap').vectorMap({
map: 'world_en',
backgroundColor: 'transparent',
color: '#f5f5f5',
hoverOpacity: 0.7,
selectedColor: '#0264d2',
enableZoom: true,
showTooltip: true,
values: sample_data,
scaleC... | JavaScript |
/**
Script: Slideshow.js
Slideshow - A javascript class for Mootools to stream and animate the presentation of images on your website.
License:
MIT-style license.
Copyright:
Copyright (c) 2008 [Aeron Glemann](http://www.electricprism.com/aeron/).
Dependencies:
Mootools 1.2 Core: Fx.Morph, Fx.Tween, Selectors, El... | JavaScript |
// -----------------------------------------------------------------------------------
//
// Lightbox v2.04
// by Lokesh Dhakar - http://www.lokeshdhakar.com
// Last Modification: 2/9/08
//
// For more information, visit:
// http://lokeshdhakar.com/projects/lightbox2/
//
// Licensed under the Creative Commons Attributi... | JavaScript |
// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software")... | JavaScript |
/**
* hoverIntent is similar to jQuery's built-in "hover" function except that
* instead of firing the onMouseOver event immediately, hoverIntent checks
* to see if the user's mouse has slowed down (beneath the sensitivity
* threshold) before firing the onMouseOver event.
*
* hoverIntent r6 // 2011.02.26 // jQuery 1.5... | 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.
*
* @examp... | JavaScript |
// script.aculo.us builder.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/
va... | JavaScript |
//Gradual Elements Fader- By Dynamic Drive at http://www.dynamicdrive.com
//Last updated: Nov 8th, 07'
var gfader={}
gfader.baseopacity=0 //set base opacity when mouse isn't over element (decimal below 1)
gfader.increment=0.2 //amount of opacity to increase after each iteration (suggestion: 0.1 or 0.2)
document.writ... | JavaScript |
/**
* @license Copyright (c) 2003-2012, 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-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
| JavaScript |
/**
* @license Copyright (c) 2003-2012, 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 the complete reference:
// http://docs.ckeditor.com/#... | JavaScript |
/**
* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html 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 comb... | JavaScript |
/*
SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
;var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="... | 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-timepicker
http://jonthornton.github.com/jquery-timepicker/
requires jQuery 1.7+
************************/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else {
... | JavaScript |
/************************************************************************
*************************************************************************
@Name : jNotify - jQuery Plugin
@Revison : 2.1
@Date : 18/01/2011
@Author: ALPIXEL (www.myjqueryplugins.com - www.alpixel.fr)
@Support: FF, IE... | JavaScript |
/*
* jQuery showLoading plugin v1.0
*
* Copyright (c) 2009 Jim Keller
* Context - http://www.contextllc.com
*
* Dual licensed under the MIT and GPL licenses.
*
*/
jQuery.fn.showLoading = function(options) {
var indicatorID;
var settings = {
'addClass': '',
'... | JavaScript |
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and delta... | JavaScript |
/*
* Inline Form Validation Engine 2.6, jQuery plugin
*
* Copyright(c) 2010, Cedric Dugas
* http://www.position-absolute.com
*
* 2.0 Rewrite by Olivier Refalo
* http://www.crionics.com
*
* Form validation engine allowing custom regex rules to be added.
* Licensed under the MIT License
*/
(function($) {
... | JavaScript |
(function($){
$.fn.validationEngineLanguage = function(){
};
$.validationEngineLanguage = {
newLang: function(){
$.validationEngineLanguage.allRules = {
"required": { // Add your regex rules here, you can take telephone as an example
"regex": "n... | JavaScript |
$(document).ready(function() {
// Our Confirm method
function Confirm(question, callback) {
// Content will consist of the question and ok/cancel buttons
var message = $('<p />', { text: question }),
ok = $('<button />', {
text: 'Ok',
click: function(... | JavaScript |
/*!
* Media helper for fancyBox
* version: 1.0.5 (Tue, 23 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* media: true
* }
* });
*
* Set custom URL parameters:
* $(".fancybox").fancybox({
* helpers : {
* ... | JavaScript |
/*!
* Buttons helper for fancyBox
* version: 1.0.5 (Mon, 15 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* buttons: {
* position : 'top'
* }
* }
* });
*
*/
(function ($) {
//Shortcut for ... | JavaScript |
/*!
* Thumbnail helper for fancyBox
* version: 1.0.7 (Mon, 01 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* thumbs: {
* width : 50,
* height : 50
* }
* }
* });
*
*/
(fun... | JavaScript |
$(document).ready(function() {
// Our Confirm method
function Confirm(question, callback) {
// Content will consist of the question and ok/cancel buttons
var message = $('<p />', { text: question }),
cancel = $('<button />', {
text: 'Yes',
... | JavaScript |
/********************************************************************************/
// <copyright file="Utility.js" company="Asia E-Business Solutions">
// Copyright © 2012. All right reserved
// </copyright>
//
// <history>
// <change who="Hieu Nguyen" date="20/12/2012 2:53:02 PM">Created</change>
// <hist... | JavaScript |
/*
* jQuery EasIng v1.1.2 - 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
*/
// t: current... | JavaScript |
/**
* jQuery Geocoding and Places Autocomplete Plugin - V 1.4
*
* @author Martin Kleppe <kleppe@ubilabs.net>, 2012
* @author Ubilabs http://ubilabs.net, 2012
* @license MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
// # $.geocomplete()
// ## jQuery Geocoding and Places Autocomplete Plugin -... | 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 |
/*
* 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 |
(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 |
/*
* Supersubs v0.2b - jQuery plugin
* 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
*
*
* This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
* th... | 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 |
/**
* @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 List DragSort v0.5.1
// Website: http://dragsort.codeplex.com/
// License: http://dragsort.codeplex.com/license
(function($) {
$.fn.dragsort = function(options) {
if (options == "destroy") {
$(this.selector).trigger("dragsort-uninit");
return;
}
var opts = $.extend({}, $.fn.dragsor... | JavaScript |
/**
* Really Simple Color Picker in jQuery
*
* Licensed under the MIT (MIT-LICENSE.txt) licenses.
*
* Copyright (c) 2008-2012
* Lakshan Perera (www.laktek.com) & Daniel Lacy (daniellacy.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docum... | 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 |
// ==UserScript==
// @name Tieba Voice
// @author googleGuard
// @version 1.1
// @include http://tieba.baidu.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
(function(f){
document.documentElement.appendChild(document.createElement('script')).textContent = '(' + f + ')()'
})(function(){
$('body').off(... | JavaScript |
// ==UserScript==
// @name Popup Search
// @author lkytal
// @namespace Lkytal
// @homepage http://coldfire.qiniudn.com/
// @description Popup Search Box and translate Button (etc) for selected Text
// @include *
// @require http://code.jquery.com/jquery-2.1.1.min.js
// @version 2.6.3
// ... | JavaScript |
// use script only if javascript is availible
document.getElementById("questions").className = "questions";
var offset = 0;
// set first number as main
document.getElementById("cell1").className = "current";
// when back is clicked, change the highlighted number and slide to previous question
document.getElemen... | JavaScript |
// Recent Comment Script for Blogger with Auto Refresh & Notification by Ravi_Rezpector_ID
var cm_config_defaults = {
home_page: "http://46004600.blogspot.com/",
max_result: 17,
t_w: 32,
t_h: 32,
summary: 9999,
new_tab_link: true,
ct_id: "comments-container",
new_cm: " Komentar Baru!",
interval: 30... | JavaScript |
function tabview_aux(TabViewId, id)
{
var TabView = document.getElementById(TabViewId);
// ----- Tabs -----
var Tabs = TabView.firstChild;
while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;
var Tab = Tabs.firstChild;
var i = 0;
do
{
if (Tab.tagName == "A")
{
i... | JavaScript |
<script type='text/javascript'>
//<![CDATA[
// sidebar
$(function(){$('#sidebar-wrapper .widget-content').hide();$('#sidebar-wrapper h2:first').addClass('active').next().slideDown('slow');$('#sidebar-wrapper h2').css('cursor','pointer').click(function(){$('#sidebar-wrapper h2').removeClass('active').next().slideUp('slo... | JavaScript |
/************************************************************************/
/* Rainbow Links Version 1.03 (2003.9.20) */
/* Script updated by Dynamicdrive.com for IE6 */
/* Copyright (C) 1999-2001 TAKANASHI Mizuki */
/* takanasi@hama... | JavaScript |
function toggle_private() {
// Search for any private/public links on this page. Store
// their old text in "cmd," so we will know what action to
// take; and change their text to the opposite action.
var cmd = "?";
var elts = document.getElementsByTagName("a");
for(var ... | JavaScript |
(function() {
function middle_valign_site_header() {
var element = $('#site_header');
if (element.length) {
if ($(window).innerWidth() >= 768)
element.css('margin-top', (element.parent().height() - element.height()) / 2);
else
element.css('margin-top', "");
}
}
function set_body()
... | JavaScript |
/*
Holder - 1.9 - client side image placeholders
(c) 2012-2013 Ivan Malopinsky / http://imsky.co
Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
Commercial use requires attribution.
*/
var Holder = Holder || {};
(function (app, win) {
var preempted = false,
fallback = false,
canva... | JavaScript |
var slug = function(str) {
str = str.replace(/^\s+|\s+$/g, ''); // trim
str = str.toLowerCase();
// remove accents, swap ñ for n, etc
var from = "·/_,:;áàảãạặẳắằẵăâấầẩẫậóòỏõọôốồổỗộơớờởỡợéèẻẽẹêếềểễệúùủũụưứừửữựíìĩỉịýỳỷỹỵđ";
var to = "------aaaaaaaaaaaaaaaaaoooooooooooooooooeeeeeeeeeeeuuuuuuuuuuuiiiiiyy... | JavaScript |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | JavaScript |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... | JavaScript |
jQuery(document).ready(function() {
jQuery('.actionBrowse').click(function() {
var itemLocator = jQuery(jQuery(this)).parent().parent();
window.send_to_editor = function(html) {
imgurlInput = jQuery('img',html).attr('src');
imgurl = imgurlInput.replace("http://"+window.location.hostname, ""... | JavaScript |
(function() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPack('example');
tinymce.create('tinymce.plugins.ExamplePlugin', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has fi... | JavaScript |
jQuery(document).ready(function() {
jQuery('.actionBrowse').click(function() {
var itemLocator = jQuery(jQuery(this)).parent().parent();
window.send_to_editor = function(html) {
imgurlInput = jQuery('img',html).attr('src');
imgurl = imgurlInput.replace("http://"+window.location.hostname, ""... | JavaScript |
(function() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPack('example');
tinymce.create('tinymce.plugins.ExamplePlugin', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has fi... | 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 |
<!-- The code and license for this plugin can be found at https://github.com/javatechig/phonegap-sms-plugin -->
var SmsPlugin = function () {};
SmsPlugin.prototype.send = function (phone, message, method, successCallback, failureCallback) {
return cordova.exec(successCallback, failureCallback, 'SmsPlugin... | JavaScript |
jQuery("#scores").buttonset();
jQuery("input[name='scores']", jQuery('#scores')).change(
function (e) {
if (jQuery(this).val() == "1") {
jQuery("#test2").hide();
jQuery("#test1").show();
jQuery("#test3").hide();
}
if (jQuery(this).val() == "2") {
jQuery("#test1").hide();
... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
// Copyright 2012 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
//
// Unless required by applicable... | JavaScript |
$().ready(function () {
$("#DepartStartDate,#DepartEndDate").datepicker({
dateFormat: 'yy年mm月dd日',
numberOfMonths: 3,
beforeShow: DepartDateRange
});
$("#LeaveStartDate,#LeaveEndDate").datepicker({
dateFormat: 'yy年mm月dd日',
numberOfMonths: 3,
before... | JavaScript |
/*
[===========================================================================]
[ Copyright (c) 2009, Helori LAMBERTY ]
[ All rights reserved. ]
[ ]
... | JavaScript |
$().ready(function () {
var dates = $("#StartDateTime,#EndDateTime").datepicker({
dateFormat: 'yy年mm月dd日',
numberOfMonths: 3,
onSelect: function (selectedDate) {
var option = this.id == "StartDateTime" ? "minDate" : "maxDate",
instance = $(this).data("datepicker"),
... | JavaScript |
$().ready(function () {
var dates = $("#StartDateTime,#EndDateTime").datepicker({
dateFormat: 'yy年mm月dd日',
numberOfMonths: 3,
onSelect: function (selectedDate) {
var option = this.id == "StartDateTime" ? "minDate" : "maxDate",
instance = $(this).data("datepicker"),
... | JavaScript |
$().ready(function () {
$("form").submit(function () {
if ($(".input-validation-error").length == 0) {
$(".btn-container input").css("disable", "disable");
$(".btn-container input").val("Uploading……");
}
});
}); | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.