Hi everyone, I know this is a stupid question but I can't figure out how to make a link load a div. I have
What should I do?
Code:
<html>
<head>
<style type="text/css">
#lock { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #000; opacity: 0.7; }
</style>
</head>
<body>
<p>This page will be locked if you <a onclick="lock" href="mailto:billgates@msn.com">click here</a></p>
</body>
</html>
What should I do?