examples: |
jt_.BodyZ.toTop(document.getElementById("anyId")); jt_.BodyZ.toTop(jt_.demoMB.box); jt_.BodyZ.toTop(elm); jt_.BodyZ.toTop(this.container); |
description: |
Manages z-Index visibility among DOM elements that use the 'toTop()' method, explicitly when called and also implicitly on 'mouseDown' events; once used, touching that element again will bring it to the top. Can be used as a substitute for 'document.body.appendChild(elm)' 26 lines of code, 0.75 KB, required by 'jt_.Veil', 'jt_DialogBox' |
main methods: |
toTop: function(elm) // adds any 'elm' to top of z-Index |