Subversion Repositories wimsdev

Rev

Rev 4349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4349 Rev 6362
Line 6... Line 6...
6
slib_author=Joke, EVERS
6
slib_author=Joke, EVERS
7
!exit
7
!exit
8
 
8
 
9
:proc
9
:proc
10
 
10
 
-
 
11
slib_out=<script type='text/javascript'>\
-
 
12
/*<![CDATA[*/\
11
slib_out=<script type='text/javascript'>var allow_to_fill_in=['input', 'textarea','select'];\
13
var allow_to_fill_in=['input', 'textarea','select'];\
12
allow_to_fill_in=allow_to_fill_in.join('|');\
14
allow_to_fill_in=allow_to_fill_in.join('|');\
13
function disableselect(e){if (allow_to_fill_in.indexOf(e.target.tagName.toLowerCase())==-1){return false }}\
15
function disableselect(e){if (allow_to_fill_in.indexOf(e.target.tagName.toLowerCase())==-1){return false }}\
14
function Activate_It(){return true } \
16
function Activate_It(){return true } \
15
if (typeof document.onselectstart!='undefined'){\
17
if (typeof document.onselectstart!='undefined'){\
16
 document.onselectstart=new Function ('return false')}\
18
 document.onselectstart=new Function ('return false')}\
17
  else{document.onmousedown=disableselect;document.onmouseup=Activate_It;}\
19
  else{document.onmousedown=disableselect;document.onmouseup=Activate_It;}\
-
 
20
/*]]>*/\
18
 </script>
21
 </script>