How to make a div clickable using jquery

This tutorial teach you How to make a div clickable using jquery. Just use this short jquery code and turn your divs into clickabel.


How to make a div clickable using jquery

CSS CODE

.clickable-div
{
 width:400px;
 padding:50px;
 text-align:center;
 background:#CC9900;
 cursor:pointer;
}
.clickable-div a
{
 color:#333;
 text-decoration:none;
 font-weight:bold;
}

JQUERY CODE



HTML CODE


Download File Used in this example View Live Demo
Total Downloads:

No comments:

Post a Comment