Finished changes to Rico 2.3. Upgraded Rico 2.3 to prototype 1.7. Rico 2.3 should...
[infodrom/rico3] / ricoClient / js / export-plain.html
1 <html>\r
2 <head>\r
3 <title>Export</title>\r
4 <script type="text/javascript">\r
5 function getdata() {\r
6   if (!window.opener || window.opener.closed) {\r
7     alert('Error! Parent window is closed');\r
8     return;\r
9   }\r
10   var divID=window.location.search;\r
11   if (divID.length<2) {\r
12     alert('Error! Invalid id');\r
13     return;\r
14   }\r
15   divID=divID.substring(1);\r
16   var oDiv=window.opener.document.getElementById(divID);\r
17   if (!oDiv) {\r
18     alert('Error! Can not find \"'+divID+'\"');\r
19     return;\r
20   }\r
21   document.body.innerHTML=oDiv.innerHTML;\r
22 }\r
23 window.onload=getdata;\r
24 </script>\r
25 <style type="text/css">\r
26 tbody tr {\r
27   vertical-align:top;\r
28 }\r
29 </style>\r
30 </head>\r
31 <body>\r
32 </body>\r
33 </html>\r