source: branches/branch-1_4/include/scripts.js @ 778

Last change on this file since 778 was 539, checked in by gweltas, 20 years ago
  • Change of the picture page behavior to be able to open the full size image in a new window
  • Minor modification for template migration
  • Rename of script.js in scripts.js
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 622 bytes
Line 
1function SelectAll( formulaire )
2{
3len = formulaire.elements.length;
4var i=0;
5for( i = 0; i < len; i++)
6{
7  if ( formulaire.elements[i].type=='checkbox'
8           && formulaire.elements[i].name != 'copie')
9  {
10        formulaire.elements[i].checked = true;
11  }
12}
13}
14
15function Inverser( formulaire )
16{
17len = formulaire.elements.length;
18var i=0;
19for( i=0; i<len; i++)
20{
21  if ( formulaire.elements[i].type=='checkbox'
22           && formulaire.elements[i].name != 'copie')
23  {
24        formulaire.elements[i].checked = !formulaire.elements[i].checked;
25  }
26}
27}
28
29function phpWGOpenWindow(theURL,winName,features) 
30{
31  window.open(theURL,winName,features);
32}
Note: See TracBrowser for help on using the repository browser.