| example: |
this.animB = new jt_AnimBox(this.container, this.liner, {'numSteps':9, 'elapsed':180});
this.animB.showHide(true);
this.animB.showHide(false);
this.animB.setStyle(onLeft ? 'TR' : 'TL');
|
| description: |
Animates the show and hide of a DIV, using size and opacity.
77 lines of code, 2.77 KB |
| main methods: |
jt_.AnimBox = function(boxDIV, opacityDIV, anim_Specs)
jt_.AnimBox.prototype.getBoxPos = function()
jt_.AnimBox.prototype.getBoxSize = function()
jt_.AnimBox.prototype.setStyle = function(animStyle) { // currently supported: 'TL' and 'TR'
jt_.AnimBox.prototype.showHide = function(showIt, callDone) {
jt_.AnimBox.prototype.toggle = function(callDone) {
jt_.AnimBox.boxList = [];
|