jquery - Making full hexagon a clickable link -


i've got quite simple problem think more advanced in css myself. basically, i'm trying make hexagons links in them not have text link full hexagon i'm struggling see how can done without hacking around.

any suggestions fantastic!

well, can use jquery:

$(".about").click(function(){  window.location=$(this).find("a").attr("href");   return false; }); 

this make 'about us' tab clickable .

source: http://css-tricks.com/snippets/jquery/make-entire-div-clickable/

jsfiddle: http://jsfiddle.net/imemine29/6abl9/1/ have made work 'about us' hex


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -