1
2
3
4
5
6
7
8
9
10
11
12
13
|
// remove the $scripts variable. The code below takes it's place.
<?php drupal_add_js($directory .'/jquery.corner.js', 'theme'); ?>
<script type="text/javascript">
if (Drupal.jsEnabled) {
$(function(){
$('.FEED-ME-WITH-SELECTORS').corner();
});
}
</script>
<?php print drupal_get_js() ?>
|