code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * 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
/* * 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
/* * 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
/* * 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
/* * 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
var FCKDragTableHandler = { "_DragState" : 0, "_LeftCell" : null, "_RightCell" : null, "_MouseMoveMode" : 0, // 0 - find candidate cells for resizing, 1 - drag to resize "_ResizeBar" : null, "_OriginalX" : null, "_MinimumX" : null, "_MaximumX" : null, "_LastX" : null, "_TableMap" : null, "_doc" ...
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
function wrzc_net_getbyid(id){ itm = null; if (document.getElementById){itm = document.getElementById(id);} else if (document.all){itm = document.all[id];}else if (document.layers){itm = document.layers[id];} return itm;} function wrzc_netAd(element,url,width,height,images,links,texts){ if (!wrzc_net...
JavaScript
function SWFObject(swf, id, w, h, ver, c){ this.params = new Object(); this.variables = new Object(); this.attributes = new Object(); this.setAttribute("id",id); this.setAttribute("name",id); this.setAttribute("width",w); this.setAttribute("height",h); this.setAttribute("version",ver); this.setAttribu...
JavaScript
document.write('<a href="http://www.taobao.com/go/chn/tbk_channel/huangguan.php?pid=mm_30442018_2782550_9827447&eventid=101858" target=_blank><img src="gg/1.jpg" border=0 width="100%" height="100" alt="" align=top></a>');
JavaScript
document.write('<img src="image/kj.jpg" border=0 width="100%" height="30" alt="" align=top>');
JavaScript
// xiongba v3.0 show function showcmp(id, width, height, url, vars, transparent){ //Window | Opaque | Transparent var wmode = "Window"; if (transparent) { wmode = "Transparent"; } var html = ''; html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.c...
JavaScript
(function($){ $.fn.showShadowBg=function(options){ var thisClick =$(this); var defaults= {"shadowBg":".shadow-bg"}; var settings= $.extend(defaults, options ||{}); $(this).on("mouseover", function(){ $(this).find(settings.shadowBg).animate({"height": "100%"}, 100); $(this).find(".btn").animate({"b...
JavaScript
(function ($, window, document) { setTimeout(function () { $.each($(".owl-controls").find(".owl-page"), function (index, data) { var thisControl = $(data); var itemIndex = $(data).parents("#owl-slider").find(".owl-item")[index]; thisControl.attr("imgsrc", $(itemIndex...
JavaScript
(function($){ }(jQuery)); (function($){ $(document).ready(function(e) { $('.message-wrap').perfectScrollbar({ wheelSpeed: 100, wheelPropagation: false, suppressScrollX: true }); $(".chk-wrap-arrow").showDropDown({"showDiv":".check-dropdown", "setTopArrow":false}); ...
JavaScript
(function($){ $.fn.selectChoose=function(options){ var defaults = {"timeString": 31, "startTime":1, "starString": "Chọn...", "type":"selText"}; var optionStr = $.extend({}, defaults, options); var $select = $(this); //Set value on select options if(optionStr.type==="datePic") { $(this).html(...
JavaScript
(function ($) { $.fn.updateCountMess = function () { $.each($(this), function () { var thisLabel = $(this); var oldCount = parseInt(thisLabel.text()); setInterval(function () { thisLabel.fadeOut(100); if (oldCount < 20) { ...
JavaScript
(function($){ $.fn.showShadowBg=function(options){ var thisClick =$(this); var defaults= {"shadowBg":".shadow-bg"}; var settings= $.extend(defaults, options ||{}); $(this).on("mouseover", function(){ $(this).find(settings.shadowBg).animate({"height": "100%"}, 100); $(this).find(".btn").animate({"b...
JavaScript
(function($){ $.fn.showShadowBg=function(options){ var thisClick =$(this); var defaults= {"shadowBg":".shadow-bg"}; var settings= $.extend(defaults, options ||{}); $(this).on("mouseover", function(){ $(this).find(settings.shadowBg).animate({"height": "100%"}, 100); $(this).find(".btn").animate({"b...
JavaScript
(function($){ $.fn.showShadowBg=function(options){ var thisClick =$(this); var defaults= {"shadowBg":".shadow-bg"}; var settings= $.extend(defaults, options ||{}); $(this).on("mouseover", function(){ $(this).find(settings.shadowBg).animate({"height": "100%"}, 100); $(this).find(".btn").animate({"b...
JavaScript
(function($){ }(jQuery)); (function($){ $(document).ready(function(e) { $("#Username").add("#fullname").add("#Password").addTickerAlertInput({"txtAlert":"Không được rỗng","type":"checkNull"}); $("#Email").addTickerAlertInput({"txtAlert":"Định dạng Email không đúng","type":"checkEmail"}); ...
JavaScript
(function($, window, document){ setTimeout(function(){ $.each($(".owl-controls").find(".owl-page"), function(index, data){ var thisControl = $(data); var itemIndex = $(data).parents("#owl-slider").find(".owl-item")[index]; thisControl.attr("imgsrc", $(itemIndex).find("img").attr("src")); }); }, 60...
JavaScript
/* Copyright (c) 2012 HyeonJe Jun (http://github.com/noraesae) * Licensed under the MIT License */ 'use strict'; (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else { // Browser globals factory(jQuery)...
JavaScript
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and delta...
JavaScript
(function($){ $.fn.cusSelect=function(options){ $.each($(this), function(){ var defaults= {"labelClass":"outer-select-element"}; var settings= $.extend(defaults, options ||{}); var outHTML = $('<div/>',{ "class": settings.labelClass }); virtualArrow = $('<div/>',{ "class": "select-arr...
JavaScript
(function ($) { $.fn.KyersAutoComplete = function (options) { var defaults = { "dropdownid": "search-dropdown" }; var settings = $.extend(defaults, options || {}); var jsonString = [ { "images": "../Content/ImgResource/Evolution-Armchair-230x170.jpg", "title": "Test lần ...
JavaScript
/* Copyright (c) Marcel Greter 2010/2012 - rtp.ch - RTP jQuery Slider 0.10.0 This is free software; you can redistribute it and/or modify it under the terms of the [GNU General Public License](http://www.gnu.org/licenses/gpl-3.0.txt), either version 3 of the License, or (at your option) any later version. */...
JavaScript
var ComponentsIonSliders = function () { return { //main function to initiate the module init: function () { $("#range_1").ionRangeSlider({ min: 0, max: 5000, from: 1000, to: 4000, type: 'double'...
JavaScript
var Search = function () { return { //main function to initiate the module init: function () { if (jQuery().datepicker) { $('.date-picker').datepicker(); } App.initFancybox(); } }; }();
JavaScript
var ComponentsEditors = function () { var handleWysihtml5 = function () { if (!jQuery().wysihtml5) { return; } if ($('.wysihtml5').size() > 0) { $('.wysihtml5').wysihtml5({ "stylesheets": ["assets/plugins/bootstrap-wysihtml5/wysiwyg-colo...
JavaScript
var TableManaged = function () { return { //main function to initiate the module init: function () { if (!jQuery().dataTable) { return; } // begin first table $('#listTable').dataTable({ ...
JavaScript
var UITree = function () { var handleSample1 = function () { $('#tree_1').jstree({ "core" : { "themes" : { "responsive": false } }, "types" : { "default" : { ...
JavaScript
var ComponentsDropdowns = function () { var handleSelect2 = function () { $('#select2_sample1').select2({ placeholder: "Select an option", allowClear: true }); $('#select2_sample2').select2({ placeholder: "Select a State", allowCl...
JavaScript
var ComponentsjQueryUISliders = function () { return { //main function to initiate the module init: function () { // basic $(".slider-basic").slider(); // basic sliders // vertical range sliders $("#slider-range").slider({ ...
JavaScript
var ComingSoon = function () { return { //main function to initiate the module init: function () { $.backstretch([ "assets/img/bg/1.jpg", "assets/img/bg/2.jpg", "assets/img/bg/3.jpg", "assets/img/bg/4.jpg" ...
JavaScript
var Lock = function () { return { //main function to initiate the module init: function () { $.backstretch([ "assets/img/bg/1.jpg", "assets/img/bg/2.jpg", "assets/img/bg/3.jpg", "assets/img/bg/4.jpg" ], { fade: ...
JavaScript
var FormFileUpload = function () { return { //main function to initiate the module init: function () { // Initialize the jQuery File Upload widget: $('#fileupload').fileupload({ disableImageResize: false, autoUpload: false, ...
JavaScript
var ComponentsPickers = function () { var handleDatePickers = function () { if (jQuery().datepicker) { $('.date-picker').datepicker({ rtl: App.isRTL(), autoclose: true }); $('body').removeClass("modal-open"); // fix bug when inli...
JavaScript
var EcommerceProducts = function () { var initPickers = function () { //init date pickers $('.date-picker').datepicker({ rtl: App.isRTL(), autoclose: true }); } var handleProducts = function() { var grid = new Datatable(); g...
JavaScript
var MapsGoogle = function () { var mapBasic = function () { new GMaps({ div: '#gmap_basic', lat: -12.043333, lng: -77.028333 }); } var mapMarker = function () { var map = new GMaps({ div: '#gmap_marker', lat: ...
JavaScript
var TableEditable = function () { return { //main function to initiate the module init: function () { function restoreRow(oTable, nRow) { var aData = oTable.fnGetData(nRow); var jqTds = $('>td', nRow); for (var i = 0, iLen = jq...
JavaScript
var PortletDraggable = function () { return { //main function to initiate the module init: function () { if (!jQuery().sortable) { return; } $("#sortable_portlets").sortable({ connectWith: ".portlet", ...
JavaScript
var MapsVector = function () { var setMap = function (name) { var data = { map: 'world_en', backgroundColor: null, borderColor: '#333333', borderOpacity: 0.5, borderWidth: 1, color: '#c6c6c6', enableZoom: true, ...
JavaScript
var Calendar = function () { return { //main function to initiate the module init: function () { Calendar.initCalendar(); }, initCalendar: function () { if (!jQuery().fullCalendar) { return; } var dat...
JavaScript
var FormSamples = function () { return { //main function to initiate the module init: function () { // use select2 dropdown instead of chosen as select2 works fine with bootstrap on responsive layouts. $('.select2_category').select2({ placeholder: "Se...
JavaScript
var Tasks = function () { return { //main function to initiate the module initDashboardWidget: function () { $('input.liChild').change(function() { if ($(this).is(':checked')) { $(this).parents('li').addClass("task-done"); } else { $(this).parents('li').removeCl...
JavaScript
var UINestable = function () { var updateOutput = function (e) { var list = e.length ? e : $(e.target), output = list.data('output'); if (window.JSON) { output.val(window.JSON.stringify(list.nestable('serialize'))); //, null, 2)); } else { output....
JavaScript
var TableAjax = function () { var initPickers = function () { //init date pickers $('.date-picker').datepicker({ rtl: App.isRTL(), autoclose: true }); } var handleRecords = function() { var grid = new Datatable(); grid.init(...
JavaScript
var FormImageCrop = function () { var demo1 = function() { $('#demo1').Jcrop(); } var demo2 = function() { var jcrop_api; $('#demo2').Jcrop({ onChange: showCoords, onSelect: showCoords, onRelease: clearCoords },function(){ ...
JavaScript
var Login = function () { var handleLogin = function() { $('.login-form').validate({ errorElement: 'span', //default input error message container errorClass: 'help-block', // default input error message class focusInvalid: false, // do not focus the last invalid input ...
JavaScript
var ContactUs = function () { return { //main function to initiate the module init: function () { var map; $(document).ready(function(){ map = new GMaps({ div: '#map', lat: -13.004333, lng: -38.494333 }); var marker = map.addMarker({ lat:...
JavaScript
var ComponentsKnobDials = function () { return { //main function to initiate the module init: function () { //knob does not support ie8 so skip it if (!jQuery().knob || App.isIE8()) { return; } // general knob ...
JavaScript
var FormValidation = function () { var handleValidation1 = function() { // for more info visit the official plugin documentation: // http://docs.jquery.com/Plugins/Validation var form1 = $('#form_sample_1'); var error1 = $('.alert-danger', form1); v...
JavaScript