Last change
on this file since 1130 was
1114,
checked in by rvelices, 19 years ago
|
NBM: check/uncheck all completely done by Javascript
NBM: add function make_index_absolute_url
NBM: add function get_user_notifications and simplified code
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.0 KB
|
Line | |
---|
1 | function SelectAll( formulaire ) |
---|
2 | { |
---|
3 | len = formulaire.elements.length; |
---|
4 | var i=0; |
---|
5 | for( 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 | |
---|
15 | function DeselectAll( formulaire ) |
---|
16 | { |
---|
17 | len = formulaire.elements.length; |
---|
18 | var i=0; |
---|
19 | for( 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 = false; |
---|
25 | } |
---|
26 | } |
---|
27 | } |
---|
28 | |
---|
29 | function Inverser( formulaire ) |
---|
30 | { |
---|
31 | len = formulaire.elements.length; |
---|
32 | var i=0; |
---|
33 | for( i=0; i<len; i++) |
---|
34 | { |
---|
35 | if ( formulaire.elements[i].type=='checkbox' |
---|
36 | && formulaire.elements[i].name != 'copie') |
---|
37 | { |
---|
38 | formulaire.elements[i].checked = !formulaire.elements[i].checked; |
---|
39 | } |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | function phpWGOpenWindow(theURL,winName,features) |
---|
44 | { |
---|
45 | window.open(theURL,winName,features); |
---|
46 | } |
---|
47 | |
---|
48 | function popuphelp(url) |
---|
49 | { |
---|
50 | window.open( |
---|
51 | url, |
---|
52 | 'dc_popup', |
---|
53 | 'alwaysRaised=yes,dependent=yes,toolbar=no,height=420,width=500,menubar=no,resizable=yes,scrollbars=yes,status=no' |
---|
54 | ); |
---|
55 | } |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.