Does it work for H tags ?

darumaki - January 21, 2008 - 20:53
Project:curvyCorners
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

aaron - February 8, 2008 - 02:42

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

then you just need to do something like:

<?php
$js
="$(document).ready(function() {
    $('h2').corner();
});"
;
drupal_add_js($js, 'inline');
?>

#2

darumaki - February 8, 2008 - 08:58

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

#3

aaron - February 8, 2008 - 21:17

better to put that in template.php probably

 
 

Drupal is a registered trademark of Dries Buytaert.