code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* Basic status bar component that can be used as the bottom toolbar of any {@link Ext.Panel}. In addition to
* supporting the standard {@link Ext.toolbar.Toolbar} interface for adding buttons, menus and other items, the StatusBar
* provides a greedy status element that can be aligned to either side and has conv... | JavaScript |
/**
* A {@link Ext.ux.statusbar.StatusBar} plugin that provides automatic error
* notification when the associated form contains validation errors.
*/
Ext.define('Ext.ux.statusbar.ValidationStatus', {
extend: 'Ext.Component',
requires: ['Ext.util.MixedCollection'],
/**
* @cfg {String} errorIconCls
... | JavaScript |
/**
* @author Shea Frederick
*/
Ext.define('Ext.ux.GMapPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.gmappanel',
requires: ['Ext.window.MessageBox'],
initComponent : function(){
Ext.applyIf(this,{
plain: true,
gmapType: 'map',
border: fa... | JavaScript |
/**
* A GridPanel class with live search support.
* @author Nicolas Ferrero
*/
Ext.define('Ext.ux.LiveSearchGridPanel', {
extend: 'Ext.grid.Panel',
requires: [
'Ext.toolbar.TextItem',
'Ext.form.field.Checkbox',
'Ext.form.field.Text',
'Ext.ux.statusbar.StatusBar'
],
... | JavaScript |
/**
* UX used to provide a spotlight around a specified component/element.
*/
Ext.define('Ext.ux.Spotlight', {
/**
* @private
* The baseCls for the spotlight elements
*/
baseCls: 'x-spotlight',
/**
* @cfg animate {Boolean} True to animate the spotlight change
* (defaults to true)... | JavaScript |
/**
* Plugin for adding a close context menu to tabs. Note that the menu respects
* the closable configuration on the tab. As such, commands like remove others
* and remove all will not remove items that are not closable.
*/
Ext.define('Ext.ux.TabCloseMenu', {
alias: 'plugin.tabclosemenu',
mixins: {
... | JavaScript |
/**
* @author Nicolas Ferrero
* A TabPanel with grouping support.
*/
Ext.define('Ext.ux.GroupTabPanel', {
extend: 'Ext.Container',
alias: 'widget.grouptabpanel',
requires:[
'Ext.tree.Panel',
'Ext.ux.GroupTabRenderer'
],
baseCls : Ext.baseCSSPrefix + 'grouptabpanel',
initCo... | JavaScript |
/**
* Base class from Ext.ux.TabReorderer.
*/
Ext.define('Ext.ux.BoxReorderer', {
mixins: {
observable: 'Ext.util.Observable'
},
/**
* @cfg {String} itemSelector
* A {@link Ext.DomQuery DomQuery} selector which identifies the encapsulating elements of child
* Components which parti... | JavaScript |
Ext.ns('Ext.ux');
/**
* Plugin for adding a tab menu to a TabBar is the Tabs overflow.
*/
Ext.define('Ext.ux.TabScrollerMenu', {
alias: 'plugin.tabscrollermenu',
requires: ['Ext.menu.Menu'],
/**
* @cfg {Number} pageSize How many items to allow per submenu.
*/
pageSize: 10,
/**
* @... | JavaScript |
/**
* Boolean filters use unique radio group IDs (so you can have more than one!)
* <p><b><u>Example Usage:</u></b></p>
* <pre><code>
var filters = Ext.create('Ext.ux.grid.GridFilters', {
...
filters: [{
// required configs
type: 'boolean',
dataIndex: 'visible'
// optional co... | JavaScript |
/**
* Filter by a configurable Ext.picker.DatePicker menu
*
* This filter allows for the following configurations:
*
* - Any of the normal configs will be passed through to either component.
* - There can be a docked config.
* - The timepicker can be on the right or left (datepicker, too, of course).
* - Choose... | JavaScript |
/**
* List filters are able to be preloaded/backed by an Ext.data.Store to load
* their options the first time they are shown. ListFilter utilizes the
* {@link Ext.ux.grid.menu.ListMenu} component.
*
* Although not shown here, this class accepts all configuration options
* for {@link Ext.ux.grid.menu.ListMenu}.
... | JavaScript |
/**
* Filter by a configurable Ext.picker.DatePicker menu
*
* Example Usage:
*
* var filters = Ext.create('Ext.ux.grid.GridFilters', {
* ...
* filters: [{
* // required configs
* type: 'date',
* dataIndex: 'dateAdded',
*
* // optional... | JavaScript |
/**
* Filters using an Ext.ux.grid.menu.RangeMenu.
* <p><b><u>Example Usage:</u></b></p>
* <pre><code>
var filters = Ext.create('Ext.ux.grid.GridFilters', {
...
filters: [{
type: 'numeric',
dataIndex: 'price'
}]
});
* </code></pre>
* <p>Any of the configuration options for {@link Ext.ux... | JavaScript |
/**
* Abstract base class for filter implementations.
*/
Ext.define('Ext.ux.grid.filter.Filter', {
extend: 'Ext.util.Observable',
/**
* @cfg {Boolean} active
* Indicates the initial status of the filter (defaults to false).
*/
active : false,
/**
* True if this filter is active. ... | JavaScript |
/**
* Filter by a configurable Ext.form.field.Text
* <p><b><u>Example Usage:</u></b></p>
* <pre><code>
var filters = Ext.create('Ext.ux.grid.GridFilters', {
...
filters: [{
// required configs
type: 'string',
dataIndex: 'name',
// optional configs
value: 'foo',
... | JavaScript |
/**
* FiltersFeature is a grid {@link Ext.grid.feature.Feature feature} that allows for a slightly more
* robust representation of filtering than what is provided by the default store.
*
* Filtering is adjusted by the user using the grid's column header menu (this menu can be
* disabled through configuration). Thr... | JavaScript |
/**
* A Grid which creates itself from an existing HTML table element.
*/
Ext.define('Ext.ux.grid.TransformGrid', {
extend: 'Ext.grid.Panel',
/**
* Creates the grid from HTML table element.
* @param {String/HTMLElement/Ext.Element} table The table element from which this grid will be created -
... | JavaScript |
/**
* This is a supporting class for {@link Ext.ux.grid.filter.ListFilter}.
* Although not listed as configuration options for this class, this class
* also accepts all configuration options from {@link Ext.ux.grid.filter.ListFilter}.
*/
Ext.define('Ext.ux.grid.menu.ListMenu', {
extend: 'Ext.menu.Menu',
... | JavaScript |
/**
* Custom implementation of {@link Ext.menu.Menu} that has preconfigured items for entering numeric
* range comparison values: less-than, greater-than, and equal-to. This is used internally
* by {@link Ext.ux.grid.filter.NumericFilter} to create its menu.
*/
Ext.define('Ext.ux.grid.menu.RangeMenu', {
extend:... | JavaScript |
/**
* Allows GroupTab to render a table structure.
*/
Ext.define('Ext.ux.GroupTabRenderer', {
alias: 'plugin.grouptabrenderer',
extend: 'Ext.AbstractPlugin',
tableTpl: new Ext.XTemplate(
'<div id="{view.id}-body" class="' + Ext.baseCSSPrefix + '{view.id}-table ' + Ext.baseCSSPrefix + 'grid-table ' ... | JavaScript |
/**
* @class Ext.ux.DataTip
* @extends Ext.ToolTip.
* This plugin implements automatic tooltip generation for an arbitrary number of child nodes *within* a Component.
*
* This plugin is applied to a high level Component, which contains repeating elements, and depending on the host Component type,
* it automatical... | JavaScript |
/**
* This class simulates XML-based requests.
*/
Ext.define('Ext.ux.ajax.XmlSimlet', {
extend: 'Ext.ux.ajax.DataSimlet',
alias: 'simlet.xml',
/**
* This template is used to populate the XML response. The configuration of the Reader
* is available so that its `root` and `record` properties can ... | JavaScript |
/**
* @author Don Griffin
*
* Simulates an XMLHttpRequest object's methods and properties but is backed by a
* {@link Ext.ux.ajax.Simlet} instance that provides the data.
*/
Ext.define('Ext.ux.ajax.SimXhr', {
readyState: 0,
mgr: null,
simlet: null,
constructor: function (config) {
var me ... | JavaScript |
/**
* @author Don Griffin
*
* This singleton manages simulated Ajax responses. This allows application logic to be
* written unaware that its Ajax calls are being handled by simulations ("simlets"). This
* is currently done by hooking {@link Ext.data.Connection} methods, so all users of that
* class (and {@link E... | JavaScript |
/**
* @author Don Griffin
*
* This is a base class for more advanced "simlets" (simulated servers). A simlet is asked
* to provide a response given a {@link Ext.ux.ajax.SimXhr} instance.
*/
Ext.define('Ext.ux.ajax.Simlet', function () {
var urlRegex = /([^?#]*)(#.*)?$/,
dateRegex = /^(\d{4})-(\d{2})-(\... | JavaScript |
/**
* This base class is used to handle data preparation (e.g., sorting, filtering and
* group summary).
*/
Ext.define('Ext.ux.ajax.DataSimlet', function () {
function makeSortFn (def, cmp) {
var order = def.direction,
sign = (order && order.toUpperCase() == 'DESC') ? -1 : 1;
return... | JavaScript |
/**
* JSON Simlet.
*/
Ext.define('Ext.ux.ajax.JsonSimlet', {
extend: 'Ext.ux.ajax.DataSimlet',
alias: 'simlet.json',
doGet: function (ctx) {
var me = this,
data = me.getData(ctx),
page = me.getPage(ctx, data),
reader = ctx.xhr.options.proxy.reader,
... | JavaScript |
/**
* A Picker field that contains a tree panel on its popup, enabling selection of tree nodes.
*/
Ext.define('Ext.ux.TreePicker', {
extend: 'Ext.form.field.Picker',
xtype: 'treepicker',
uses: [
'Ext.tree.Panel'
],
triggerCls: Ext.baseCSSPrefix + 'form-arrow-trigger',
config: {
... | JavaScript |
/*!
* Ext JS Library 4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
/**
* Barebones iframe implementation. For serious iframe work, see the
* ManagedIFrame extension
* (http://www.sencha.com/forum/showthread.php?71961).
*/
Ext.define('Ext.ux.IFrame', {
e... | JavaScript |
/**
* @class Ext.app.Home
* @extends Object
* Main layout application class.
*/
Ext.define('Ext.app.Home', {
extend: 'Ext.container.Viewport',
requires: [
"Ext.app.DanhSachPhieuNhapKhoPanel",
'Ext.app.PhieuNhapKhoPanel',
'Ext.app.LoaiHangHoaPanel'
],
constructor: funct... | JavaScript |
/**
* @class Ext.app.ConfigSiteWindow
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.ConfigSiteWindow', {
extend: 'Ext.window.Window',
alias: 'widget.configSiteWindow',
id: 'configSiteWindow',
height: 180,
width: 400,
layout: 'border',
items: [
{
xty... | JavaScript |
/**
* @class Ext.app.QueryPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.QueryPanel', {
extend: 'Ext.tab.Panel',
alias: 'widget.queryPanel',
border: false,
id: 'queryPanel',
items: [],
constructor: function (config) {
this.newTabTitle = config.newTabTitle;
this.loadQ... | JavaScript |
/**
* @class Ext.app.HistoryPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.HistoryPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.historyPanel',
autoScroll: true,
border: true
});
| JavaScript |
/**
* @class Ext.app.MatHangTrongKhoLookup
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.MatHangTrongKhoLookup', {
extend: 'Ext.window.Window',
alias: 'widget.matHangTrongKhoLookup',
initComponent : function() {
Ext.getBody().mask();
Ext.apply(this, {
height: ... | JavaScript |
/**
* @class Ext.app.PurgeResultsWindow
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.PurgeResultsWindow', {
extend: 'Ext.window.Window',
alias: 'widget.purgeResultsWindow',
id: 'purgeResultsWindow',
height: 150,
width: 400,
layout: 'border',
items: [
{
... | JavaScript |
Ext.define('Ext.app.ThemMatHangWindow', {
extend: 'Ext.window.Window',
alias: 'widget.themMatHangWindow',
initComponent : function() {
Ext.getBody().mask();
Ext.apply(this, {
height: 230,
width: 450,
layout: 'fit',
plai... | JavaScript |
Ext.define('Ext.app.XuatKhoWindow', {
extend: 'Ext.window.Window',
alias: 'widget.xuatKhoWindow',
id: 'xuatKhoWindow',
height: 210,
width: 400,
layout: 'fit',
plain:true,
items: {
xtype: 'form',
layout: 'absolute',
defaultType: 'textfield',
b... | JavaScript |
/**
* @class Ext.app.ParametersPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.ParametersPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.parameterPanel',
border: false,
id: 'parameterPanel',
layout: 'form',
bodyPadding: 10,
items: [
{xtype: 'text'}
],
cons... | JavaScript |
/**
* @class Ext.app.DanhSachPhieuNhapKhoPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.DanhSachPhieuNhapKhoPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.danhSachPhieuNhapKhoPanel',
autoScroll: true,
border: true,
layout: 'border',
titleAlign: 'center',
items: [
{
... | JavaScript |
/**
* @class Ext.app.PhieuBanHangPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.PhieuBanHangPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.phieuBanHangPanel',
requires: [
"Ext.app.MatHangTrongKhoLookup"
],
initComponent: function () {
Ext.apply(this, {
a... | JavaScript |
/**
* @class Ext.app.VersionPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.VersionPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.versionPanel',
autoScroll: true,
border: false
});
| JavaScript |
/**
* @class Ext.app.DanhSachKhoPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.DanhSachKhoPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.danhSachKhoPanel',
autoScroll: true,
titleAlign: 'center',
border: true,
layout: 'border',
items: [
{
region: 'center'... | JavaScript |
/**
* @class Ext.app.DanhSachMatHangPanel
* @extends Ext.panel.Panel
*/
Ext.require([
'Ext.app.ThemMatHangWindow'
]);
Ext.define('Ext.app.DanhSachMatHangPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.danhSachMatHangPanel',
autoScroll: true,
border: true,
layout: 'border',
... | JavaScript |
Ext.define('Ext.app.NhapKhoWindow', {
extend: 'Ext.window.Window',
alias: 'widget.nhapKhoWindow',
id: 'nhapKhoWindow',
height: 210,
width: 400,
layout: 'fit',
plain:true,
items: {
xtype: 'form',
layout: 'absolute',
defaultType: 'textfield',
b... | JavaScript |
/**
* @class Ext.app.XemPhieuBanHangPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.XemPhieuBanHangPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.xemPhieuBanHangPanel',
id: 'xemPhieuBanHangPanel',
initComponent: function () {
Ext.apply(this, {
autoScroll: true,
... | JavaScript |
/**
* @class Ext.app.ConfigFTPServerWindow
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.ConfigFTPServerWindow', {
extend: 'Ext.window.Window',
alias: 'widget.configFTPServerWindow',
id: 'configFTPServerWindow',
height: 230,
width: 400,
layout: 'border',
items: [
... | JavaScript |
Ext.define('Ext.app.CellEditing', {
extend: 'Ext.grid.Panel',
requires: [
'Ext.selection.CellModel',
'Ext.grid.*',
'Ext.data.*',
'Ext.util.*',
'Ext.form.*'
],
xtype: 'cell-editing',
initComponent: function() {
this.cellEditing = new Ext.grid.... | JavaScript |
/**
* @class Ext.app.XemPhieuNhapKhoPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.XemPhieuNhapKhoPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.xemPhieuNhapKhoPanel',
initComponent: function () {
Ext.apply(this, {
autoScroll: true,
border: true,
... | JavaScript |
/**
* @class Ext.app.QueriesPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.QueriesPanel', {
extend: 'Ext.tree.Panel',
alias: 'widget.queriesPanel',
autoScroll: true,
border: false,
store: Ext.create('Ext.data.TreeStore', {
proxy: {
type: 'ajax',
url: 'GetQ... | JavaScript |
/**
* @class Ext.app.ErrorWindow
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.ErrorWindow', {
extend: 'Ext.window.Window',
alias: 'widget.errorWindow',
id: 'errorWindow',
height: 500,
width: 800,
bodyPadding: 5,
layout: {
type: 'vbox',
align: 'stretch'... | JavaScript |
/**
* @class Ext.app.LoaiHangHoaPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.LoaiHangHoaPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.loaiHangHoaPanel',
autoScroll: true,
border: true,
layout: 'border',
titleAlign: 'center',
items: [
{
region: 'center'... | JavaScript |
/**
* @class Ext.app.SaveQueryWindow
* @extends Ext.panel.Window
*/
Ext.define('QCategory', {
extend: 'Ext.data.Model',
fields: [
{name: 'name', type: 'string'},
{name: 'value', type: 'string'}
]
});
Ext.define('Ext.app.SaveQueryWindow', {
extend: 'Ext.w... | JavaScript |
/**
* @class Ext.app.ResultPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.ResultPanel', {
extend: 'Ext.tab.Panel',
alias: 'widget.resultPanel',
autoScroll: true,
border: false,
id: 'resultPanel',
activeTab: 0,
items: [
{
title: this.translations.get("HOME... | JavaScript |
Ext.define('Ext.app.TaoMoiKhoWindow', {
extend: 'Ext.window.Window',
alias: 'widget.taoMoiKhoWindow',
height: 210,
width: 400,
layout: 'fit',
plain:true,
items: {
xtype: 'form',
layout: 'absolute',
defaultType: 'textfield',
border: false,
... | JavaScript |
/**
* @class Ext.app.PhieuNhapKhoPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.PhieuNhapKhoPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.phieuNhapKhoPanel',
requires: [
'Ext.app.DanhSachMatHangLookup'
],
initComponent: function () {
Ext.apply(this, {
a... | JavaScript |
/**
* @class Ext.app.DanhSachMatHangLookup
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.DanhSachMatHangLookup', {
extend: 'Ext.window.Window',
alias: 'widget.dsMatHangLookup',
initComponent : function() {
Ext.getBody().mask();
Ext.apply(this, {
height: 500,
... | JavaScript |
/**
* @class Ext.app.XemPhieuBanHangPanel
* @extends Ext.panel.Panel
*/
Ext.define('Ext.app.DanhSachPhieuBanHangPanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.danhSachPhieuBanHangPanel',
autoScroll: true,
border: true,
layout: 'border',
titleAlign: 'center',
items: [
{
... | JavaScript |
/**
* @class Ext.app.LoadQueryWindow
* @extends Ext.panel.Window
*/
Ext.define('Ext.app.LoadQueryWindow', {
extend: 'Ext.window.Window',
alias: 'widget.loadQueryWindow',
id: 'loadQueryWindow',
height: 180,
width: 400,
layout: 'border',
items: [
{
xtype: ... | JavaScript |
// A TextboxHint observes a field, giving it a "textbox hint" when it is empty and does not have focus.
// Beware: it is flawed because it won't allow the user to submit text that is the same as the hint!
// Written in Protoype style because Tapestry includes the Protoype library (http://www.prototypejs.org/).
Tex... | JavaScript |
// ColorSwitcher observes the 'firstName' element, switching its color on every keystroke.
// Written in Protoype style because Tapestry includes the Protoype library (http://www.prototypejs.org/).
ColorSwitcher = Class.create( {
initialize : function() {
this.element = $('firstName');
Even... | JavaScript |
// A TextboxHint observes a field, giving it a "textbox hint" when it is empty and does not have focus.
// Beware: it is flawed because it won't allow the user to submit text that is the same as the hint!
// Written in Protoype style because Tapestry includes the Protoype library (http://www.prototypejs.org/).
Tex... | JavaScript |
// A TextboxHint observes a field, giving it a "textbox hint" when it is empty and does not have focus.
// Beware: it is flawed because it won't allow the user to submit text that is the same as the hint!
// Written in Protoype style because Tapestry includes the Protoype library (http://www.prototypejs.org/).
Tex... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
* @name BeautyTips
* @desc a tooltips/baloon-help plugin for jQuery
*
* @author Jeff Robbins - Lullabot - http://www.lullabot.com
* @version 0.9.5 release candidate 1 (5/20/2009)
*/
jQuery.bt = {version: '0.9.5-rc1'};
/*
* @type jQuery
* @cat Plugins/bt
* @requires jQuery v1.2+ (not tested... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
* @name BeautyTips
* @desc a tooltips/baloon-help plugin for jQuery
*
* @author Jeff Robbins - Lullabot - http://www.lullabot.com
* @version 0.9.5 release candidate 1 (5/20/2009)
*/
jQuery.bt = {version: '0.9.5-rc1'};
/*
* @type jQuery
* @cat Plugins/bt
* @requires jQuery v1.2+ (not tested... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
* jQuery showLoading plugin v1.0
*
* Copyright (c) 2009 Jim Keller
* Context - http://www.contextllc.com
*
* Dual licensed under the MIT and GPL licenses.
*
*/
jQuery.fn.showLoading = function(options) {
var indicatorID;
var settings = {
'addClass': '',
'b... | JavaScript |
/*!
* jQuery Mobile 1.3.2
* Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
(function ( root, doc, factory ... | JavaScript |
/*************************************************** PAGE FUNCTIONS ***************************************************/
function doReload() {
location.reload();
}
function TestPayPal() {
var code = 'code1';
var description = 'description1';
var quantity = 1;
var value = 100;
var tax... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.1 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All ... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.0 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All R... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.1 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All ... | JavaScript |
/*!
* Add to Homescreen v2.0.4 ~ Copyright (c) 2012 Matteo Spinelli, http://cubiq.org
* Released under MIT license, http://cubiq.org/license
*/
var addToHome = (function (w) {
var nav = w.navigator,
isIDevice = 'platform' in nav && (/iphone|ipod|ipad/gi).test(nav.platform),
isIPad,
isRetina,
isSafari,
isS... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
json2.js
2011-10-19
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM S... | JavaScript |
/*
* jQuery showLoading plugin v1.0
*
* Copyright (c) 2009 Jim Keller
* Context - http://www.contextllc.com
*
* Dual licensed under the MIT and GPL licenses.
*
*/
jQuery.fn.showLoading = function(options) {
var indicatorID;
var settings = {
'addClass': '',
'b... | JavaScript |
/*************************************************** PAGE FUNCTIONS ***************************************************/
function doReload() {
location.reload();
}
function TestPayPal() {
var code = 'code1';
var description = 'description1';
var quantity = 1;
var value = 100;
var tax... | JavaScript |
/*
* jQuery Mobile Framework Git Build: SHA1: b49cc06499abf8f987cf90f35349cfac0918c939 <> Date: Tue Oct 2 11:22:34 2012 -0700
* http://jquerymobile.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
(function ( root, doc, factory ) {
if ... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.1 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All ... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.0 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All R... | JavaScript |
// *************************************************************************
// * jPayPalCart v1.1 *
// * *
// * (c) 2012 Ultimateweb LTD <info@ultimateweb.co.uk> *
// * All ... | JavaScript |
/*!
* Add to Homescreen v2.0.4 ~ Copyright (c) 2012 Matteo Spinelli, http://cubiq.org
* Released under MIT license, http://cubiq.org/license
*/
var addToHome = (function (w) {
var nav = w.navigator,
isIDevice = 'platform' in nav && (/iphone|ipod|ipad/gi).test(nav.platform),
isIPad,
isRetina,
isSafari,
isS... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
* @name BeautyTips
* @desc a tooltips/baloon-help plugin for jQuery
*
* @author Jeff Robbins - Lullabot - http://www.lullabot.com
* @version 0.9.5 release candidate 1 (5/20/2009)
*/
jQuery.bt = {version: '0.9.5-rc1'};
/*
* @type jQuery
* @cat Plugins/bt
* @requires jQuery v1.2+ (not tested... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*!
* Note: While Microsoft is not the author of this script file, Microsoft
* grants you the right to use this file for the sole purpose of either:
* (i) interacting through your browser with the Microsoft website, subject
* to the website's terms of use; or (ii) using the files as included with a
* Microsoft p... | JavaScript |
/*
json2.js
2011-10-19
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM S... | JavaScript |
/// <reference path="jquery-1.6.2.js" />
/// <reference path="jquery-ui-1.8.11.js" />
/// <reference path="jquery.validate.js" />
/// <reference path="knockout-2.0.0.debug.js" />
/// <reference path="modernizr-2.0.6-development-only.js" /> | JavaScript |
$(function () {
// Cache for dialogs
var dialogs = {};
var getValidationSummaryErrors = function ($form) {
// We verify if we created it beforehand
var errorSummary = $form.find('.validation-summary-errors, .validation-summary-valid');
if (!errorSummary.length) {
... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
/*
* @name BeautyTips
* @desc a tooltips/baloon-help plugin for jQuery
*
* @author Jeff Robbins - Lullabot - http://www.lullabot.com
* @version 0.9.5 release candidate 1 (5/20/2009)
*/
jQuery.bt = {version: '0.9.5-rc1'};
/*
* @type jQuery
* @cat Plugins/bt
* @requires jQuery v1.2+ (not tested... | JavaScript |
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (na... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.