code
stringlengths
1
2.08M
language
stringclasses
1 value
//////////////////////////////////////////////////// // 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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-2009 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
 Telerik.Web.UI.Editor.CommandList["SaveTemplate"] = function(commandName, editor, args) { var htmlText = editor.get_html(); argument = htmlText; var myCallbackFunction = function(sender, args) { }; editor.showExternalDialog( __textEditorSaveTemplateDialog, argument, 375, 275...
JavaScript
(function($) { $.fn.zebratable = function(options) { var defaults = { tblClass: 'dashboardGrid', altClass: 'dashboardTableAlt' }; var options = $.extend(defaults, options); return this.each(function() { // all of our tables need comm...
JavaScript
function toggleDropDown(eventElement) { var choices = $get('SearchChoices'); if (isDropDownVisible) { choices.style.display='none'; isDropDownVisible = false; } else { choices.style.display='block'; isDropDownVisible = true; } } function selectSearch(eventElement) { ...
JavaScript
/* DotNetNuke® - http://www.dotnetnuke.com Copyright (c) 2002-2010 by DotNetNuke Corporation 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 witho...
JavaScript
//////////////////////////////////////////////////////////////////////////////////////////////////////////////// // BEGIN: SampleWidget class // ////////////////////////////////////////////////////////////////////////////////////////////////...
JavaScript
/* DotNetNuke® - http://www.dotnetnuke.com Copyright (c) 2002-2010 by DotNetNuke Corporation 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 witho...
JavaScript
function loadWidgets() { if (typeof (DotNetNuke) === "undefined") Type.registerNamespace("DotNetNuke.UI.WebControls"); if (typeof (DotNetNuke.UI.WebControls.Utility) === "undefined") jQuery.getScript($dnn.baseResourcesUrl + "Shared/scripts/DotNetNukeAjaxShared.js", fu...
JavaScript
// The following are supported template features: // // Tokens: A token is a namespace-prefixed RSS element name surrounded by double brackets. // Tokens are substituted with the actual value found for the corresponding element // in the RSS feed item. // // For example...
JavaScript
 // Fallback for Medium Trust when the main OPML file cannot be retrieved. function defaultFeedBrowser() { var tabs = []; with (DotNetNuke.UI.WebControls.FeedBrowser) { var tab2 = new TabInfo('Marketplace','http://marketplace.dotnetnuke.com/rssfeed.aspx?channel=marketplacesoluti...
JavaScript
jQuery(document).ready(function() { if (jQuery("input[value='LAYOUT'][checked]").length == 0) { var paneId = jQuery("select[id$='cboPanes'] option:selected").text(); var pane = jQuery("td[id$='" + paneId + "'],div[id$='" + paneId + "']"); var isHidden = (pane.height() < 2); ...
JavaScript
(function($) { $.fn.dnnConsole = function(options) { var opts = $.extend({}, $.fn.dnnConsole.defaults, options); $(this).find("img").each(function() { this.style.borderWidth = "0px"; }); if (opts.showTooltip && opts.showDetails != "Show") { $(this).find("div > div").each(function() { var...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. ...
JavaScript
function mask_numero(e) { e.value=e.value.replace(/\D/g,''); } function mask_cpf(e) { e.value=e.value.replace(/\D/g,'').replace(/(\d{3})(\d)/,'$1.$2').replace(/(\d{3})(\d)/,'$1.$2').replace(/(\d{3})(\d{1,2})$/,'$1-$2'); } function mask_cnpj(e) { e.value=e.value.replace(/\D/g,'').replace(/^(\d{2})(\d)/,'$1...
JavaScript
var params = { menu: "false", wmode: "transparent", allowFullScreen: "true", allowScriptAccess: "always" }; $(function(){ $(".dropdown").selectmenu({style:'dropdown'}); });
JavaScript
/* * jQuery UI selectmenu * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ (function($) { $.widget("ui.selectmenu", { _init: function() { var self = this, o = this.options; ...
JavaScript
/** * dat.globe Javascript WebGL Globe Toolkit * http://dataarts.github.com/dat.globe * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 Licen...
JavaScript
var total_bnr = 14; var actual_time = new Date() var second = actual_time.getSeconds() var show_the_bnr = second % total_bnr; show_the_bnr +=1; if (show_the_bnr==1) { url="http://goo.gl/ffwiE"; alt="MAU PENIS BESAR SEPERTI BINTANG PORNO?"; bnr="http://www.cweb-pix.com/images/2012/11/06/tLUB1.gif"; width="250"; he...
JavaScript
// Place your application-specific JavaScript functions and classes here // This file is automatically included by javascript_include_tag :defaults
JavaScript
function $(element) { if (typeof element == "string") { element=document.getElementById(element); } if (element) extend_instance(element,Element); return element; } function extend_instance(instance,hash) { for (var name in hash) { instance[name] = hash[name]; } } var Element = { "hide": fu...
JavaScript
function do_ajax(type,base_url,controller,sid) { var ajax = new Ajax(); ajax.responseType = type; switch (type) { case Ajax.JSON: ajax.ondone = function(data) { document.getElementById('ajax1').setTextValue(data.message + ' The current time is: ' + data.time + '. '); document.getElementBy...
JavaScript
// Place your application-specific JavaScript functions and classes here // This file is automatically included by javascript_include_tag :defaults
JavaScript
function $(element) { if (typeof element == "string") { element=document.getElementById(element); } if (element) extend_instance(element,Element); return element; } function extend_instance(instance,hash) { for (var name in hash) { instance[name] = hash[name]; } } var Element = { "hide": fu...
JavaScript
//This function highlights the selected team function selectTeam(dom,teamID) { if(dom.hasClassName("team-selected")) { dom.removeClassName("team-selected"); } else { dom.addClassName("team-selected"); } } function flashDiv(obj,endcolor){ Animation(obj).duration(2000).to('background', endcolor).from('back...
JavaScript
pref("extensions.chromelist.open-files-in-tab", true); pref("extensions.chromelist.replace.prompt", true); pref("extensions.chromelist.lxr-url", "http://mxr.mozilla.org/mozilla-central/find?string=%s");
JavaScript
// Main UI JS // Starts the whole thing function onLoad() { chrometree = document.getElementById("chrometree"); chromedirtree = document.getElementById("chromedirtree"); chrometree.view = chromeTree; chromedirtree.view = chromeDirTree; chromeBrowser.chromeStructure = new ChromeStructure(); chr...
JavaScript
function startChromeList() { window.openDialog("chrome://chromelist/content/chromelist.xul", "chrome-browser", "resizable,dialog=no,status", {url: "chrome://"}); }
JavaScript
// Maps the chrome's structure. // This code probably looks strange. Why not a simple for loop, you wonder? // Well, because even on my (somewhat fast) pc, it takes about a second to // parse all the manifests and make a tree. On extension-loaded browsers, // on slow machines, it might well take *very* long. So I'm try...
JavaScript
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
JavaScript
// Chrome stuff var chromeStructure, chromeOverrides; // Services var iosvc, atomsvc, chromeReg, consoleService, extManager; // UI stuff var chrometree, chromedirtree; // Unique ID stuff: const ThunderbirdUUID = "{3550f703-e582-4d05-9a08-453d09bdfdc6}"; const FlockUUID = "{a463f10c-3994-11da-9945-000d60ca027b}"; const...
JavaScript
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
JavaScript
//////////////////////////////////////////////////////////////////////////////// // Chrome Structure representation. /////////////////// // ChromeStructure function ChromeStructure() { this.overrides = []; this.directories = {}; } ChromeStructure.prototype.TYPE = "ChromeStructure"; ChromeStructure.prototype....
JavaScript
/** * Obtain the chrome registry's mapping for the URI given * @param uri the string or nsIURI uri to get the mapping for * @returns the chrome registry's info about the URI */ function getMappedURI(uri) { if (typeof uri == "string") uri = iosvc.newURI(uri, null, null); return chromeReg.convertChrom...
JavaScript
var file = null; function onLoad() { file = window.arguments[0]; document.title = document.title + file.leafName; document.getElementById("chrome-url-text").value = file.href; document.getElementById("resolved-url-text").value = file.resolvedURI; document.getElementById("resolved-file-text").value =...
JavaScript
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL...
JavaScript
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL...
JavaScript
// Xu ly cat --------------------------------------- function nv_chang_cat(object, catid, mod ) { var new_vid = $(object).val(); nv_ajax( "post", script_name, nv_name_variable+'='+nv_module_name+'&'+nv_fc_variable + '=change_cat&catid=' + catid + '&mod='+mod+'&new_vid=' + new_vid + '&num=' + nv_randomPassword( 8 ), ...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ // Xu ly cat --------------------------------------- function nv_chang_cat(object, catid, mod ) { var new_vid = $(object).val(); nv_ajax( "post",...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 5/9/2010, 1:31 */ function nv_send_search( qmin, qmax ) { var nv_timer = nv_settimeout_disable( 'search_submit', 1000 ); var search_query = document.getElementById( '...
JavaScript
function faq_show_content( fid ) { window.location.href = "#faq" + fid; return; }
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES., JSC ( contact@vinades.vn ) * @Copyright ( C ) 2010 VINADES., JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function nv_cat_del( catid ) { if ( confirm( nv_is_del_confirm[0] ) ) { nv_ajax( 'post', script_name, nv_name_variable + '=' + nv...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES., JSC ( contact@vinades.vn ) * @Copyright ( C ) 2010 VINADES., JSC. All rights reserved * @Createdate 3 / 25 / 2010 18 : 6 */ var total = 0; function nv_check_accept_number( form, acceptcm, msg ) { var fa = form['option[]']; total = 0; for ( var i = 0; i < ...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function nv_del_content(vid, checkss) { if (confirm(nv_is_del_confirm[0])) { nv_ajax('post', script_name, nv_name_variable + '=' + nv_module_name...
JavaScript
function nv_del_row( hr, fid ) { if ( confirm( nv_is_del_confirm[0] ) ) { nv_ajax( 'post', hr.href, 'del=1&id=' + fid, '', 'nv_del_row_result' ); } return false; } // --------------------------------------- function nv_del_row_result( res ) { if( res == 'OK' ) { window.location.href = w...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES., JSC ( contact@vinades.vn ) * @Copyright ( C ) 2010 VINADES., JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function nv_chang_weight( catid ) { var nv_timer = nv_settimeout_disable( 'weight' + catid, 5000 ); var newpos = document.getElementByI...
JavaScript
function sendcontact( num ) { var sendname = document.getElementById( 'fname' ); var sendemail = document.getElementById( 'femail_iavim' ); var sendtitle = document.getElementById( 'ftitle' ); var sendcontent = document.getElementById( 'fcon' ); var bt = document.getElementById( 'btsend' ); var fcon =...
JavaScript
function nv_chang_status( vid ) { var nv_timer = nv_settimeout_disable( 'change_status_' + vid, 5000 ); var new_status = document.getElementById( 'change_status_' + vid ).options[document.getElementById( 'change_status_' + vid ).selectedIndex].value; nv_ajax( "post", script_name, nv_name_variable + '=' + nv_mo...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function sendrating(id, point, newscheckss) { if(point==1 || point==2 || point==3 || point==4 || point==5){ nv_ajax('post', nv_siteroot + 'index....
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES., JSC ( contact@vinades.vn ) * @Copyright ( C ) 2010 VINADES., JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function nv_chang_cat(catid, mod) { var nv_timer = nv_settimeout_disable('id_' + mod + '_' + catid, 5000); var new_vid = document.getElemen...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES ( contact@vinades.vn ) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3 - 24 - 2010 23 : 41 */ function nv_login_info( containerid ) { /* alert(nv_siteroot + 'index.php?' + nv_lang_variable + '=' + nv_sitelang + '&' + nv_name_variable + '=ban...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES ( contact@vinades.vn ) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3 - 11 - 2010 20 : 50 */ function nv_show_cl_list(containerid) { nv_ajax("get", script_name + '?' + nv_name_variable + '=banners', nv_fc_variable + '=cl_list&num=' + nv_ra...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES., JSC ( contact@vinades.vn ) * @Copyright ( C ) 2010 VINADES., JSC. All rights reserved * @Createdate 1 - 31 - 2010 5 : 12 */ function nv_chang_question( qid ) { var nv_timer = nv_settimeout_disable( 'id_weight_' + qid, 5000 ); var new_vid = document.getElement...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',textMis...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en','he'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uic...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות צבעי...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined c...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; };
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'); var nv_aryDayNS = nv_aryDayNS = new Array('Dim'...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Chủ nhật','Thứ Hai','Thứ Ba','Thứ Tư','Thứ Năm','Thứ Sáu','Thứ Bảy'); var nv_aryDayNS = new Array('CN','Hai','Ba','Tư','...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'); var nv_aryDayNS = nv_aryDayNS = new Array('Dim'...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Chủ nhật','Thứ Hai','Thứ Ba','Thứ Tư','Thứ Năm','Thứ Sáu','Thứ Bảy'); var nv_aryDayNS = new Array('CN','Hai','Ba','Tư','...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Воскресник','Понедельник','Вторник','Среда','Четверг','Пятница','Суббота'); var nv_aryDayNS = new Array('ВС','ПН','ВТ','...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES., JSC. All rights reserved * @Createdate 3-13-2010 15:24 */ var nv_aryDayName = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var nv_aryDayNS = nv_aryDayNS = new Array(...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @copyright 2009 * @createdate 19/3/2010 22:58 */ var seccodecheck = /^([a-zA-Z0-9])+$/; if (typeof (jsi) == 'undefined') var jsi = new Array(); if (!jsi[0]) jsi[0] = 'vi'; if (!jsi[1]) jsi[1] = './'; if (!jsi[2]) jsi[2] = 0; if (!jsi[3...
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 * * Revision: $Id$ *...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 31/05/2010, 9:36 */ function nv_admin_add_result(form_id, go, tp){ var formid = document.getElementById(form_id); var input_go = document.getElementById(go); in...
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 * http:/...
JavaScript
if( typeof( nv_siteroot ) == 'undefined' ) { var nv_siteroot = '/'; } // ----------------------- if( typeof( nv_sitelang ) == 'undefined' ) { var nv_sitelang = 'en'; } // ----------------------- if( typeof( nv_name_variable ) == 'undefined' ) { var nv_name_variable = 'nv'; } // ----------------------- if...
JavaScript
function nv_randomNum( a ) { for( var b = "", d = 0; d < a; d++ ) { b += "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890".charAt( Math.floor( Math.random() * 62 ) ) } return b } // --------------------------------------- function resize_byWidth( a, b, d ) { return Math.rou...
JavaScript
/** * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>. * Author: Drew Diller * Email: drew.diller@gmail.com * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/ * Version: 0.0.8a * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license * * ...
JavaScript
/** * @Project NUKEVIET 3.0 * @Author VINADES.,JSC (contact@vinades.vn) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 31/05/2010, 9:36 */ function nv_is_del_cron(cronid) { if (confirm(nv_is_del_confirm[0])) { nv_ajax( 'get', window.location.href, nv_fc_variable + '=cronjobs_del&id=' + ...
JavaScript
/* * * @Project NUKEVIET 3.0 * @Author VINADES ( contact@vinades.vn ) * @Copyright (C) 2010 VINADES.,JSC. All rights reserved * @Createdate 2 - 10 - 2010 16 : 3 */ function nv_show_list_mods(){ if (document.getElementById('list_mods')) { nv_ajax("get", script_name, nv_name_variable + '=' + nv_module_na...
JavaScript
/** * Flash (http://jquery.lukelutman.com/plugins/flash) * A jQuery plugin for embedding Flash movies. * * Version 1.0 * November 9th, 2006 * * Copyright (c) 2006 Luke Lutman (http://www.lukelutman.com) * Dual licensed under the MIT and GPL licenses. * http://www.opensource.org/licenses/mit-license.php * htt...
JavaScript
/*jslint browser: true */ /*global jQuery: true */ /** * jQuery Cookie plugin * * Copyright (c) 2010 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ // TODO JsDoc /** * Create a cookie...
JavaScript
/* * jQuery.upload v1.0.2 * * Copyright (c) 2010 lagos * Dual licensed under the MIT and GPL licenses. * * http://lagoscript.org */ (function($) { var uuid = 0; $.fn.upload = function(url, data, callback, type) { var self = this, inputs, checkbox, checked, iframeName = 'jquery_upload' + ++uuid, ifram...
JavaScript
jQuery.autocomplete = function(input, options) { // Create a link to self var me = this; // Create jQuery object for input element var $input = $(input).attr("autocomplete", "off"); // Apply inputClass if necessary if (options.inputClass) $input.addClass(options.inputClass); // Create results var results = d...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.net/jquer...
JavaScript