/[drupal]/contributions/modules/taxonomy_vtn/taxonomy_vtn.js
ViewVC logotype

Contents of /contributions/modules/taxonomy_vtn/taxonomy_vtn.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Apr 17 18:37:34 2008 UTC (19 months, 1 week ago) by tomaszx
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-RC1, DRUPAL-6--1-0-RC2, DRUPAL-6--1-0-RC3, DRUPAL-6--1-0-RC4, DRUPAL-6--1-0-RC5, DRUPAL-6--1-0-RC6, DRUPAL-5--1-0-DEV, DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA2, DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA5, DRUPAL-6--1-0-BETA4, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/javascript
Initial commit of taxonomy_vtn module.
1 // hide descriptions
2
3 function taxonomy_vtn_show_hide_desc(what){
4 if( document.getElementById('taxonomy_vtn_'+what)){
5 var table = document.getElementById('taxonomy_vtn_'+what);
6 var spany = table.getElementsByTagName('SPAN');
7
8 for(i=0;i<spany.length;i++){
9 if (spany[i].className == 'description'){
10 if (spany[i].style.display == ''){
11 spany[i].style.display = 'none';
12 }
13 else {
14 spany[i].style.display = '';
15 }
16 }
17 }
18 }
19 }
20

  ViewVC Help
Powered by ViewVC 1.1.2