jQuery Biggerlink

Categories

Component ID

2424369

Component name

jQuery Biggerlink

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

550

Component created

Component changed

Component body

Provides integration with jQuery Biggerlink plugin to make it really easy to enable the specified element's to behave as a proxy for their first contained link.

Currently it only adds library info.

Demo

http://www.ollicle.com/projects/jquery/biggerlink/eg/

How to use

So one way of using this module is to add the js from your code like this:

libraries_load('biggerlink');
$path = drupal_get_path('module', 'YOURMODULENAME');
drupal_add_js($path .'/init-biggerlink.js', array('scope' => 'footer'));

And in the init-biggerlink.js:

(function($) {
  $('.someclass li').biggerlink();
})(jQuery);