Based on the HTML5 mobile phone Mobile-side dialog box effect

Source: Internet
Author: User

HTML Demo Address: http://www.w2bc.com/demo/201511/2015-11-01-html5-mobile-alter-info/index.html

<Center>        <inputtype= "button"ID= "Success"value= "Success" />        <inputtype= "button"ID= "Error"value= "Error" />        <inputtype= "button"ID= "Load"value= "Loading" />        <inputtype= "button"ID= "Tip"value= "hint" />    </Center>     <Scripttype= "Text/javascript"src= "Zepto.min.js"></Script>    <Scripttype= "Text/javascript"src= "Mdialog.js"></Script>    <Scripttype= "Text/javascript">        //Success        $("#success"). Click (function () {            Newtipbox ({type:'Success', str:'Operation succeeded', hasbtn:true });        }); //Error        $("#error"). Click (function () {            Newtipbox ({type:'Error', str:'Sorry, something went wrong!', hasbtn:true });         }); //Tips        $("#tip"). Click (function () {            Newtipbox ({type:'Tip', str:'This is a hint message', Clickdomcancel:true, SetTime:10000500, hasbtn:true });         }); //Loading        $("#load"). Click (function () {            Newtipbox ({type:'Load', str:"try to load in:", SetTime: the, CallBack:function () {                    Newtipbox ({type:'Success', str:'Operation succeeded', hasbtn:true });        }            });     }); </Script>

Based on HTML5 Mobile Phone Mobile Dialog effects

Related Article

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.