JQuery
view release on metacpan or search on metacpan
lib/JQuery/jquery_js/plugins/interface/interface.js view on Meta::CPAN
* Interface Elements for jQuery
*
* http://interface.eyecon.ro
*
* Copyright (c) 2006 Stefan Petre
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
*
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};wh...
lib/JQuery/jquery_js/plugins/sifr/sifr.js view on Meta::CPAN
// Handle to object
jqThis = jQuery(this);
// Only continue if we support flash and haven't replaced allready
if (jQuery.sifr.blnFlashValid && !jqThis.is('.sIFR-flash')) {
// Calculate new width and height
intWidth = parseInt(this.offsetWidth);
intHeight = parseInt(this.offsetHeight);
// If this fails, we don't have a width and height set, WHICH MUST BE THE CASE
if (isNaN(intWidth) || isNaN(intHeight)) {
alert('fook it');
return;
}
// Remove padding
intWidth-= (arrOptions.intPadding[0] + arrOptions.intPadding[2]);
intHeight-= (arrOptions.intPadding[1] + arrOptions.intPadding[3]);
// Make sure an & is at the end of the flashvars
if (arrOptions.strFlashVars.substr(arrOptions.strFlashVars.length, 1) != '&')
lib/JQuery/jquery_js/plugins/validate/jquery.validate.js view on Meta::CPAN
* @desc Declares an optional input element whose value must be a valid date (or none at all).
*
* @example <input name="birthdate" class="{required:true,date:true}" />
* @desc Declares an input element whose value must be a valid date.
*
* @name jQuery.validator.methods.date
* @type Boolean
* @cat Plugins/Validate/Methods
*/
date: function(value, element) {
return !jQuery.validator.methods.required(value, element) || !/Invalid|NaN/.test(new Date(value));
},
/**
* Return true, if the value is a valid date, according to ISO date standard.
*
* Works with all kind of text inputs.
*
* @example jQuery.validator.methods.date("1990/01/01")
* @result true
*
lib/JQuery/jquery_js/plugins/validate/jquery.validate.pack.js view on Meta::CPAN
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};whi...
lib/JQuery/jquery_js/plugins/window/window.js view on Meta::CPAN
//----------------------------------------------------------------------------------------------------
/**
* Updates the title of the window
* @param object
* @param double
*/
setOpacity: function(objWindow, dblValue) {
// Check opacity
dblValue = parseFloat(dblValue);
if (isNaN(dblValue))
dblValue = 1.0;
// Set new opacity
jQuery(objWindow).css({
opacity: dblValue
});
// Save new opacity
objWindow.jw.hshOptions.dblOpacity = dblValue;
},
( run in 0.607 second using v1.01-cache-2.11-cpan-4d50c553e7e )