SSL Security You Can Bank On at GoDaddy.com Flexible Cloud Hosting from GoDaddy.com, starting at $.05 per hour!

Sunday, August 19, 2012

Show a Message To User By Clicking on Button


When We Click on any button in some PRO website's OR in PRO blogs we show the Pop-Up message with some kind of message for user which gives some instruction about the website OR blog OR about the special notifications for user.


What is This....?

If you want to show the visitor a message when he or she clicks on a button or a link you would maybe want to try this code.


Live Demo



Click Here


Codes

  • Copy below codes
  • Paste where you want to show

<style>
/*--- Message To User By Click On Button By www.fblatest.in --- */

.btnLogin
{
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:15px;
    background:#a1d8f0;
    background:-moz-linear-gradient(top, #badff3, #7acbed);
    background:-webkit-gradient(linear, center top, center bottom, from(#badff3), to(#7acbed));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#badff3', EndColorStr='#7acbed')";
    border:1px solid #7db0cc !important;
    cursor: pointer;
    padding:11px 16px;
    font:bold 11px/14px Verdana, Tahomma, Geneva;
    text-shadow:rgba(0,0,0,0.2) 0 1px 0px;
    color:#fff;
    -moz-box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    -webkit-box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    box-shadow:inset rgba(255,255,255,0.6) 0 1px 1px, rgba(0,0,0,0.1) 0 1px 1px;
    margin-center:12px;
    float:center;
    padding:7px 21px;
}

.btnLogin:hover,
.btnLogin:focus,
.btnLogin:active{
    background:#a1d8f0;
    background:-moz-linear-gradient(top, #7acbed, #badff3);
    background:-webkit-gradient(linear, center top, center bottom, from(#7acbed), to(#badff3));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#7acbed', EndColorStr='#badff3')";
}
.btnLogin:active
{
    text-shadow:rgba(0,0,0,0.3) 0 -1px 0px;
}
/*--- Message To User By Click On Button By www.fblatest.in --- */
</style>

<!-- This Script by www.fblatest.in, Coded By: Krishna | Designing By: Hemant Verma-->

<!-- Start of Message Alert -->
<!-- Use this button in a form to pop-up a message when the user clicks it -->
<center>
<form>
<input type="button" value="Message" class="btnLogin" onClick="alert('Write Your Message Here'); return true">
</form>
</center>
<!-- End of Message Alert -->




Make Changes....!

  • Replace Message it with your button name.
  • Replace Write Your Message Here it with your message



Enjoy and Have Fun With Your Messages






Thanks for Visit Here Like Us on Facebook.
If Any Problem, Ask in Comments Follow US on Twitter.

2 comments:

Anonymous said...

Ahаa, itѕ nice dіаlogue
conсerning this piece of writіng
at this plaсe at thіs wеb ѕitе, I havе read all that,
so аt this time me also commenting at thiѕ place.
Feel free to visit my weblog search engine

Anonymous said...

hey there and thаnk you for your information
– I hаve certainly рicked up somеthing new
from rіght here. Ι did howevеr expertise some
technical issues using this websіte, since I eхperienceԁ to rеload the
ωebsite а lot of times previous to I could get it tо loaԁ pгoρerly.
I hаd been wondering if your web host
is OK? Nоt that I am cоmplaining, but slow loading inѕtances timeѕ will sometimes affect youг placemеnt in google
and сould ԁаmage your qualitу ѕcore іf
аds and maгketing with Adworԁs. Anywаy Ι am adding this
RSS to my e-mail and сould lοoκ out
for much more of your resρесtive exciting contеnt.

Makе sure yоu update this again soοn.
My web site > Fish Oil

Post a Comment

Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
$1.99 Domains* at GoDaddy.com
Home | Advertise Here | About Author
Blogger Wordpress Gadgets

About Author

Hi....! I'm Hemant Verma, Graduate in Computer Applications in 2012, Love to Make Blogger Hacks and Like to Play with HTML and a Business Man. Read More....

Demanding Tut