From 4ae833c0c95b9ca2e08d99b47847e89abd5f7027 Mon Sep 17 00:00:00 2001 From: Sanj Date: Fri, 21 Oct 2011 19:02:54 +0100 Subject: [PATCH] make entire box clickable on front-page slider --- itf/static/js/frontpage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/itf/static/js/frontpage.js b/itf/static/js/frontpage.js index 5a0cb55..1bf7cde 100755 --- a/itf/static/js/frontpage.js +++ b/itf/static/js/frontpage.js @@ -37,6 +37,10 @@ $(function() { slider.stop(); }); + $('.tab').click(function() { + var link = $(this).find(".buttonTab").attr("href"); + location.href = link; + }); });