code
stringlengths
1
2.08M
language
stringclasses
1 value
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.Print', { init : function(ed, url) { ...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { var Event = tinymce.dom.Event; tinymce.create('tinymce.plugins.NonEdita...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.Preview', { init : function(ed, url) { ...
JavaScript
/** * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. */ function writeFlash(p) { writeEmbed( 'D27CDB6E-AE6D-11cf-96B8-444553540000', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 'application/x-s...
JavaScript
tinyMCEPopup.requireLangPack(); var TemplateDialog = { preInit : function() { var url = tinyMCEPopup.getParam("template_external_list_url"); if (url != null) document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { var each = tinymce.each; tinymce.create('tinymce.plugins.TemplatePlugin...
JavaScript
tinyMCE.addI18n('en.template_dlg',{ title:"Templates", label:"Template", desc_label:"Description", desc:"Insert predefined template content", select:"Select a template", preview:"Preview", warning:"Warning: Updating a template with a different one may cause data loss.", mdate_format:"%Y-%m-%d %H:%M:%S", cdate_...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { /** * Auto Resize * * This plugin automatically resizes the conte...
JavaScript
/** * element_common.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ tinyMCEPopup.requireLangPack(); function initCommonAttributes(elm) { var formObj = docume...
JavaScript
/** * abbr.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('abbr'); if (SXE.currentAction == "update") { SXE.showRem...
JavaScript
/** * cite.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('cite'); if (SXE.currentAction == "update") { SXE.showRem...
JavaScript
/** * del.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('del'); if (SXE.currentAction == "update") { setFormValue(...
JavaScript
/** * ins.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('ins'); if (SXE.currentAction == "update") { setFormValue(...
JavaScript
/** * acronym.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('acronym'); if (SXE.currentAction == "update") { SXE.s...
JavaScript
/** * attributes.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { tinyMCEPopup.resizeToInnerSize(); var inst = tinyMCEPopup.editor; var dom ...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', { init : function(ed,...
JavaScript
tinyMCE.addI18n('en.xhtmlxtras_dlg',{ attribute_label_title:"Title", attribute_label_id:"ID", attribute_label_class:"Class", attribute_label_style:"Style", attribute_label_cite:"Cite", attribute_label_datetime:"Date/Time", attribute_label_langdir:"Text Direction", attribute_option_ltr:"Left to right", attribut...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.IESpell', { init : function(ed, url) { ...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.Nonbreaking', { init : function(ed, url)...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.Save', { init : function(ed, url) { ...
JavaScript
tinyMCEPopup.requireLangPack(); var ExampleDialog = { init : function() { var f = document.forms[0]; // Get the selected contents as text and place it in the input f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'}); f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_a...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { // Load plugin specific language pack tinymce.PluginManager.requireLangPa...
JavaScript
tinyMCE.addI18n('en.example_dlg',{ title : 'This is just a example title' });
JavaScript
tinyMCE.addI18n('en.example',{ desc : 'This is just a template button' });
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.BBCodePlugin', { init : function(ed, url...
JavaScript
tinyMCEPopup.requireLangPack(); function init() { tinyMCEPopup.resizeToInnerSize(); document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTM...
JavaScript
tinyMCEPopup.requireLangPack(); var action, orgTableWidth, orgTableHeight, dom = tinyMCEPopup.editor.dom; function insertTable() { var formObj = document.forms[0]; var inst = tinyMCEPopup.editor, dom = inst.dom; var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, cl...
JavaScript
tinyMCEPopup.requireLangPack(); var ed; function init() { ed = tinyMCEPopup.editor; tinyMCEPopup.resizeToInnerSize(); document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); document.getElementById('bordercolor_pi...
JavaScript
tinyMCEPopup.requireLangPack(); var MergeCellsDialog = { init : function() { var f = document.forms[0]; f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1); f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1); }, merge : function() { var func, f = document.forms[0]; tinyMCEPopup.rest...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function(tinymce) { var each = tinymce.each; // Checks if the selection/caret is at ...
JavaScript
tinyMCE.addI18n('en.table_dlg',{ general_tab:"General", advanced_tab:"Advanced", general_props:"General properties", advanced_props:"Advanced properties", rowtype:"Row in table part", title:"Insert/Modify table", width:"Width", height:"Height", cols:"Cols", rows:"Rows", cellspacing:"Cellspacing", cellpaddin...
JavaScript
tinyMCEPopup.requireLangPack(); var SearchReplaceDialog = { init : function(ed) { var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode"); this.switchMode(m); f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string"); // Focus input field f[m + '_panel_searchstri...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { tinymce.create('tinymce.plugins.SearchReplacePlugin', { init : function(...
JavaScript
tinyMCE.addI18n('en.searchreplace_dlg',{ searchnext_desc:"Find again", notfound:"The search has been completed. The search string could not be found.", search_title:"Find", replace_title:"Find/Replace", allreplaced:"All occurrences of the search string were replaced.", findwhat:"Find what", replacewith:"Replace ...
JavaScript
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * Adds auto-save capability to the TinyMCE text editor to rescue content * inadvertently lo...
JavaScript
tinyMCE.addI18n('en.autosave',{ restore_content: "Restore auto-saved content", warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?" });
JavaScript
tinyMCE.addI18n({en:{ common:{ edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?", apply:"Apply", insert:"Insert", update:"Update", cancel:"Cancel", close:"Close", browse:"Browse", class_name:"Class", not_set:"-- Not set --", clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Fi...
JavaScript
tinyMCEPopup.requireLangPack(); tinyMCEPopup.onInit.add(onLoadInit); function saveContent() { tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); tinyMCEPopup.close(); } function onLoadInit() { tinyMCEPopup.resizeToInnerSize(); // Remove Gecko spellchecki...
JavaScript
/** * charmap.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ tinyMCEPopup.requireLangPack(); var charmap = [ ['&nbsp;', '&#160;', true, 'no-break space']...
JavaScript
tinyMCEPopup.requireLangPack(); var AnchorDialog = { init : function(ed) { var action, elm, f = document.forms[0]; this.editor = ed; elm = ed.dom.getParent(ed.selection.getNode(), 'A'); v = ed.dom.getAttrib(elm, 'name'); if (v) { this.action = 'update'; f.anchorName.value = v; } ...
JavaScript
var ImageDialog = { preInit : function() { var url; tinyMCEPopup.requireLangPack(); if (url = tinyMCEPopup.getParam("external_image_list_url")) document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); }, ...
JavaScript
tinyMCEPopup.requireLangPack(); var LinkDialog = { preInit : function() { var url; if (url = tinyMCEPopup.getParam("external_link_list_url")) document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); }, init...
JavaScript
tinyMCEPopup.requireLangPack(); function init() { var ed, tcont; tinyMCEPopup.resizeToInnerSize(); ed = tinyMCEPopup.editor; // Give FF some time window.setTimeout(insertHelpIFrame, 10); tcont = document.getElementById('plugintablecontainer'); document.getElementById('plugins_tab').style.display ...
JavaScript
tinyMCEPopup.requireLangPack(); var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false; var colors = [ "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", "#6600cc...
JavaScript
/** * editor_template_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function(tinymce) { var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce...
JavaScript
tinyMCE.addI18n('en.advanced_dlg',{ about_title:"About TinyMCE", about_general:"About", about_help:"Help", about_license:"License", about_plugins:"Plugins", about_plugin:"Plugin", about_author:"Author", about_version:"Version", about_loaded:"Loaded plugins", anchor_title:"Insert/edit anchor", anchor_name:"An...
JavaScript
tinyMCE.addI18n('en.advanced',{ style_select:"Styles", font_size:"Font size", fontdefault:"Font family", block:"Format", paragraph:"Paragraph", div:"Div", address:"Address", pre:"Preformatted", h1:"Heading 1", h2:"Heading 2", h3:"Heading 3", h4:"Heading 4", h5:"Heading 5", h6:"Heading 6", blockquote:"Blo...
JavaScript
/** * editor_template_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function() { var DOM = tinymce.DOM; // Tell it to load theme specific language pac...
JavaScript
tinyMCE.addI18n('en.simple',{ bold_desc:"Bold (Ctrl+B)", italic_desc:"Italic (Ctrl+I)", underline_desc:"Underline (Ctrl+U)", striketrough_desc:"Strikethrough", bullist_desc:"Unordered list", numlist_desc:"Ordered list", undo_desc:"Undo (Ctrl+Z)", redo_desc:"Redo (Ctrl+Y)", cleanup_desc:"Cleanup messy code" })...
JavaScript
/** * validate.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ /** // String validation: if (!Validator.isEmail('myemail')) alert('Invalid email.'); /...
JavaScript
/** * mctabs.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function MCTabs() { this.settings = []; }; MCTabs.prototype.init = function(settings) { this.s...
JavaScript
/** * editable_selects.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ var TinyMCE_EditableSelects = { editSelectElm : null, init : function() { var nl = ...
JavaScript
/** * form_utils.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme...
JavaScript
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.8 * Revision: 1250 * * Copyright (c) 2009-2013 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL ...
JavaScript
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.8 * Revision: 1250 * * Copyright (c) 2009-2013 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL ...
JavaScript
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.8 * Revision: 1250 * * Copyright (c) 2009-2013 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL ...
JavaScript
/* jQuery.msgBox plugin Copyright 2011, Halil İbrahim Kalyoncu License: BSD modified by Oliver Kopp, 2012. * added support for configurable image paths * a new msgBox can be shown within an existing msgBox */ /* contact : halil@ibrahimkalyoncu.com koppdev@googlemail.com */ // users may change t...
JavaScript
/* Uniform v1.7.5 Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC http://pixelmatrixdesign.com Requires jQuery 1.4 or newer Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on this Disabling text selection is made possible by Mathias Bynens <http://mathiasbynens.be/> and his ...
JavaScript
/* 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 ...
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 jQu...
JavaScript
/* Flot plugin for showing crosshairs, thin lines, when the mouse hovers over the plot. crosshair: { mode: null or "x" or "y" or "xy" color: color lineWidth: number } Set the mode to one of "x", "y" or "xy". The "x" mode enables a vertical crosshair that lets you trace the values on the x a...
JavaScript
/* Flot plugin for adding panning and zooming capabilities to a plot. The default behaviour is double click and scrollwheel up/down to zoom in, drag to pan. The plugin defines plot.zoom({ center }), plot.zoomOut() and plot.pan(offset) so you easily can add custom controls. It also fires a "plotpan" and "plotzoom...
JavaScript
/* Flot plugin that adds some extra symbols for plotting points. The symbols are accessed as strings through the standard symbol choice: series: { points: { symbol: "square" // or "diamond", "triangle", "cross" } } */ (function ($) { function processRawData(plot, series,...
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 ...
JavaScript
/* Flot plugin for thresholding data. Controlled through the option "threshold" in either the global series options series: { threshold: { below: number color: colorspec } } or in a specific series $.plot($("#placeholder"), [{ data: [ ... ], threshold: { ... }}]) The data po...
JavaScript
/* Flot plugin for selecting regions. The plugin defines the following options: selection: { mode: null or "x" or "y" or "xy", color: color } Selection support is enabled by setting the mode to one of "x", "y" or "xy". In "x" mode, the user will only be able to specify the x range, similarly ...
JavaScript
/* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQuery color animation plugin by John Resig. * * Released under the MIT license by Ole Laursen, October 2009. * * Examples: * * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString() * var c = $.c...
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 ...
JavaScript
/* Flot plugin for computing bottoms for filled line and bar charts. The case: you've got two series that you want to fill the area between. In Flot terms, you need to use one as the fill bottom of the other. You can specify the bottom of each data point as the third coordinate manually, or you can use this plug...
JavaScript
/* Flot plugin for rendering pie charts. The plugin assumes the data is coming is as a single data value for each series, and each of those values is a positive value or zero (negative numbers don't make any sense and will cause strange effects). The data values do NOT need to be passed in as percentage values...
JavaScript
/* Flot plugin for plotting images, e.g. useful for putting ticks on a prerendered complex visualization. The data syntax is [[image, x1, y1, x2, y2], ...] where (x1, y1) and (x2, y2) are where you intend the two opposite corners of the image to end up in the plot. Image must be a fully loaded Javascript image (...
JavaScript
// Copyright 2010 htmldrive.net Inc. /** * @projectHomepage http://www.htmldrive.net/go/to/simple-images-scroller * @projectDescription Simple images scroller with jquery plugin * @author htmldrive.net * More script and css style : htmldrive.net * @version 1.0 * @license http://www.apache.org/licenses/LICE...
JavaScript
switch(mod){ case "penduduk": $('#tahun').numberbox({ min:0 }); $('#jumlah_penduduk').numberbox({ min:0, groupSeparator:',' }); $('#jumlah_pencari_kerja').numberbox({ min:0, groupSeparator:',' }); break; case "headline": break; case "potensi": $('#tahun')....
JavaScript
function msglogin() { $.msgBox({ title: "Warning", content: "Silahkan login terlebih dahulu.", type: "warn", buttons: [{ value: "Ok" }], success: function (result) { $("#username").focus(); } }); } tinyMCE.init({ // General options mode : "textareas", editor_selector : "thread_conten...
JavaScript
var kolom ={}; var kolomkaku={}; var tabel = "#grid_"+mod; switch(mod){ case "penduduk": kolom[mod]=[ {field:'ck', checkbox:true}, {field:'tahun',title:'Tahun',width:150}, {field:'jml_penduduk',title:'Jml. Penduduk',width:250,align:'right'}, {field:'jumlah_pen...
JavaScript
// Copyright 2010 htmldrive.net Inc. /** * @projectHomepage http://www.htmldrive.net/welcome/amazon-scroller * @projectDescription Amazon style image and title scroller * @author htmldrive.net * More script and css style : htmldrive.net * @version 1.0 * @license http://www.apache.org/licenses/LICENSE-2.0 */ (...
JavaScript
var frmHeight=getClientHeight(); var frmWidth=getClientWidth(); function getClientHeight(){ var theHeight; if (window.innerHeight) { theHeight=window.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { theHeight=document.documentElement.clientHeight; } el...
JavaScript
/*! * jQuery Form Plugin * version: 3.45.0-2013.10.17 * Requires jQuery v1.5 or later * Copyright (c) 2013 M. Alsup * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses. * https://github.com/ma...
JavaScript
var App = function () { var isMainPage = false; var isMapPage = false; var isIE8 = false; var handleJQVMAP = function () { if (!sample_data) { return; } var showMap = function (name) { jQuery('.vmaps').hide(); jQuery('#vmap_...
JavaScript
$(function() { var app; _.templateSettings = { interpolate : /\{\{(.+?)\}\}/g, // print value: {{ value_name }} evaluate : /\{%([\s\S]+?)%\}/g, // excute code: {% code_to_execute %} escape : /\{%-([\s\S]+?)%\}/g }; // excape H app = { pageIndex: [0, 0, 0], ...
JavaScript
/** * Unicorn Admin Template * Diablo9983 -> diablo9983@gmail.com **/ $(document).ready(function(){ $('input[type=checkbox],input[type=radio],input[type=file]').uniform(); // $('select').select2(); $('.colorpicker').colorpicker(); $('.datepicker').datepicker(); });
JavaScript
$(function() { var app; _.templateSettings = { interpolate : /\{\{(.+?)\}\}/g, // print value: {{ value_name }} evaluate : /\{%([\s\S]+?)%\}/g, // excute code: {% code_to_execute %} escape : /\{%-([\s\S]+?)%\}/g }; // excape H app = { pageIndex: [0, 0, 0, 0...
JavaScript
/** * Unicorn Admin Template * Diablo9983 -> diablo9983@gmail.com **/ $(document).ready(function(){ // === Sidebar navigation === // $('.submenu > a').click(function(e) { e.preventDefault(); var submenu = $(this).siblings('ul'); var li = $(this).parents('li'); var submenus = $('#sidebar li.submenu u...
JavaScript
$(function() { var app; _.templateSettings = { interpolate : /\{\{(.+?)\}\}/g, // print value: {{ value_name }} evaluate : /\{%([\s\S]+?)%\}/g, // excute code: {% code_to_execute %} escape : /\{%-([\s\S]+?)%\}/g }; // excape H app = { pageIndex: [0, 0, 0], ...
JavaScript
/* Uniform v1.7.5 Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC http://pixelmatrixdesign.com Requires jQuery 1.4 or newer Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on this Disabling text selection is made possible by Mathias Bynens <http://mathiasbynens.be/> and his...
JavaScript
!function(){ /* WebOS.init ʼ */ J.ready(function(){ Panel_Body.init(); Panel_Desktop.init(); Panel_topbar.init(); Panel_toolbar.init(); Panel_Deskdiv.init(); Panel_Body.addPanel(Panel_Desktop); Panel_Body.addPanel(Panel_topbar); Panel_Body.addPanel(Panel_toolbar); Panel_Desktop.addPanel(Pa...
JavaScript
/**//**//**//**//**//**//* ** ================================================================================================== ** 类名:1k.js ** 版本:1.0 ** 功能:js类库 ** 示例: --------------------------------------------------------------------------------------------------- 文档:http://www.1kjs.com/...
JavaScript
window.onload = function() { var copyP = document.createElement( 'p' ) ; copyP.className = 'copyright' ; copyP.innerHTML = '&copy; 2007-2013 <a href="http://cksource.com" target="_blank">CKSource</a> - Frederico Knabben . All rights reserved.<br /><br />' ; document.body.appendChild( document.createElement( '...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript
/* * CKFinder * ======== * http://cksource.com/ckfinder * Copyright (C) 2007-2014, CKSource - Frederico Knabben. All rights reserved. * * The software, this file, and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying, or ...
JavaScript