Rev 5860 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3716 | bpr | 1 | !!!!use the variable $wims_on_click in the register button. |
2 | |||
1442 | bpr | 3 | !if $wims_read_parm!= |
4 | !set wims_html_onload=!append word speckInit(); to $wims_html_onload |
||
5860 | bpr | 5 | !set wims_html_header= !append line <link href="scripts/js/speck/speck.css" rel="stylesheet" type="text/css"/>\ |
1442 | bpr | 6 | <script type="text/javascript" src="scripts/js/speck/speck.js"></script>\ |
5958 | bpr | 7 | <script type="text/javascript">\ |
3669 | bpr | 8 | to $wims_html_header |
9 | !set speck_keyword=!words2items $wims_read_parm |
||
10 | !set speck_keyword_cnt=!itemcnt $speck_keyword |
||
11 | !for speck_i=0 to $speck_keyword_cnt -1 |
||
12 | !set wims_html_header= !append line function editthis$speck_i(){ var input=iEdit['$(speck_keyword[$speck_i+1])'].html();\ |
||
13 | document.getElementById('$(speck_keyword[$speck_i+1])').innerHTML=input;\ |
||
14 | }\ |
||
15 | to $wims_html_header |
||
16 | !set wims_id$speck_i=id="$(speck_keyword[$speck_i+1])" class="iEdit" |
||
17 | !set wims_on_click_prov=$wims_on_click_prov editthis$speck_i(); |
||
18 | !next |
||
19 | !set wims_html_header= !append line </script> to $wims_html_header |
||
20 | !set wims_on_click=onclick="javascript:$wims_on_click_prov" |
||
21 | !set wims_id=$wims_id0 |
||
22 | !endif |
||
1442 | bpr | 23 | |
24 | !default wims_id= |
||
25 | !default wims_on_click= |
||
3669 | bpr | 26 | |
1442 | bpr | 27 |