Diff for /rat/client/Attic/extpickcode.html between versions 1.1 and 1.6

version 1.1, 2002/09/04 16:54:45 version 1.6, 2007/07/07 00:53:26
Line 29  Pick External Resources Line 29  Pick External Resources
 // http://www.lon-capa.org/  // http://www.lon-capa.org/
 //  //
 -->  -->
   <head>
     <script type="text/javascript">
   function initfields () {
       if ( parent.opener.document.forms.extimport.title.value != '') {
           document.forms.pick.exttitle.value =
               parent.opener.document.forms.extimport.title.value;
           document.forms.pick.exturl.value =
               parent.opener.document.forms.extimport.url.value;
       
       }
   }
   
 <body bgcolor="#FFFFBB">    </script>
 <form>  </head>
   <body bgcolor="#FFFFBB" onload="javascript:initfields()">
   <form name="pick">
 <table>  <table>
 <tr><td bgcolor="#FFFF99">  <tr><td bgcolor="#FFFF99">
 <input type="button" name="cancel" value="Choose" /></td>  <input type="button" name="cancel" value="Choose"
   onClick="javascript:parent.opener.document.forms.extimport.title.value=escape(this.form.exttitle.value);parent.opener.document.forms.extimport.url.value=escape(this.form.exturl.value);parent.opener.finishpick();parent.close();" /></td>
 <td>Title:</td>  <td>Title:</td>
 <td><input type="text" size="60" name="exttitle" value="External Resource" />  <td><input type="text" size="60" name="exttitle" value="External Resource" />
 </td></tr>  </td></tr>
 <tr>  <tr>
 <td bgcolor="#FFFF99">  <td bgcolor="#FFFF99">
 <input type="button" name="cancel" value="Cancel" /></td>  <input type="button" name="cancel" value="Cancel"
   onClick="parent.close();"/></td>
 <td>URL: <input type="button" name="view" value="View"  <td>URL: <input type="button" name="view" value="View"
 onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />  onClick="javascript:parent.extcontent.location.href=this.form.exturl.value;" />
 </td>  </td>
 <td><input type="text" size="60" name="exturl"  <td><input type="text" size="60" name="exturl"
 value="http://" />  value="http://" />
 </td></tr>  </td></tr>
   </table>
 </form>  </form>
 </body>  </body>
 </html>  </html>

Removed from v.1.1  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>