The example in this article describes the Blockui pop-up layer that jquery implements with matte effect. Share to everyone for your reference, specific as follows:
First enclose the code:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > < HTML xmlns= "http://www.w3.org/1999/xhtml" xml:lang= "en" >
The Operation effect chart is as follows:
The parameter description is as follows:
Message = content that needs to pop up
CSS = pop-up content style, where attributes need to be written in the form of JS, such as Background-color => backgroundcolor
$.unblockui () = Close the projectile layer
Full instance code click here to download the site .
Add the official website address: http://www.malsup.com/jquery/block/
More interested readers of jquery-related content can view the site topics: "jquery window Operation tips Summary", "jquery drag and drop effects and tips summary", "jquery common Plug-ins and Usage summary", "jquery Ajax Usage Summary", "jquery Table" ( Table) Summary of operations tips, jquery Extended techniques Summary, jquery Common Classic effects summary, jquery animation and special effects usage summary and jquery selector Usage Summary
I hope this article will help you with the jquery program design.