code
stringlengths
1
2.08M
language
stringclasses
1 value
;(function($){ /** * jqGrid extension for SubGrid Data * 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 **/ $.jgrid.extend({ setSubGrid : function () {...
JavaScript
// Grouping module ;(function($){ $.jgrid.extend({ groupingSetup : function () { return this.each(function (){ var $t = this, grp = $t.p.groupingView; if(grp !== null && ( (typeof grp === 'object') || $.isFunction(grp) ) ) { if(!grp.groupField.length) { $t.p.grouping = false; ...
JavaScript
/* * jQuery UI Multiselect * * Authors: * Michael Aufreiter (quasipartikel.at) * Yanick Rochon (yanick.rochon[at]gmail[dot]com) * * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://www.quasipartikel.at/multiselect/ * * * Depends: * ui.core.js * ui.sortab...
JavaScript
;(function($){ /** * jqGrid Ukrainian Translation v1.0 02.07.2009 * Sergey Dyagovchenko * http://d.sumy.ua * 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: "Перегляд {0...
JavaScript
;(function($){ /** * jqGrid Catalan Translation * Traducció jqGrid en Catatà per Faserline, S.L. * http://www.faserline.com * 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 : { recordt...
JavaScript
;(function($){ /** * jqGrid Hebrew Translation * Shuki Shukrun shukrun.shuki@gmail.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: "מצי...
JavaScript
;(function($){ /** * jqGrid Spanish Translation * Traduccion jqGrid en Español por Yamil Bracho * Traduccion corregida y ampliada por Faserline, S.L. * http://www.faserline.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licen...
JavaScript
;(function($){ /** * jqGrid Polish Translation * Łukasz Schab * http://FreeTree.pl * 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: "Pokaż {0} - {1} z {2}", empty...
JavaScript
;(function($){ /** * jqGrid German Translation * Version 1.0.0 (developed for jQuery Grid 3.3.1) * Olaf Klöppel opensource@blue-hit.de * http://blue-hit.de/ * * Updated for jqGrid 3.8 * Andreas Flack * http://www.contentcontrol-berlin.de * * Dual licensed under the MIT and GPL licenses: * http:/...
JavaScript
;(function($){ /** * jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru) * Sergey Dyagovchenko * http://d.sumy.ua * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/...
JavaScript
;(function($){ /** * jqGrid Swedish Translation * Harald Normann harald.normann@wts.se, harald.normann@gmail.com * http://www.worldteamsoftware.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { ...
JavaScript
(function(a) { a.jgrid = { defaults: { recordtext: "regels {0} - {1} van {2}", emptyrecords: "Geen data gevonden.", loadtext: "laden...", pgtext: "pagina {0} van {1}" }, search: { caption: "Zoeken.....
JavaScript
;(function ($) { /** * jqGrid Persian Translation * 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: "نمابش {0} - {1} از {2}", emptyrecords: "رک...
JavaScript
;(function($){ /** * jqGrid Brazilian-Portuguese Translation * Sergio Righi sergio.righi@gmail.com * http://curve.com.br * 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...
JavaScript
;(function($){ /** * jqGrid Turkish Translation * Erhan Gündoğan (erhan@trposta.net) * http://blog.zakkum.com * 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: "{0}-{1} ...
JavaScript
;(function($){ /** * jqGrid Danish Translation * Aesiras A/S * http://www.aesiras.dk * 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: "Vis {0} - {1} of {2}", empt...
JavaScript
;(function($){ /** * jqGrid Romanian Translation * Alexandru Emil Lupu contact@alecslupu.ro * http://www.alecslupu.ro/ * 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:...
JavaScript
;(function($){ /** * jqGrid Greek (el) Translation * Alex Cicovic * http://www.alexcicovic.com * 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} - {1} of {2}",...
JavaScript
;(function($){ /** * jqGrid Icelandic Translation * jtm@hi.is Univercity of Iceland * 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} - {1} of {2}", emptyr...
JavaScript
;(function($){ /** * jqGrid Chinese 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 u3000 SPACE for ...
JavaScript
;(function($){ /** * jqGrid Bulgarian 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: "{0} - {1}...
JavaScript
;(function($){ /** * jqGrid Japanese Translation * OKADA Yoshitada okada.dev@sth.jp * 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: "{2} \u...
JavaScript
;(function($){ /** * jqGrid (fi) Finnish Translation * Jukka Inkeri awot.fi 2010-05-19 Version * http://awot.fi * 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: "N&...
JavaScript
;(function($){ /** * jqGrid Galician Translation * Translated by Jorge Barreiro <yortx.barry@gmail.com> * 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: "Amosando {0} - {...
JavaScript
;(function($){ /** * jqGrid Serbian Translation * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.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 = { d...
JavaScript
;(function($){ /** * jqGrid French 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: "Enregistremen...
JavaScript
;(function($){ /** * jqGrid Czech Translation * Pavel Jirak pavel.jirak@jipas.cz * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz * 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 **/ ...
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
;(function($){ /** * jqGrid Hungarian Translation * Őrszigety Ádám udx6bs@freemail.hu * 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: "Ol...
JavaScript
;(function($){ /** * jqGrid Slovak Translation * Milan Cibulka * 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: "Zobrazených {0} - {1} z {2}...
JavaScript
/*! * jQuery JavaScript Library v1.5 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. *...
JavaScript
/** * This jQuery plugin displays pagination links inside the selected elements. * * This plugin needs at least jQuery 1.4.2 * * @author Gabriel Birke (birke *at* d-scribe *dot* de) * @version 2.2 * @param {int} maxentries Number of entries to paginate * @param {Object} opts Several options (see README for doc...
JavaScript
/*********************************************************************************************************/ /* 文件目的 :定义一些jquery.pagination分页插件的扩展 /* 创建人 :王安生 /* 创建时间 :2013-04-10 /*********************************************************************************************************/ $.createPager = funct...
JavaScript
var iHeight = 0; var iTop = 0; var clientHeight = 0; var iIntervalId = null; var itemsSize = 0; var isHave = 0; var s_pageNo = 0; // 当前页数,默认设为第 1 页 // 添加定时检测事件,每1秒检测一次 iIntervalId = setInterval("_onScroll();", 1000); // 取得当前页面显示所占用的高度 function getPageHeight() { if (document.body.clientHeight &...
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
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00...
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
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00...
JavaScript
/*********************************************************************************************************/ /* 文件目的 :定义一些jQuery扩展 /* 创建人 :王安生 /* 创建时间 :2013-04-01 /*********************************************************************************************************/ /// <summary> /// Jquery ajax(Post方式...
JavaScript
/*! * jQuery JavaScript Library v1.3.2 * http://jquery.com/ * * Copyright (c) 2009 John Resig * Dual licensed under the MIT and GPL licenses. * http://docs.jquery.com/License * * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) * Revision: 6246 */ (function(){ var // Will speed up reference...
JavaScript
var $radomvalue = ""; //页面加载时初始化下拉列表 $(document).ready(function () { pageInit(0); ControlAddShow(0) var tnow = new Date(); $radomvalue = checkTime(tnow.getHours()).toString() + checkTime(tnow.getMinutes()).toString() + checkTime(tnow.getSeconds()).toString() + tnow.getMilliseconds().toString();...
JavaScript
var $pageSize = "12"; var $pageIndex = 0; var $queryCondition = ""; $(document).ready(function () { $("#btnQuery").click(function () { var $fatherStr = "wlbm." + $("#txtMtrlCode").val(); if ($("#selMtrlNo").val() == "-1") { $fatherStr = $("#selBig").val() + "." + $("#selSmall")...
JavaScript
/*******************************************************************数据加载**************************************************************************************************************************/ function DataBindNoPager(pagename, isFirst, param, wait, statustext, head, show, more, pagesize, pageindex) { if (isF...
JavaScript
/* * This file has been commented to support Visual Studio Intellisense. * You should not use this file at runtime inside the browser--it is only * intended to be used only for design-time IntelliSense. Please use the * standard jQuery library for all production use. * * Comment version: 1.3.2b */ /* * jQuery...
JavaScript
/*处理js对象,序列化为json格式*/ function Serialize(obj) { if (obj == null || typeof (obj) == 'undefined') return "null"; switch (obj.constructor) { case Object: var str = "{"; for (var o in obj) { str += o + ":" + Serialize(obj[o]) + ","; } ...
JavaScript
/// <reference path="Common/jquery-1.4.4.js" /> function loginCallBack(isSucess) { if ($("#mod_login_tip")[0] == null) { $("body").append(errorHtml); bindCloseEvent($("#mod_login_close"), $("#mod_login_tip")); } if (!isSucess) { $("#mod_login_title").text("登录名或密码错误"); ...
JavaScript
 var career = {}; career.action = "create"; career.curCareer = -1; career.createHtml = ""; career.initCreateBox = function (cobject) { var city = $("select[name='city']"); var province = $("select[name='province']"); var company = $("#company"); var remark = $("#remark"); var selCompany =...
JavaScript
 $(function () { var jcrop_api; var defWidth = 300; var defHeight = 300; var curWidth = 0; var curHeight = 0; var rate = defWidth / defHeight; var zoom = 1; var size = { x: 0, y: 0, x1: 300, y1: 300 }; function showPreview(coords) { showPreview_30(coords); ...
JavaScript
 var bufferCount = 0; var isLoaded = true; var ajaxGetMiniBlog = function (ishashchange, isBufferRetry) { var url; if (!window.location.hash || window.location.hash.indexOf('#!') < 0) { url = window.location.href; if (ishashchange) { $(window).scrollTop(0); $(...
JavaScript
 var btnMore = $(".moreti"); var groupList = $(".nfTaglay"); var groupItem = $(".sltmenu"); var btnMagGroup = $("#btnManageGroup"); if (groupItem[0] != null && btnMagGroup[0] != null) { groupItem.JQP_ClickOther(function () { groupItem.hide(); }); btnMagGroup.click(function (e) { e...
JavaScript
 $(document).ready(function () { App.TimerFunArray.push(App.ajaxAtWho); App.StartTimer(); App.bindGoTop(curBorder); }); var follow = function (id, name, alink) { if (alink.locked) return; alink.locked = true; App.FollowOne(id, name, function (ID, Name, O) { if...
JavaScript
var box; var boxSettints = { layerTitleTxt: "", noResultTipsTxt: "", sendUrl: "", sendDataPara: {}, isShowCreateNewClassLink: false, flag: 0 //0院系1 班级 用于选择院系清除班级的值 } var education = {}; // education.curSchoolType =@{@(TypeConfigs.GetSchoolRoot + 1)}; education.curSchoolType = 4071;...
JavaScript
$(document).ready(function () { App.TimerFunArray.push(App.ajaxAtWho); App.StartTimer(); App.bindGoTop(curBorder); App.initNameCard($("#feed_list")); });
JavaScript
 $(document).ready(function () { $("#reg_username").JQP_TxtTips({ txt: "请输入你的常用邮箱,如:example@example.com<br />它将成为你未来的登录帐号", VailFn: checkMail, plusId: "red_reg_username" }); $("#reg_password").JQP_TxtTips({ txt: "密码由6-16位半角字符(字母、数字、符号)组成,区分大小写", VailFn: checkPwd, plusId: "red_reg_password" }); $("#reg_...
JavaScript
 $(function () { var newCtrl = $("#new_password"); var compareCtrl = $("#compare_password"); var oldCtrl = $("#old_password"); var comparePwd = function () { var ctrl1 = newCtrl; var ctrl = compareCtrl; var error = ctrl.parent().next().find(".cudTs3"); var error...
JavaScript
 var bufferCount = 0; var isLoaded = true; var ajaxGetMiniBlog = function (ishashchange, isBufferRetry) { var url; if (!window.location.hash || window.location.hash.indexOf('#!') < 0) { url = window.location.href; if (ishashchange) { $(window).scrollTop(0); ...
JavaScript
 $(document).ready(function () { $("#reg_username").JQP_TxtTips({ txt: "请输入你的常用邮箱,如:example@example.com<br />它将成为你未来的登录帐号", VailFn: checkMail, plusId: "red_reg_username" }); $("#reg_password").JQP_TxtTips({ txt: "密码由6-16位半角字符(字母、数字、符号)组成,区分大小写", VailFn: checkPwd, plusId: "red_reg_password" }); $("#reg_...
JavaScript
 var errorStr = "<div class=\"errormt\"><i></i><strong><span></span></strong></div>"; var successStr = "<div class=\"success\"><i></i></div>"; $(document).ready(function () { $(".jh_yanzheng").focusin(function () { $(this).attr("class", "jh_yanzhenghover"); }).focusout(function () { $(th...
JavaScript
 var atmeSearch = function () { var url = window.location.href; if ($("#searchkeyword").val() != "查找@我微博" && $.trim($("#searchkeyword").val())) { url = App.AddQueryToUrl(url, "Key", encodeURIComponent($.trim($("#searchkeyword").val()))); } else { url = App.RemoveQueryFromUrl(url, "Key...
JavaScript
 function systole() { if (!$(".history").length) { return; } var $warpEle = $(".history-date"), $targetA = $warpEle.find("h2 a,ul li dl dt a"), parentH, eleTop = []; parentH = $warpEle.parent().height() + 80; setTimeout(function () { $warpEle.find("ul").ch...
JavaScript
$(document).ready(function () { App.initMedia(); App.bindGoTop(curBorder); }); window.onload = function () { var voteItems = $("div[type='vote']"); for (var i = 0; i < voteItems.length; i++) { var img = $(voteItems[i]).find("img")[0]; var img1 = $(voteItems[i]).find("img")[1]; ...
JavaScript
 var curTxt = ""; var publish_editor = null; var checkTxtLen = function () { if (curTxt != publish_editor.value) { curTxt = publish_editor.value; var normal = "你还可以输入<span class=\"pipsLim\">0</span>字"; var error = "<div class=\"word_c\"><img class=\"tipicon tip2\" alt=\"\" title=\"\"...
JavaScript
 var blackList = {}; blackList.remove = function (alink, bid) { if (alink.locked) return false; App.confirm("真的要解除?", function () { alink.locked = true; $.ajax( { url: "/Ajax/DelBlackList", datatype: "json", cache: false, ...
JavaScript
if (!domkey) { var domkey = {} } var $C = function (C) { return document.createElement(C) }; domkey.Date = function (n, z, q, F, g, b, v) { var x = this; x.startDate = g || new Date(); x.decDays = b || 7; var s = function (C) { return document.createElement(C) }; va...
JavaScript
 function PhotoClick(obj) { var classPhotoID = $(obj).attr("classPhotoID"); var url = window.location.href; url= App.AddQueryToUrl(url, "classPhotoID",classPhotoID); $(obj).attr("href",url); } function hotoDetails(obj) { $("#gallery").show(); $("#albumWrap")....
JavaScript
jQuery.fn.extend({ JQP_ClickOther: function () { // function isInside(e, target) { // var x = e.pageX; // var y = e.pageY; // var left = target.offset().left; // var width = target.width(); // var t...
JavaScript
(function ($) { var itemindex = 1; var itemcount = 0; $.fn.JQP_EmailNote = function (options) { var deafult = { arrayEmail: ["sina.com", "sina.com.cn", "163.com", "qq.com", "sohu.com"], //默认邮箱数组 selfn: null//选择之后触发的时间 }; var ops = $.extend(deafult, op...
JavaScript
/// <reference path="Common/jquery-1.4.4.min.js" /> /// <reference path="App.js" /> var curTxt = ""; var publish_editor =null; var checkTxtLen = function () { if (curTxt != publish_editor.value) { curTxt = publish_editor.value; var normal = "你还可以输入<span class=\"pipsLim\">0</span>字"; ...
JavaScript
/// <reference path="Common/jquery-1.4.4.js" /> function loginCallBack(isSucess) { if ($("#mod_login_tip")[0] == null) { $("body").append(errorHtml); bindCloseEvent($("#mod_login_close"), $("#mod_login_tip")); } if (!isSucess) { $("#mod_login_title").text("登录名或密码错误"); ...
JavaScript
/// <reference path="App.js" /> App.FriendManage = { groupList: [], curGroup: null, initFollowAssignBox: function () { var addedContaner = $(".tagList"); var addInput = addedContaner.find("input"); var addedValue = $("#group_member_add_input"); addedContaner.click(...
JavaScript
(function ($) { $.fn.JQP_HighLineInput = function (options) { var deafult = { focusColor: "rgb(51, 51, 51)", blurColor: "rgb(153, 153, 153)" }; var ops = $.extend(deafult, options); this.focus(function () { $(this).css("color", ops.focusCo...
JavaScript
$(function(){ $("#guide-step .tipSwitch").live("click",function(){ showSearchTip(); setSearchTip(); SetCookie("tStatus",1); }); }) function nextStep(next){ $(".tipbox").css({"visibility":"hidden","display":"none"}); $(".tipbar").hide(); $("#step" + next).css({"visibility":"visible","display":"blo...
JavaScript
/// <reference path="Common/jquery-1.4.4.js" /> Date.prototype.format = function (format) //author: meizz { var o = { "M+": this.getMonth() + 1, //month "d+": this.getDate(), //day "h+": this.getHours(), //hour "m+": this.getMinutes(), //minute "s+": th...
JavaScript
App.Setup = { BindSelect: function (ctrl) { ctrl = $(ctrl); var showTemp = "<div class=\"setup_info\"><div class=\"info_tip2\"><img title=\"\" alt=\"\" src=\"/Content/Image/transparent.gif\" class=\"tipicon tip3\" style=\"display: none;\"></div><div class=\"info_tip1\"><span class=\"info_tabT...
JavaScript
/// <reference path="Common/jquery-1.4.4.js" /> (function ($) { var tipsDiv = "<div id='newTips' class='new_plus' style='position: absolute; z-index: 251;display: none;'><div class='mentip'><div class='tpbg'></div><div class='maincent'></div><div class='btbg'></div></div></div>"; $.fn.JQP_TxtTips = function...
JavaScript
//注:每个嵌入页必须定义该方法,供父窗口调用,并且返回true或false来告之父窗口是否关闭 function Ok() { var newPhotoName = $("#newPhoto").val(); var gid = App.getUrlValue("gid"); $.ajax( { url: "/NewWindow/CreateNewPhotoName", datatype: "json", cache: false, async: false, //就是这个防止重复...
JavaScript
var CodeList = { A00000: "已登录", A00001:"还没有登录", A00002:"用户不存在", A00003:"出错,请稍后再试", A00004:"保存成功", A00005:"返回成功", A00006:"参数有误", A00007: "你输入的链接地址无法识别:)", A00008: "上传成功", A00009:"创建成功", A00010:"转发成功", A00011: "此微博已删除", A00012: "收藏成功", A00013: "取消收藏成功", A00014...
JavaScript
jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; if (window.ActiveXObject) { var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />'); if (typeof uri == 'boolean') { ...
JavaScript
var map = null; var x1 = null; var x2 = null; var y1 = null; var y2 = null; var priceFrom = 0; var priceEnd = 0; var roomNum = 0; var acrFrom = 0; var acrEnd = 0; var strSource = null; var communityID = null; var totalPage = null; var HouseType = 3; var page_prev; var page_next; var page_count; var pa...
JavaScript
var text; var value; var type; var selected; var keep; jQuery.fn.FillOptions = function(url,options){ if(url.length == 0) throw "request is required"; text = options.textfield || "text"; value = options.valuefiled || "value"; type = options.datatype.toLowerCase() || "json"; ...
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
var langList = [ {name:'en', charset:'UTF-8'}, {name:'zh-cn', charset:'gb2312'}, {name:'zh-tw', charset:'GBK'} ]; var skinList = [ {name:'default', charset:'gb2312'}, {name:'whyGreen', charset:'gb2312'} ];
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
//////////////////////////////////////////////////// // wordWindow object //////////////////////////////////////////////////// function wordWindow() { // private properties this._forms = []; // private methods this._getWordObject = _getWordObject; //this._getSpellerObject = _getSpellerObject; this._wo...
JavaScript
//////////////////////////////////////////////////// // controlWindow object //////////////////////////////////////////////////// function controlWindow( controlForm ) { // private properties this._form = controlForm; // public properties this.windowType = "controlWindow"; // this.noSuggestionSelection =...
JavaScript
//////////////////////////////////////////////////// // spellChecker.js // // spellChecker object // // This file is sourced on web pages that have a textarea object to evaluate // for spelling. It includes the implementation for the spellCheckObject. // //////////////////////////////////////////////////// ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript