- TaskTracker.zip
- css
- images
- Actions-document-edit-icon.png
- app-note-icon.png
- edit-trash-icon.png
- main.htm
- manifest.appcache
- scripts
- themes
- base
- le-frog
- images
- ui-bg_diagonals-small_0_aaaaaa_40x40.png
- ui-bg_diagonals-thick_15_444444_40x40.png
- ui-bg_diagonals-thick_95_ffdc2e_40x40.png
- ui-bg_glass_55_fbf5d0_1x400.png
- ui-bg_highlight-hard_30_285c00_1x100.png
- ui-bg_highlight-soft_33_3a8104_1x100.png
- ui-bg_highlight-soft_50_4eb305_1x100.png
- ui-bg_highlight-soft_60_4ca20b_1x100.png
- ui-bg_inset-soft_10_285c00_1x100.png
- ui-icons_4eb305_256x240.png
- ui-icons_72b42d_256x240.png
- ui-icons_cd0a0a_256x240.png
- ui-icons_ffffff_256x240.png
- jquery-ui.css
- jquery-ui-1.8.17.custom.css
- ui
- web.config
|
/*
* jQuery UI Effects Blind @VERSION
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Effects/Blind
*
* Depends:
* jquery.effects.core.js
*/
(function( $, undefined ) {
$.effects.blind = function(o) {
return this.queue(function() {
// Create element
var el = $(this), props = ['position','top','bottom','left','right'];
// Set options
var mode = $.effects.setMode(el, o.options.mode || 'hide'); // Set Mode
var direction = o.options.direction || 'vertical'; // Default direction
// Adjust
$.effects.save(el, props); el.show(); // Save & Show
var wrapper = $.effects.createWrapper(el).css({overflow:'hidden'}); // Create Wrapper
var ref = (direction == 'vertical') ? 'height' : 'width';
var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width();
if(mode == 'show') wrapper.css(ref, 0); // Shift
// Animation
var animation = {};
animation[ref] = mode == 'show' ? distance : 0;
// Animate
wrapper.animate(animation, o.duration, o.options.easing, function() {
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
if(o.callback) o.callback.apply(el[0], arguments); // Callback
el.dequeue();
});
});
};
})(jQuery);
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am Solution Architect with 20+ years of IT experience in the field of real time,embedded,client/server and web based applications and Business Intelligence . I am currently working as Senior Consultant for Infor.