I'm trying to make a my link work only when Ctrl+Shift is pressed, otherwise I'd like it to do nothing. I can't seem to get it to work though. Any ideas?
<html>
<head>
<script type="text/javascript">
function keycheck(){
if (e.ctrlKey && e.shiftKey) {;
document.getElementById("hello").onclick = function() {
location.href='http://www.mylink.com/';
}
}
else {;
document.getElementById("hello").onclick = function() {
location.href='#';
}
}
}
</script>
</head>
<body>
<a href="#" onClick="keycheck()" id="hello">HELLO</a>
</body>
</html>