I can't seem to get it working for anything but div

Comments

aaron’s picture

apply the patch from http://drupal.org/node/219139

then you just need to do something like:

$js ="$(document).ready(function() { 
    $('h2').corner(); 
});";
drupal_add_js($js, 'inline');
darumaki’s picture

Where would we put that code in the page.tpl ?

aaron’s picture

better to put that in template.php probably

JStarcher’s picture

Status: Active » Closed (won't fix)