code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
var commandHistory;
var historyIndex;
function showExtendedDebug() {
if (debugWindow != null) {
hideDebug();
}
if (debugWindow == null) {
commandHistory = new Array();
historyIndex = 0;
debugWindow = new Window('debug_window', {className: 'dialog',width:250, height:100, right:4, minWidth:250, bott... | JavaScript |
var debugWindow = null;
function debug(text, reverse) {
if (debugWindow == null)
return;
time = "-"; //new Date();
if (reverse) {
$('debug').innerHTML = time + " " + text + "<br>"+ $('debug').innerHTML;
debugWindow.getContent().scrollTop=0;
}
else {
$('debug').innerHTML += time + " " + text + "<br>";
... | JavaScript |
// Copyright (c) 2006 Sébastien Gruhier (http://xilinus.com, http://itseb.com)
// YOU MUST INCLUDE window.js BEFORE
//
// Object to store hide/show windows status in a cookie
// Just add at the end of your HTML file this javascript line: WindowStore.init()
WindowStore = {
doSetCookie: false,
cookieName: "__window_... | JavaScript |
Effect.ResizeWindow = Class.create();
Object.extend(Object.extend(Effect.ResizeWindow.prototype, Effect.Base.prototype), {
initialize: function(win, top, left, width, height) {
this.window = win;
this.window.resizing = true;
var size = win.getSize();
this.initWidth = parseFloat(size.width);
... | JavaScript |
function show_win(){
win = new Window({
className: "darkX",
title: "请选择目标栏目",
width:350,
height:190,
destroyOnClose: true,
minimizable: false,
maximizable: false
});
win.getContent().update("<h1>Hello world !!</h1>");
win.showCenter();
}
... | JavaScript |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
// the first state depends on style of the object, to hide display:none expected
//
function toggleDisplay(id)
{
elmt=document.getElementById(id);
if(arguments[1]!=null) param=arguments[1];
else param='bl... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @name Store Locator for Google Maps API V3
* @version 0.1
* @author Chris Broadfoot (Google)
* @fileoverview
* This library makes it easy to create a fully-featured Store Locator for
* your business's website.
*/
/**
* @license
*
* Copyright 2012 Google Inc.
*
* License... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* Allows developers to specify a static set of stores to be used in the
* storelocator.
*/
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* Feature model class for Store Locator library.
*/
/**
* 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 Licens... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* An info panel, which complements the map view of the Store Locator.
* Provides a list of stores, location search, feature filter, and directions.
*/
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* This library makes it easy to create a fully-featured Store Locator for
* your business's website.
*/
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wit... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* Store model class for Store Locator library.
*/
/**
* 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 ... | JavaScript |
// Copyright 2012 Google Inc.
/**
* @author Chris Broadfoot (Google)
* @fileoverview
* FeatureSet class for Store Locator library. A mutable, ordered set of
* storeLocator.Features.
*/
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | JavaScript |
// A simple demo showing how to grab places using the Maps API Places Library.
// Useful extensions may include using "name" filtering or "keyword" search.
google.maps.event.addDomListener(window, 'load', function() {
var map = new google.maps.Map(document.getElementById('map-canvas'), {
center: new google.maps.... | JavaScript |
/**
* @implements storeLocator.DataFeed
* @constructor
*/
function MedicareDataSource() {
}
MedicareDataSource.prototype.getStores = function(bounds, features, callback) {
var center = bounds.getCenter();
var that = this;
var audioFeature = this.FEATURES_.getById('Audio-YES');
var wheelchairFeature = this.F... | JavaScript |
google.maps.event.addDomListener(window, 'load', function() {
var map = new google.maps.Map(document.getElementById('map-canvas'), {
center: new google.maps.LatLng(-28, 135),
zoom: 4,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
var panelDiv = document.getElementById('panel');
var data = new Medic... | JavaScript |
/**
* @extends storeLocator.StaticDataFeed
* @constructor
*/
function MedicareDataSource() {
$.extend(this, new storeLocator.StaticDataFeed);
var that = this;
$.get('medicare.csv', function(data) {
that.setStores(that.parse_(data));
});
}
/**
* @const
* @type {!storeLocator.FeatureSet}
* @private
*... | JavaScript |
// Store locator with customisations
// - custom marker
// - custom info window (using Info Bubble)
// - custom info window content (+ store hours)
var ICON = new google.maps.MarkerImage('medicare.png', null, null,
new google.maps.Point(14, 13));
var SHADOW = new google.maps.MarkerImage('medicare-shadow.png', nul... | JavaScript |
var url = window.location.href;
var siteUrl = url.substr(0, url.indexOf('api/manyou/cloud_channel.htm'));
var params = getUrlParams(url);
var action = params['action'];
var identifier = params['identifier'];
setTopFrame();
changPageStatus(identifier);
function changPageStatus(identifier) {
var navTex... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: tree.js 15149 2010-08-19 08:02:46Z monkey $
*/
var icon = new Object();
icon.root = IMGDIR + '/tree_root.gif';
icon.folder = IMGDIR + '/tree_folder.gif';
icon.folderOpen = IMGDIR + '/tree_folderopen.gif... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: bbcode.js 22924 2011-06-01 07:41:29Z monkey $
*/
var re, DISCUZCODE = [];
DISCUZCODE['num'] = '-1';
DISCUZCODE['html'] = [];
EXTRAFUNC['bbcode2html'] = [];
EXTRAFUNC['html2bbcode'] = [];
function addsl... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: admincp.js 22381 2011-05-05 03:05:16Z monkey $
*/
function redirect(url) {
window.location.replace(url);
}
function scrollTopBody() {
return Math.max(document.documentElement.scrollTop, document.body.... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: forum_slide.js 4479 2010-02-27 10:40:20Z liyulong $
*/
if(isUndefined(sliderun)) {
var sliderun = 1;
function slide() {
var s = new Object();
s.slideId = Math.random();
s.slideSpeed = slide... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: home_drag.js 17522 2010-10-20 13:57:03Z monkey $
*/
var Drags = [];
var nDrags = 1;
var mouseOffset = null;
var iMouseDown = false;
var lMouseState = false;
var dragObject = null;
var D... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: md5.js 15149 2010-08-19 08:02:46Z monkey $
*/
var hexcase = 0;
var chrsz = 8;
function hex_md5(s){
return binl2hex(core_md5(str2binl(s), s.length * chrsz));
}
function core_md5(x, len) {
x[len >> 5]... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: logging.js 21541 2011-03-31 02:44:01Z monkey $
*/
function lsSubmit(op) {
var op = !op ? 0 : op;
if(op) {
$('lsform').cookietime.value = 2592000;
}
if($('ls_username').value == '' || $('ls_password... | JavaScript |
var userAgent = navigator.userAgent.toLowerCase();
var is_opera = userAgent.indexOf('opera') != -1 && opera.version();
var is_moz = (navigator.product == 'Gecko') && userAgent.substr(userAgent.indexOf('firefox') + 8, 3);
var is_ie = (userAgent.indexOf('msie') != -1 && !is_opera) && userAgent.substr(userAgent.indexOf... | JavaScript |
//Common
var userAgent = navigator.userAgent.toLowerCase();
var is_opera = userAgent.indexOf('opera') != -1 && opera.version();
var is_moz = (navigator.product == 'Gecko') && userAgent.substr(userAgent.indexOf('firefox') + 8, 3);
var is_ie = (userAgent.indexOf('msie') != -1 && !is_opera) && userAgent.substr(userAge... | JavaScript |
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: soso_smilies.js 84 2011-02-28 14:15:44Z yexinhao $
*/
var sosojs = document.createElement('script');
sosojs.type = 'text/javascript';
sosojs.charset = "utf-8";
sosojs.src = 'http://bq.soso.com/js/sosoex... | JavaScript |
/*
[Discuz!] (C)2001-2007 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$RCSfile: iframe.js,v $
$Revision: 1.9 $
$Date: 2007/05/22 16:54:11 $
*/
function refreshmain(e) {
e = e ? e : window.event;
actualCode = e.keyCode ? e.keyCode : e.charCode;
if(actualCode == 116 && paren... | JavaScript |
function g(o){return document.getElementById(o);}
function HoverLi(n){
for(var i=1;i<=5;i++){g('tb_'+i).className='normaltab';g('tbc_0'+i).className='undis';}g('tbc_0'+n).className='dis';g('tb_'+n).className='hovertab';
} | JavaScript |
// tags5gig for WordPress plugin
function send_wp_editor(html) {
var win = window.dialogArguments || opener || parent || top;
win.send_to_editor(html);
// alternatively
// tinyMCE.execCommand("mceInsertContent", false, html);
}
function insert_link(html_link) {
if ((typeof tinyMCE != "... | JavaScript |
function isSafe(pwd)
{
var i = 0;
var safeLevel = 0;
var patn1 = /.*\d.*/;
var patn2 = /.*[a-z].*/;
var patn3 = /.*[A-Z].*/;
var patn4 = /.*(~|`|!|@|#|\$|%|\^|&|<|>|\*|\(|\)|\?|\[|\]).*/;
///.*(~|`|!|@|#|\$|%|\^|&|<|>).*/;
//.*(\\x5c|~|`|!|@|#|\\$|%|\\^|&|\\*|\\(|\\)|<|>|\\?|/|_|-|\\x7c).*
if(p... | JavaScript |
<!--
var imgPath = "http://192.168.0.52/esb2c/proimg/";
/*
========================
========================
cookie
========================
*/
activeCookie = true;
if(document.cookie==null){
//alert("cookie没有开启!");
activeCookie = false;
}
function getCookie(name) {
if( !activeCookie ) return;
... | JavaScript |
/**//*
url-loading object and a request queue built on top of it
*/
/**//* namespacing object */
var net=new Object();
net.READY_STATE_UNINITIALIZED=0;
net.READY_STATE_LOADING=1;
net.READY_STATE_LOADED=2;
net.READY_STATE_INTERACTIVE=3;
net.READY_STATE_COMPLETE=4;
/**//*--- content loader object for cr... | JavaScript |
/*
* Thickbox 3.1 - One Box To Rule Them All.
* By Cody Lindley (http://www.codylindley.com)
* Copyright (c) 2007 cody lindley
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
var tb_pathToImage = "../images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!!! edit below ... | JavaScript |
<!--
var cal;
var isFocus=false; //是否为焦点
//以上为 寒羽枫 2006-06-25 添加的变量
//选择日期 → 由 寒羽枫 2006-06-25 添加
function SelectDate(obj,strFormat)
{
var date = new Date();
var by = date.getFullYear()-50; //最小值 → 50 年前
var ey = date.getFullYear()+50; //最大值 → 50 年后
//cal = new Calendar(by, ey,1,strFormat... | JavaScript |
// Import the needed java packages and classes
importPackage(java.util);
importClass(javax.swing.JOptionPane)
function putDate() {
TARGET.replaceSelection("This is a dummy proc that inserts the Current Date:\n" + new Date());
TARGET.replaceSelection("\nTab Size of doc = " + AU.getTabSize(TARGET));
} | JavaScript |
jQuery.noConflict();
jQuery(function($) {
/* API method to get paging information */
$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
{
return {
"iStart": oSettings._iDisplayStart,
"iEnd": oSettings.fnDisplayEnd(),
"iLength": oSettings._... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
$('.datepicker').datepicker();
//* Chosen plugin and easy tabs plugin on dashboard *//
$('.chosen').chosen();
$('#tab-container').easytabs({
animationSpeed: 300,
collapsible: false,
});
$('.typeahead').typeahead();
function showTooltip(title, x, y,... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
$('#calendar').fullCalendar({
header: {
left: 'title',
center: '',
right: 'prev,next,today month,agendaWeek,agendaDay'
},
buttonText: {
... | JavaScript |
/*
* jQuery Iframe Transport Plugin 1.7
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint unparam: true, nomen: true */
/*global define, window, document */
(funct... | JavaScript |
var FormFileUpload = function () {
return {
//main function to initiate the module
init: function () {
// Initialize the jQuery File Upload widget:
jQuery('#fileupload').fileupload({
// Uncomment the following to send cross-domain cookies:
//... | JavaScript |
var App = function () {
var handleUniform = function () {
if (!jQuery().uniform) {
return;
}
var test = jQuery("input[type=checkbox]:not(.toggle), input[type=radio]:not(.toggle, .star)");
if (test.size() > 0) {
test.each(function () {
if (... | JavaScript |
/**
* @license Input Mask plugin for jquery
* http://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2013 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 2.2.28
*/
(function ($) {
if ($.fn.inputmask == undefined) {
$.inputmask =... | JavaScript |
/*
* jQuery EasyTabs plugin 3.1.1
*
* Copyright (c) 2010-2011 Steve Schwartz (JangoSteve)
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Date: Tue Jan 26 16:30:00 2012 -0500
*/
( function($) {
$.easytabs ... | 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
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.ht... | JavaScript |
/*!
* jQVMap Version 1.0
*
* http://jqvmap.com
*
* Copyright 2012, Peter Schmalfeldt <manifestinteractive@gmail.com>
* Copyright 2011-2012, Kirill Lebedev
* Licensed under the MIT license.
*
* Fork Me @ https://github.com/manifestinteractive/jqvmap
*/
(function ($) {
var apiParams = {
colors: 1,
va... | JavaScript |
/*!
* FooTable - Awesome Responsive Tables
* Version : 0.5
* http://themergency.com/footable
*
* Requires jQuery - http://jquery.com/
*
* Copyright 2012 Steven Usher & Brad Vincent
* Released under the MIT license
* You are free to use FooTable in commercial projects as long as this copyright header is left i... | JavaScript |
/**
* @license wysihtml5 v0.3.0
* https://github.com/xing/wysihtml5
*
* Author: Christopher Blum (https://github.com/tiff)
*
* Copyright (C) 2012 XING AG
* Licensed under the MIT license (MIT)
*
*/
var wysihtml5 = {
version: "0.3.0",
// namespaces
commands: {},
dom: {},
quirks: {},
... | JavaScript |
/*
* Character Count Plugin - jQuery plugin
* Dynamic character count for text areas and input fields
* written by Alen Grakalic
* http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed u... | JavaScript |
/*
* jQuery MiniColors: A tiny color picker built on jQuery
*
* Copyright Cory LaViska for A Beautiful Site, LLC. (http://www.abeautifulsite.net/)
*
* Dual-licensed under the MIT and GPL Version 2 licenses
*
*/
if(jQuery) (function($) {
// Yay, MiniColors!
$.minicolors = {
// Default settings
defaultSetti... | JavaScript |
/* Flot plugin for selecting regions of a plot.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
The plugin supports these options:
selection: {
mode: null or "x" or "y" or "xy",
color: color,
shape: "round" or "miter" or "bevel",
minSize: number of pixels
}
Selection ... | 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.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
The plugin assumes that each series has a single data value, and that each
value is a positive integer or zero. Negative numbers don't make sense for a
pie chart, and have unpredictable results. Th... | 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 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 |
/*
jQuery Tags Input Plugin 1.3.3
Copyright (c) 2011 XOXCO, Inc
Documentation for this plugin lives here:
http://xoxco.com/clickable/jquery-tags-input
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
ben@xoxco.com
*/
(function($) {
var delimiter = new Array();
var t... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
$(".form_datetime2").datetimepicker({
format: "dd MM yyyy - hh:ii",
autoclose: true,
todayBtn: true,
startDate: "2013-02-14 10:00",
minuteStep: 10,
pickerPosition: "bottom-left"
});
$('.chosen').chosen();
$("#m... | JavaScript |
jQuery(function($) {
// we use an inline data source in the example, usually data would
// be fetched from a server
var data = [], totalPoints = 100;
function getRandomData() {
if (data.length > 0)
data = data.slice(1);
// do a random walk
while (data.length < totalPoints) {
var prev = ... | JavaScript |
/**
* @license
* Highcharts funnel module, Beta
*
* (c) 2010-2012 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
/*global Highcharts */
(function (Highcharts) {
'use strict';
// create shortcuts
var defaultOptions = Highcharts.getOptions(),
defaultPlotOptions = defaultOptions.plotOptions,
serie... | JavaScript |
/**
* @license Data plugin for Highcharts
*
* (c) 2012-2013 Torstein Hønsi
* Last revision 2012-11-27
*
* License: www.highcharts.com/license
*/
/*
* The Highcharts Data plugin is a utility to ease parsing of input sources like
* CSV, HTML tables or grid views into basic configuration options for use
* dire... | JavaScript |
/**
* @license A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* Use it if you like it
*
*/
function RGBColor(color_string)
{
this.ok = false;
// strip any leading #
if (color_string.charAt(0) == '#') { // remov... | JavaScript |
(function (Highcharts, HighchartsAdapter) {
var UNDEFINED,
ALIGN_FACTOR,
ALLOWED_SHAPES,
Chart = Highcharts.Chart,
extend = Highcharts.extend,
each = Highcharts.each,
defaultOptions;
defaultOptions = {
xAxis: 0,
yAxis: 0,
title: {
style: {},
text: "",
x: 0,
y: 0
},
shape: {
params: {
stroke: "... | JavaScript |
/**
* @license Highcharts JS v3.0.2 (2013-06-05)
* Exporting module
*
* (c) 2010-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, Math, setTimeout */
(function (Highcharts) { // encapsulate
// create shortcuts
var Chart = Highcharts.Chart... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.2 (2013-06-05)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear... | JavaScript |
/**
* @license Highcharts JS v3.0.2 (2013-06-05)
* MooTools adapter
*
* (c) 2010-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Fx, $, $extend, $each, $merge, Events, Event, DOMEvent */
(function () {
var win = window,
doc = document,
mooVersion = win.MooTools.ver... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: [0, 0, 250, 500],
stops: [
[0, 'rgb(... | JavaScript |
/**
* Grid theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
stops: [
[0, 'rgb(255,... | JavaScript |
/**
* Skies theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"],
chart: {
className: 'skies',
borderWidth: 0,
plotShadow: true,
plotBackgroundImage: '/demo/gfx/skies.jpg',
plotBackground... | JavaScript |
/**
* Gray theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
stops: [
... | JavaScript |
/**
* Dark blue theme for Highcharts JS
* @author Torstein Hønsi
*/
Highcharts.theme = {
colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
"#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
chart: {
backgroundColor: {
linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 },
stops: [... | JavaScript |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v3.0.2 (2013-06-05)
*
* (c) 2009-2013 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
// JSLint options:
/*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
$('#rootwizard').bootstrapWizard({
'nextSelector': '.next-button',
'previousSelector': '.previous-button',
onTabClick: function (tab, navigation, index) {
return false;
},
onNext: function(tab, navigation, index) {
... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
$(".form_datetime").datetimepicker({
format: 'yyyy-mm-dd hh:ii',
pickerPosition: "bottom-left"
});
$(".form_datetime2").datetimepicker({
format: "dd MM yyyy - hh:ii",
autoclose: true,
todayBtn: true,
startDate: "2013-02-14 10:00"... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
function showTooltip(title, x, y, contents) {
$('<div id="tooltip" class="chart-tooltip"><div class="date">' + title + '<\/div><div class="percentage">Percent: <span>' + x / 10 + '%<\/span><\/div><div class="visits">Visitors: <span>' + x * 12 + '<\/span><\/div><\/div>')... | JavaScript |
/* Dont delete this code!!! This file has to be included in template or template will lose his main functionality */
/* This is main core javascript for properly functioning template - DO NOT DELETE OR EXCLUDE THIS FILE */
jQuery.noConflict();
/** Debounced resize - resizing screen update width and height of some ele... | JavaScript |
jQuery.noConflict();
jQuery(function($) {
$('#colorpicker').minicolors({
textfield: false,
});
$('#tags').tagsInput();
$('#autosize').autosize();
$('.chosen').chosen();
$("#textare_char").charCount({
allowed: 150,
warning: 20,
counterText: 'Characters left: '
});
// Dua... | JavaScript |
HTMLArea.Dialog = function(editor, html, localizer)
{
this.id = { };
this.r_id = { }; // reverse lookup id
this.editor = editor;
this.document = document;
this.rootElem = document.createElement('div');
this.rootElem.className = 'dialog';
this.rootElem.style.position = 'absolute';
this.rootElem.s... | JavaScript |
HTMLArea.PanelDialog = function(editor, side, html, localizer)
{
this.id = { };
this.r_id = { }; // reverse lookup id
this.editor = editor;
this.document = document;
this.rootElem = editor.addPanel(side);
var dialog = this;
if(typeof localizer == 'function')
{
this._lc = localizer;
}
els... | JavaScript |
/*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:--
-- Xinha (is not htmlArea) - http://xinha.gogo.co.nz/
--
-- Use of Xinha is granted by the terms of the htmlArea License (based on
-- BSD license) please read license.txt in this package for details.
--
-- Xin... | JavaScript |
// I18N constants
// LANG: "it", ENCODING: UTF-8
// Author: Mattia Landoni, http://www.webpresident.org/
{
"Bold": "Grassetto",
"Italic": "Corsivo",
"Underline": "Sottolineato",
"Strikethrough": "Barrato",
"Subscript": "Pedice",
"Superscript": "Apice",
"Justify Left": "Sinistra",
"Justify Center": "Ce... | JavaScript |
// I18N constants -- UTF-8
// by Dave Lo -- dlo@interactivetools.com
{
"Bold": "粗體",
"Italic": "斜體",
"Underline": "底線",
"Strikethrough": "刪除線",
"Subscript": "下標",
"Superscript": "上標",
"Justify Left": "位置靠左",
"Justify Center": "位置居中",
"Justify Right": "位置靠右",
"Justify Full": "位置左右平等",
"Ordered List... | JavaScript |
// (c) dynarch.com 2003-2004
// Distributed under the same terms as HTMLArea itself.
function PopupWin(editor, title, handler, initFunction)
{
this.editor = editor;
this.handler = handler;
var dlg = window.open("", "__ha_dialog", "toolbar=no,menubar=no,personalbar=no,width=600,height=600,left=20,top=40,scrollbar... | JavaScript |
// htmlArea v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc.
// This copyright notice MUST stay intact for use (see license.txt).
//
// Portions (c) dynarch.com, 2003-2004
//
// A free WYSIWYG editor replacement for <textarea> fields.
// For full source code and docs, visit http://www.interactivetools.com/
//
... | JavaScript |
// Double Click Plugin for HTMLArea-3.0
// Implementation by Marijn Kampf http://www.marijn.org
// Sponsored by http://www.smiling-faces.com
//
// (c) Marijn Kampf 2004.
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
//
// Cut-n-paste version o... | JavaScript |
// Character Map plugin for HTMLArea
// Sponsored by http://www.systemconcept.de
// Implementation by Holger Hees based on HTMLArea XTD 1.5 (http://mosforge.net/projects/htmlarea3xtd/)
// Original Author - Bernhard Pfeifer novocaine@gmx.net
//
// (c) systemconcept.de 2004
// Distributed under the same terms as H... | JavaScript |
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
"Edit HTML for selected text": "HTML im ausgewählten Bereich bearbeiten",
"Tag Editor": "HTML tag Editor"
};
| JavaScript |
// I18N constants
// LANG: "fr", ENCODING: UTF-8
{
"Edit HTML for selected text": "Editer le code HTML du texte sélectionné",
"Tag Editor": "Editeur de tag HTML"
}; | JavaScript |
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Edit HTML for selected text": "Rediger HTML for den valgte teksten"
}; | JavaScript |
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
{
"Insert/edit horizontal rule": "horizontale Linie einfügen/bearbeiten",
"Horizontal Rule": "Horizontale Linie",
"Layout": "Gestaltung",
"Width:": "Breite:",
"perc... | JavaScript |
// I18N constants
// LANG: "fr", ENCODING: UTF-8
{
"Insert/edit horizontal rule": "Insérer une règle horizontale",
"Horizontal Rule": "Règle horizontale",
"Layout": "Layout",
"Width:": "Largeur",
"percent": "pourcent",
"pixels": "pixels",
"Height:": "Hauteur",
"Alignment:": "Alignement",
"Left": "Gauc... | JavaScript |
// I18N constants
// LANG: "de", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Insert/edit horizontal rule": "Sett inn/ rediger horisontal linje",
"Horizontal Rule": "Horisontal linje",
"Layout": "Oppsett",
"Width:": "Bredde:",
"percent": "prosent",
"pixels": ... | JavaScript |
HorizontalRule._pluginInfo = {
name : "HorizontalRule",
version : "1.0",
developer : "Nelson Bright",
developer_url : "http://www.brightworkweb.com/",
c_owner : "Nelson Bright",
sponsor : "BrightWork, Inc.",
sponsor_url : "http://www.brightworkweb.com/",
license : "htmlAr... | JavaScript |
// Unormat plugin for HTMLArea
function UnFormat(editor) {
this.editor = editor;
var cfg = editor.config;
var self = this;
cfg.registerButton({
id : "unformat",
tooltip : this._lc("Page Cleaner"),
image : editor.imgURL("unformat.gif", "UnFormat"),
textMode : false,
... | JavaScript |
// I18N constants
// LANG: "nl", ENCODING: UTF-8
{
"Page Cleaner": "Pagina Schoonmaker",
"Cleaning Area": "Schoonmaak gebied",
"Selection": "Geselecteerde tekst",
"All": "Alles",
"Cleaning options": "Schoonmaak opties",
"Formatting:": "Format",
"All HTML:": "Alle html",
"Select which types of formatting... | JavaScript |
// I18N constants
// LANG: "de", ENCODING: UTF-8 | ISO-8859-1
{
"Page Cleaner": "Seite bereinigen",
"Cleaning Area": "Reinigungsbereich",
"Selection": "Ausgewählter Bereich",
"All": "Alles",
"Cleaning options": "Reinigungsoptionen",
"Formatting:": "Formatierung:",
"All HTML:": "Ganzes HTML:",
"Select wh... | JavaScript |
// I18N constants
// LANG: "fr", ENCODING: UTF-8
{
"Page Cleaner": "Nettoyeur de page",
"Cleaning Area": "Zone de nettoyage",
"Selection": "Sélection",
"All": "Tout",
"Cleaning options": "Options de nettoyage",
"Formatting:": "Format",
"All HTML:": "Tout le HTML",
"Select which types of formatting you w... | JavaScript |
// I18N constants
// LANG: "no", ENCODING: UTF-8
// translated: Kim Steinhaug, http://www.steinhaug.com/, kim@steinhaug.com
{
"Page Cleaner": "Dokumentvasker",
"Cleaning Area": "Vaskeområde",
"Selection": "Markert område",
"All": "Hele dokumentet",
"Cleaning options": "Vaskemetoder",
"Formatting:": "Formatt... | JavaScript |
// Template plugin for HTMLArea
// Implementation by Udo Schmal based on HTMLArea 3.0
// Original Author - Udo Schmal www.Schaffrath-NeueMedien.de
//
// (c) Udo Schmal & Schaffrath NeueMedien 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.