1function animateThis(id, height) { 2var attributes = { 3 height: { to: height }, 4 width: {by: 0 } 5}; 6 7var myAnim = new YAHOO.util.Anim(id, attributes); 8 9var attributes2 = { 10 height: { by: 0 }, 11 width: {by: 0 } 12}; 13 14var myAnimPause = new YAHOO.util.Anim(id, attributes2); 15myAnimPause.duration = 3; 16 17var attributes3 = { 18 height: { to: 0 }, 19 width: {by: 0 } 20}; 21 22var myAnimClose = new YAHOO.util.Anim(id, attributes3); 23 24 25myAnim.onComplete.subscribe(pause); 26myAnimPause.onComplete.subscribe(close); 27 28myAnim.animate(); 29 30function pause(){ 31 myAnimPause.animate(); 32} 33 34function close(){ 35myAnimClose.animate(); 36} 37 38} 39 40function openThis(id, height) { 41var attributes = { 42 height: { to: height } 43}; 44 45var myAnim = new YAHOO.util.Anim(id, attributes); 46myAnim.animate(); 47} 48 49function closeThis(id, height) { 50var attributes = { 51 height: { to: height }, 52 width: {by: 0 } 53}; 54 55var myAnim = new YAHOO.util.Anim(id, attributes); 56myAnim.animate(); 57} 58
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.