I'm very new to this concept and I'm a learner... was trying the beautiful concept of Overlay. I tried the following and unfortunately it isnt working for me. Basically I'm trying to attach the Overlay pop-up to the click of a button... Please find the code of html...
JavaScript code:
Code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">`enter code here`
<title>Demo</title>
<script src="http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js"></script>
</head>
<script>
$(document).ready(function() {
$( "#clicked" ).click(function() {
$( "#overs" ).overlay();
});
});
</script>
<body>
<div id="overs" style="display: none; "><a class="close"></a>
<p>This is My Overlay</p>
</div>
<div>
</br></br><button id="clicked">Here!!!</button>
</div>
</body>
</html>