CSS3+ prompt box plug-in
<script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/myAlert.js" ></script> <center> <button onClick="$.myAlert('這里是提示框內(nèi)的內(nèi)容');">點(diǎn)擊彈出提示框</button><br/><br/> <button onClick="$.myAlert({title:'Title',message:'message',callback:function(){alert(1)}});">點(diǎn)擊彈出提示框(帶有callback)</button><br/><br/> <button onClick="$.myConfirm({title:'確認(rèn)框提示標(biāo)題',message:'確認(rèn)框提示內(nèi)容',callback:function(){alert('callback')}})">點(diǎn)擊彈出確認(rèn)框</button><br/><br/> <button onClick="$.myToast('提示內(nèi)容')">點(diǎn)擊彈出自動(dòng)消失的提示</button><br/><br/>
這是一款css3的提示框插件,輕量級(jí)css3網(wǎng)頁確認(rèn)提示框代碼。
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

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...

28 Oct 2024
CSS3 Transitions: Achieving Fade-Out EffectsIn CSS3, transitions offer a powerful tool for creating dynamic visual effects. Among these effects is...

28 Oct 2024
Emulating the Wonders of CSS3 Effects in Older IE BrowsersWhile CSS3 brings a plethora of stylish effects to web design, legacy browsers like...

31 Dec 2024
Detecting CSS3 Transition EventsTransitions in CSS3 add dynamic effects to web elements, enhancing their responsiveness. However, it's often...

16 Nov 2024
Achieving Defined Edges with CSS3 Filter BlurIncorporating CSS3 filters to blur images enhances visual effects. However, the default blur filter...

29 Oct 2024
Creating Left-to-Right Background Color Fill with CSSIn CSS3, hover effects can be enhanced using transitions to create dynamic visual effects....

28 Oct 2024
Emulating CSS3 Effects in Internet Explorer 7/8Many websites utilize CSS3's capabilities to enhance the appearance of elements using rounded...

03 Dec 2024
Does "Transition: All" Hinder CSS3 Transition Speed?Using CSS3 transitions offers animated effects to web elements. A common practice is to employ...

28 Oct 2024
CSS3 Transition - Fade Out EffectUsing CSS3, you can easily implement fade-out effects to enhance the user experience. However, if you encounter...


Hot Tools

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
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

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
A bowl of cute glutinous rice balls expression, a spoon scooping up a glutinous rice balls animation special effects
