Layer.load ("Question analysis, may take some time, please later ...", 0); parse

Source: Internet
Author: User

Information Box-Example 1layer.alert (' It's really nice to see you, ' {Icon:6}); //Information Box-Example 2Layer.msg (' Are you sure you're handsome? ‘, {time:0//do not close automatically, BTN: [' must ah ', ' ugly to explode '], yes:function(Index) {layer.close (index); Layer.msg (' Ya minute fly butterfly o.o ', {icon:6, btn: [' AW ', ' aw ', ' aw ']        }); }});//Information Box-Example 3Layer.msg (' This is the most used ');//Information Box-Example 4Layer.msg (' Not happy. ', {Icon:5});//Information Box-Example 4Layer.msg (' Dying to sell ',function(){//actions after closing});//page Layer-CustomLayer.open ({type:1, Title:false, closebtn:false, Shadeclose:true, Skin:' YourClass ', Content:' Custom HTML content '});//page Layer-CeriaLayer.open ({type:1, Title:false, closebtn:false, Area:' 516px ', Skin:' Layui-layer-nobg ',//No background colorShadeclose:true, Content: $ (' #tong ')});//IFRAME Layer-parent-child OperationLayer.open ({type:2, area: [' 700px ', ' 530px '], FIX:false,//not fixedMaxmin:true, Content:' Test/iframe.html '});//IFRAME Layer-MultimediaLayer.open ({type:2, Title:false, area: [' 630px ', ' 360px '], shade:0.8, closebtn:false, Shadeclose:true, Content:' Http://player.youku.com/embed/XMjY3MzgzODg0 '}); Layer.msg (' Click on the mask to close at any point ');//IFRAME Layer-Forbidden scroll barLayer.open ({type:2, area: [' 360px ', ' 500px '], Skin:' Layui-layer-rim ',//Plus BorderContent: [' http://layer.layui.com/mobile ', ' no ']});//load Layer-default stylelayer.load ();//The demo is closed hereSetTimeout (function() {Layer.closeall (' Loading ');}, 2000);//load Layer-style 2Layer.load (1);//The demo is closed hereSetTimeout (function() {Layer.closeall (' Loading ');}, 2000);//load Layer-style 3Layer.load (2);//The demo is closed hereSetTimeout (function() {Layer.closeall (' Loading ');}, 2000);//load Layer-style 4Layer.msg (' Loading in ', {icon:16});//soy sauceLayer.msg (' Icon:4, make a soy sauce ',}});//Tips Layer-upperLayer.tips (' On ', ' #id或者. class ', {tips: [1, ' #0FA6D8 ']//can also be configured with color});//Tips Layer-RightLayer.tips (' Default is Right ', ' #id或者. class ');//tips Layer-downLayer.tips (' Down ', ' #id或者. class ', {tips:3});//Tips Layer-leftLayer.tips (' left ', ' #id或者. class '), {tips: [4, ' #78BA32 ']});//Tips Layer-do not destroy the previousLayer.tips (' Do not destroy previous ', ' #id或者. class ', {tipsmore:true});//default PromptLayer.prompt (function(val) {layer.msg (' Got ' +val);});//Block Browser scroll barLayer.open ({content:' Browser scroll bar is locked ', ScrollBar:false});//Popup is full screenvarindex =Layer.open ({type:2, Content:' Http://www.layui.com ', area: [' 300px ', ' 195px '], Maxmin:true}); Layer.full (index);//just aboveLayer.msg (' Flexible use of offset ', {offset:0, Shift:6});//more examplesLayer.msg (' Entering '); 

Layer.load ("in question analysis, may take a while, please later ...", 0); parsing

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.