Layer is a popular web-layered component in recent years, and she has a full range of solutions that are dedicated to developers of all levels, and your pages will easily have a rich and friendly operation experience.
In comparison with similar components, layers are always easy to win. As much as possible, she is showing more robust features in less code, with extra focus on performance improvements, ease-of-use, and usability, and as a result, more and more developers are throwing their winks at the layer. layer is even compatible with all major browsers, including IE6. Her impressive number of interfaces allows you to customize too many of the styles you need, each with its own distinctive features and popularity. Of course, this "po-selling Melon" statement always sounds a little uncomfortable, so you need to know more about whether she is really what you want.
Use the following code
<%@ Page Language="C #"AutoEventWireup="true"codebehind="Default.aspx.cs"Inherits="Testlayer.default" %><!DOCTYPE HTML><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Headrunat= "Server"><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8"/> <title></title> <Scriptsrc= "Scripts/jquery-1.10.2.min.js"></Script> <Scriptsrc= "Scripts/layer/layer.js"></Script> <Linkhref= "Scripts/layer/theme/default/layer.css"rel= "stylesheet" /> <Scripttype= "Text/javascript"> functionShowData () {Layer.alert ('Icons 5', {icon:5 }); } </Script></Head><Body> <formID= "Form1"runat= "Server"> <Div> <aclass= "Layui-layer-btn layui-layer-btn1"onclick= "ShowData ()">Test</a> </Div> </form></Body></HTML>
The referenced files are as follows
[ASP.] Introduction to using layer