~intrahealth+informatics/ihris-common/3.1.4-release

« back to all changes in this revision

Viewing changes to templates/view.js

  • Committer: Carl Leitner
  • Date: 2007-10-03 18:12:42 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: litlfred@ibiblio.org-20071003181242-d5tpqmm3pof179ei
Added scripts/ and css/ directories     

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<script type="text/javascript">
2
 
function hideDiv( id, anchor ) {
3
 
        if ( anchor.className == 'hide' ) {
4
 
                document.getElementById(id).style.display = 'none'; 
5
 
                anchor.title = 'Expand';
6
 
                anchor.innerHTML = 'Expand';
7
 
                anchor.className = 'expand';
8
 
        } else {
9
 
                document.getElementById(id).style.display = 'inline';
10
 
                anchor.title = 'Hide';
11
 
                anchor.innerHTML = 'Hide';
12
 
                anchor.className = 'hide';
13
 
        }
14
 
        return false;
15
 
}
16
 
var prevAnchor = false;
17
 
</script>
 
 
b'\\ No newline at end of file'