Home JS special effects CSS3 special effects CSS3+ prompt box plug-in

CSS3+ prompt box plug-in

CSS3+ prompt box plug-in

CSS3+ prompt box plug-in

Introduce js code

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/myAlert.js" ></script>
<center>
<button onClick="$.myAlert('这里是提示框内的内容');">点击弹出提示框</button><br/><br/>
<button onClick="$.myAlert({title:'Title',message:'message',callback:function(){alert(1)}});">点击弹出提示框(带有callback)</button><br/><br/>
<button onClick="$.myConfirm({title:'确认框提示标题',message:'确认框提示内容',callback:function(){alert('callback')}})">点击弹出确认框</button><br/><br/>
<button onClick="$.myToast('提示内容')">点击弹出自动消失的提示</button><br/><br/>
这是一款css3的提示框插件,轻量级css3网页确认提示框代码。 

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

Introduction to the clever use of css3 animation animation special effects plug-in Introduction to the clever use of css3 animation animation special effects plug-in

17 Mar 2017

This article introduces the method of skillfully using css3 animation animation special effects plug-in.

Implement message prompt box special effects based on jQuery Tipso plug-in_jquery Implement message prompt box special effects based on jQuery Tipso plug-in_jquery

16 May 2016

This article mainly introduces the implementation of message prompt box special effects based on the jQuery Tipso plug-in. It has certain reference value. Interested friends can refer to it.

h5 and css3 create input box with prompt text h5 and css3 create input box with prompt text

23 May 2017

A CSS unique to webkit that can control the text style inside. With the animation effects and pseudo-classes of CSS3, we can easily make an animated input box, which is very suitable for system login, search, etc. If you are interested You can refer to this article, it may be able to help you

How to Emulate CSS3 Border-Radius and Box-Shadow in IE7/8? How to Emulate CSS3 Border-Radius and Box-Shadow in IE7/8?

02 Nov 2024

Emulating CSS3 Border-Radius and Box-Shadow in IE7/8In the absence of native CSS3 support in Internet Explorer 7 and 8, achieving effects like...

HTML5 cooperates with CSS3 to implement an input box with prompt text (get rid of js)_html5 tutorial skills HTML5 cooperates with CSS3 to implement an input box with prompt text (get rid of js)_html5 tutorial skills

16 May 2016

A CSS unique to webkit can control the text style inside. With the animation effects and pseudo-classes of CSS3, we can easily make an animated input box, which is very suitable for system login, search, etc. If you are interested You can refer to this article, it may be able to help you

How to skillfully use CSS3 special effects to improve the user experience of web pages How to skillfully use CSS3 special effects to improve the user experience of web pages

09 Sep 2023

How to skillfully use CSS3 special effects to improve the user experience of web pages. With the development of the Internet, web design and user experience have become important links in website development. The application of CSS3 special effects can add dynamics and visual effects to web pages and improve user experience. This article will introduce several common CSS3 special effects and their code examples to help developers become more proficient in using CSS3 special effects and improve the user experience of web pages. Transition effect (Transition) Transition effect is one of the most basic special effects in CSS3. By changing a certain attribute

jquery plug-in production prompt box plug-in implementation code_jquery jquery plug-in production prompt box plug-in implementation code_jquery

16 May 2016

Today we are introducing the production of tooltip, a prompt box plug-in, and we will also introduce the development of custom selector plug-ins.

jQuery message prompt box plug-in Tipso_jquery jQuery message prompt box plug-in Tipso_jquery

16 May 2016

Tipso is a Tooltip prompt box plug-in based on jQuery. It provides many parameters, such as display animation duration, background color, text color, display position, loading ajax content, callback functions, etc.

Implementation of css3 visual effects Implementation of css3 visual effects

22 Mar 2018

This time I will bring you the implementation of CSS3 visual special effects. What are the precautions for realizing CSS3 visual special effects? The following is a practical case, let’s take a look.

See all articles See all articles

Hot Tools

CSS text is combined into a heart-shaped animation special effect

CSS text is combined into a heart-shaped animation special effect

CSS text is combined into a heart-shaped animation special effect

CSS3 SVG expression flower animation special effects

CSS3 SVG expression flower animation special effects

SS3 SVG confession flower animation special effect is a Valentine's Day animation special effect.

CSS shopping mall websites commonly use left category drop-down navigation menu code

CSS shopping mall websites commonly use left category drop-down navigation menu code

CSS shopping mall websites commonly use left category drop-down navigation menu code

jQuery+CSS3 Valentine's Day love special effects

jQuery+CSS3 Valentine's Day love special effects

jQuery+CSS3 Valentine's Day Love Special Effect is a Valentine's Day hanging swinging heart animation special effect.

css3 spoon scooping up glutinous rice balls animation special effects

css3 spoon scooping up glutinous rice balls animation special effects

A bowl of cute glutinous rice balls expression, a spoon scooping up a glutinous rice balls animation special effects