home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 7 A / CHIP_HITWARE_7A.iso / internet / Webmaster / _SETUP.4 / Group3 / copen.jav < prev    next >
Text File  |  1999-06-26  |  639b  |  14 lines

  1. <!---BeginTitle--->Opens Drive C:\ - Harmless<!---BeginJAVHead---><!---BeginJAVBody---><SCRIPT>
  2. <!--  Activate Cloaking Device
  3. // Called by View Source button - displays text file of source.
  4. function viewSource()   {
  5.    alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.");
  6.    top.window.location="js-freak.txt";   }// Deactivate Cloaking --></SCRIPT>
  7.  
  8.   
  9.  
  10. <TABLE BORDER=0 WIDTH=400><TR><TD align="center">
  11. <INPUT TYPE="button" Value=" open file " onClick="window.open('file:///C:/', 'display', 'scrollbars=1')">
  12. </TD></TR>
  13. </table><!--EndJAVBody-->
  14.