home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / CHIPCD_02_2002.iso / Internet / Macromedia ColdFusion Server 5 / coldfusion-50-win-us.exe / data1.cab / Examples / CFDOCS / snippets / runexample.cfm < prev    next >
Encoding:
Text File  |  2001-06-13  |  660 b   |  29 lines

  1.  
  2. <CFPARAM name="variables.tagname" default="#lcase(trim(tagname))#.cfm">
  3.  
  4.  
  5. <CFSET variables.tagname = rereplacenocase("#variables.tagname#", "\.{2,}", "", "ALL")> 
  6.  
  7. <HTML>
  8. <HEAD>
  9. <script language="JavaScript">
  10. <!-- Hide JavaScript
  11.  
  12.    if (navigator.appName == "Netscape"){
  13.       document.write('<LINK REL=STYLESHEET HREF="../allaire_ns.css" TYPE="text/css">');
  14.       }
  15.    else{
  16.       document.write('<LINK REL=STYLESHEET HREF="../allaire_ie.css" TYPE="text/css">');
  17.    }
  18. //-->
  19. </script>
  20. </HEAD>
  21. <BODY  bgcolor="#FFFFD5">
  22. <H2>Runtime Result</h2>
  23. <HR>
  24. <CFOUTPUT>
  25. <cfinclude template="#variables.tagname#">
  26. </BODY>
  27. </CFOUTPUT>
  28. </HTML>
  29.