example: |
jt_.Veil.show(true); |
description: |
Implements a technique to prevent access to the underlying page, effectively acting "modal". The screen is covered by a semi-transparent DIV, whose appearance is defined by the 'css' property.
30 lines of code, 1.3 KB |
main methods: |
show: function(showIt) // displays veil when 'showIt' is true, removes veil when 'showIt' is false css: {position:"absolute", display:"none", top:0, left:0, cursor:"not-allowed", backgroundColor:"#000000", filter:"alpha(opacity=20)", opacity:0.2} |