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

  1. <ccResource>
  2.   <ccTitle>
  3. Frame On, Frame Off
  4.   </ccTitle>
  5.   <ccCategory>
  6. Browser
  7.   </ccCategory>
  8.   <ccDescription>
  9. This script lets the user choose which version
  10. of your page they want to see. Framepage.html is the 
  11. your page with frames. Regualerpage.html is an alternate
  12. you have created.
  13.   </ccDescription>
  14.   <ccInstructions>
  15. The code goes only inside the BODY tags.  You can change the items below to suit your needs.
  16.   </ccInstructions>
  17.   <ccHeadContent>
  18.   </ccHeadContent>
  19.   <ccBodyContent>
  20.  
  21. <form><font size="-1"><b>Frames:</b></font> <INPUT TYPE="Button" VALUE="On" onClick="parent.location='framepage.html'"> <INPUT TYPE="Button" VALUE="Off" onClick="parent.location='regularpage.html'"></FORM>
  22.  
  23.   </ccBodyContent>
  24.   <ccElementContent>
  25.   
  26.    <ccElementName></ccElementName>
  27.    <ccElementAction></ccElementAction>
  28.    
  29.   </ccElementContent>
  30.   <ccExtraData>
  31.  
  32.   </ccExtraData>
  33. </ccResource>