js code

Drupal tabs activated trough URL anchors

This is the code for calling a js file from the module

<?php
$path
= drupal_get_path('module', 'name_of _the_module');   
drupal_add_js($path .'/name_js_file.js');
?>

Syndicate content