Select Page
Div Anchors
Div Anchors

Using onclick inline javascript to a location can make a div act like an anchor.


<div onclick="location.href='url'">content</div>
jQuery:
$("div").click(function(){
window
.location=$(this).find("a").attr("href"); return false;
});