The HTML:
<!DOCTYPE HTML>
<head>
<link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" />
<script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
<script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script>
</head>
<body>
<div></div>
</body>
The CSS:
div{
height: 100px;
width: 100px;
background-color: red;
border: 4px dashed #00FF00;
}
The jQuery:
$(document).ready(function(){
$('div').click(function(){
$('div').effect('explode');
})
})
Please help me. I really don't know why it isn't working. Go ahead and try the code if it helps you. Thank you, in advance.