[ASP.] Introduction to using layer

Source: Internet
Author: User

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.