Jquery implements a simple mask layer, and jquery implements a mask
This article describes the jquery mask layer, including different style implementations of the mask layer and mask Implementation of the mask layer. The details a
Analysis of jQuery mask layer performance instances and jquery mask instance analysis
This article analyzes the effects of the jQuery mask layer. We will share this with you for your reference. The details are as follows:
Let's take a look at the sample code:
In fact, the principle of the mask layer is very simple.
A
There are two methods, mask () and unmask (), which add a mask layer and a hint message implementation to the specified element to increase the customer experience. As a result of the recent project, found that sometimes in order to use these one or two methods need to introduce a relatively "large" ExtJS come in, feel a bit uneconomical, so I use jquery to implement a relatively simple
Using div to implement the Mask Layer Effect, div implements the Mask Layer
Using div to implement the mask layer effect is to use a full screen, translucent div to cover other elements on the page. A typical example is Baidu's logon interface. The following shows the sample code:
1 Mouse Up add a mask to the top of the pictureAttach code and implementation examples below234"UTF-8">567 8"stylesheet"Type="Text/css"href="Css/animate.min.css"/>9Ten - - the"xx" class="img"> *"http://img30.360buyimg.com/cf/jfs/t2272/225/1335281049/8046/14afb9a/565805c1Nb3eb3c63.jpg"style="width:200px;height:200px;"/> $"mm" class="MB current">Panax Notoginseng"Mb_text" class="animated Bouncein"> -"#"onclick="alert (' 123 ')">----more---- the + A
In JavaScript, click to view the effect of the translucent mask layer on a large page, and click View mask.
This effect is frequently used. I am often asked this question, so I need to write it as an article. If someone asks me again, just drop out the URL of this article. This effect is very simple, so I will not explain it too much, but I will understand it by looking at the code annotations. The followin
JavaScript imitation flash mask animation effect, javascript mask
This article provides examples of how to implement the JavaScript imitation flash mask animation for your reference. The details are as follows:
The above is all the content of this article, and I hope it will help you learn JavaScript programming.
JQuery click the image to bring up the big picture mask layer. jquery click the big picture mask.
Use the jQuery plug-in HoverTreeShow to display a large image at the mask layer.Effect experience:Http://hovertree.com/texiao/hovertreeshow/When developing the product display function of the HoverTreeTop project, jQuery creates a plug-in: HoverTreeShow, using this p
WinForm special effect: Mask Layer on the desktop and winform special effect Mask Layer
A form effect helps you understand several windows api functions. effect: A simple mask layer is added to the windows desktop. WS_EX_TRANSPARENT is important and implements the mouse penetration function.
[Csharp]View plaincopy
Using System;
Using System. Drawing;
Usi
() {Ext.Msg.hide ();}},Closable:true});settimeout (function () {Ext.Msg.hide ();},5000);}
Dynamic Update progress Information
It looks good up there. But in the example application I found that waiting for the progress bar (wait mask) gray mask can not hide the bug, I modified the example below
The code is as follows
Copy Code
Ext.define (' Ext.form.SubmitFix ',
Js + html implement Mask Layer Effect (favorites), js mask
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
CSS3 animation mask text effects, css3 mask text effects
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
Sometimes you need to add gestures to the ScrollView to get a click, and then to put the keyboard back on, use the add gesture. However, there will be some follow-up problems, such as intercepting all the other clickable controls on ScrollView, and you may be able to set some properties of the gesture control. But it is not enough to set the properties of Uigesturerecognizer, for example:screentouch.numberoftapsrequired = 1;[Screentouchsetcancelstouchesinview:no];This sometimes intercepts the Ui
The use of clipping masks is relatively easy, and the layout of the base of the clipping mask is divided roughly into two kinds, one is linear movement, the other is planar motion.
Straight motion.
1 Up and down motion
About 2 movement
Plane motion
3 Diagonal
4 Diagonal
5 Circles
6 "8" word
7 Refraction (WARP)
The above is a bunch of effects, as long as y
Page Mask Popup is the most common case, today with jquery implementation Page Mask popup, the main use of technology has JQUERY,CSS and HTML, The HTML code is as follows: Copy the Code code as follows: The CSS code is as follows: Copy the Code code as follows: Body {Font-family:arial, Helvetica, Sans-serif;font-size:12px;margin:0;}#main {height:1800px;padding-top:90px;Text-align:center;}#fullbg {Backgroun
The default nine Sudoku picture arrangement effect, when the mouse hovers over the picture, will drop a translucent mask from the top of the picture
At the same time there are some text introduction
How to use:
1, the head of the CSS style into your Web page2, copy the code part to your Web page before the end of the place can be(JS, picture using absolute path, do not recommend modification)
Copy Code code as follows:
$ (function
The code is as follows:
The effect diagram is as follows:
Knowledge Points:
Application of position:fixed;The style of the set element is known to be position:fixed; , the elements are positioned relative to the browser window, allowing for page effects such as sidebar bars. At the same time, you can set the width:100%;height:100% for the element;. Because the element is relative to the browser window, the element fills the entire page at this point.
Note: Writing a
JQuery mask layer plug-in and jquery mask plug-in
Operations that take a long time on the webpage, such as exporting reports, are often encountered. To prevent users from clicking another operation or clicking the same function multiple times, you must use the mask layer to cover the page or operation area to prevent users from performing the next operation and i
Preface
Load Mask (Mask) effect, that is, before the page is fully displayed, add a transfer effect.
For example:
Adding such an effect has two advantages:
1. mask the following pages before they are fully displayed to prevent illegal operations.
2. If the page show takes a long time, it will temporarily attract the user's attention (that is, improveUser Experie
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.