This tutorial teach you How to make a div clickable using jquery. Just use this short jquery code and turn your divs into clickabel.
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
No comments:
Post a Comment