banner design

BigTarget.js is a jQuery plugin that increases the size of click targets and get more call-to-action conversions.

It has 2 options that can be customized:

  • clickZone: By default the first <li> element is turned into a link but this can be changed with this option.
  • targetClass: For mentioning the class for hover effect.

JAvaScript BigTarget

How to use it?

Adding BigTarget.js functionality to your site is straight forward. First include the plugin code in the head of your document, and then when the page is ready, attach the bigTarget function to the target anchor — bigTarget.js will do the rest.

$(document).ready(function(){
$("ol.bigTarget h4 a").bigTarget();
});