You are not preventing the event bubbling properly.
$("#myLink").click(function(e) {
e.stopPropagation(); // this will prevent bubbling.
});
// This event handler has to be called only when the user clicked inside the div, but outside the link
$("#myDiv").click(function() {
// DO SOME STUFF
});
You can read more about event.stopPropagation() here: http://api.jquery.com/event.stopPropagation/
If you want to redirect, you have to use:
window.navigate('url-goes-here');