home *** CD-ROM | disk | FTP | other *** search
/ PC User 2005 May / CD / PCU0505CD.iso / software / full / coffecup / files / html2005.exe / %MAINDIR% / Javascript / CloseWindow.xml < prev    next >
Encoding:
Text File  |  2005-02-16  |  819 b   |  33 lines

  1. <ccResource>
  2.   <ccTitle>
  3. Close Window
  4.   </ccTitle>
  5.   <ccCategory>
  6. Browser
  7.   </ccCategory>
  8.   <ccDescription>
  9. Use either the form button or link to allow the user to close their browser
  10. when they click it, great for custom pop-up banners 
  11.   </ccDescription>
  12.   <ccInstructions>
  13. The code goes only inside the BODY tags.  You can change the items below to suit your needs.
  14.   </ccInstructions>
  15.   <ccHeadContent>
  16.   
  17.   </ccHeadContent>
  18.   <ccBodyContent>
  19. <form>
  20. <input type=button value="Close Window" onClick="javascript:window.close();">
  21. </form> 
  22. or <a href="javascript:window.close();">Close Window</a>
  23.   </ccBodyContent>
  24.   <ccElementContent>
  25.   
  26.    <ccElementName></ccElementName>
  27.    <ccElementAction></ccElementAction>
  28.    
  29.   </ccElementContent>
  30.   <ccExtraData>
  31.  
  32.   </ccExtraData>
  33. </ccResource>