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

  1. <ccResource>
  2.   <ccTitle>
  3. Reload on Resize
  4.   </ccTitle>
  5.   <ccCategory>
  6. Browser
  7.   </ccCategory>
  8.   <ccDescription>
  9. If a user resizes the window, it will reload the page, good if you use multiple javascripts or dhtml on your page.  
  10.   </ccDescription>
  11.   <ccInstructions>
  12. The code goes only inside the BODY tags.  You can change the items below to suit your needs.
  13.   </ccInstructions>
  14.   <ccHeadContent>
  15.   
  16.   </ccHeadContent>
  17.   <ccBodyContent>
  18.  
  19.   </ccBodyContent>
  20.   <ccElementContent>
  21.   
  22.    <ccElementName>onResize</ccElementName>
  23.    <ccElementAction>window.location.href = window.location.href;</ccElementAction>
  24.    
  25.   </ccElementContent>
  26.   <ccExtraData>
  27.  
  28.   </ccExtraData>
  29. </ccResource>