Is this possible in HTML?
Can i have an equivalent of cfinclude in a HTML file? Thanks, Milan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Is this possible in HTML?
Do a google search on 'Server Side Includes'.You should get a wealth of information on it. Ray http://www.crystalvision.org At 08:25 AM 3/23/2004, MILAN MUSHRAN wrote: Can i have an equivalent of cfinclude in a HTML file? Thanks, Milan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Is this possible in HTML?
Do a google search on 'Server Side Includes'.You should get a wealth of information on it. Or from a client-side perspective, there are many possibilities with object, script (in conjunction with document.write) and iframe. Nick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Is this possible in HTML?
If it's straight HTML and you have no ability to employ Server Side Includes, you can use a linked _javascript_ file.I wrote a little utility that makes it easy to turn straight HTML into JS: cfparam name=a default= cfswitch _expression_=#a# cfcase value=process cfsavecontent variable=converted_js cfloop index=i list=#convert_string# delimiters=#chr(13)##chr(10)#cfif len(trim(i)) GT 0document.write('#jsstringformat(trim(i))#'); /cfif/cfloop /cfsavecontent xmp #converted_js# /xmp cfheader name=content-disposition value=filename=converted.js cfcontent type=text/_javascript_#converted_js#cfabort /cfcase cfdefaultcase h4Enter the HTML that you want converted to _javascript_./h4 form action="" method=post input type=hidden name=a value=process textarea rows=25 cols=100 name=convert_string style=width: 100%; height: 75%/textarea div align=centerinput type=submit value=Convert nbsp; input type=reset value= Reset /div /form /cfdefaultcase /cfswitch Pete - Original Message - From: MILAN MUSHRAN To: CF-Talk Sent: Tuesday, March 23, 2004 8:25 AM Subject: Is this possible in HTML? Can i have an equivalent of cfinclude in a HTML file? Thanks, Milan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Is this possible in HTML?
For xml data, another option is XML data islands -- google for that. (I have never used it, though) - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] | Sent: Tuesday, March 23, 2004 14:41 | To: CF-Talk | Subject: Re: Is this possible in HTML? | | If it's straight HTML and you have no ability to employ | Server Side Includes, you can use a linked _javascript_ file. | I wrote a little utility that makes it easy to turn straight | HTML into JS: | | cfparam name=a default= | cfswitch _expression_=#a# |cfcase value=process | cfsavecontent variable=converted_js | cfloop index=i list=#convert_string# | delimiters=#chr(13)##chr(10)#cfif len(trim(i)) GT | 0document.write('#jsstringformat(trim(i))#'); | /cfif/cfloop | /cfsavecontent | xmp | #converted_js# | /xmp | cfheader name=content-disposition | value=filename=converted.js cfcontent | type=text/_javascript_#converted_js#cfabort |/cfcase |cfdefaultcase |h4Enter the HTML that you want converted to _javascript_./h4 | |form action="" method=post | input type=hidden name=a value=process | textarea rows=25 cols=100 name=convert_string | style=width: 100%; height: 75%/textarea | div align=centerinput type=submit value=Convert | nbsp; input type=reset value= Reset /div |/form |/cfdefaultcase | /cfswitch | | | | Pete |- Original Message - |From: MILAN MUSHRAN |To: CF-Talk |Sent: Tuesday, March 23, 2004 8:25 AM |Subject: Is this possible in HTML? | | |Can i have an equivalent of cfinclude in a HTML file? | |Thanks, |Milan | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Is this possible in HTML?
Thanks to all of you !! From: Pete Ruckelshaus [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: Is this possible in HTML? Date: Tue, 23 Mar 2004 08:40:43 -0500 If it's straight HTML and you have no ability to employ Server Side Includes, you can use a linked _javascript_ file.I wrote a little utility that makes it easy to turn straight HTML into JS: cfparam name=a default= cfswitch _expression_=#a# cfcase value=process cfsavecontent variable=converted_js cfloop index=i list=#convert_string# delimiters=#chr(13)##chr(10)#cfif len(trim(i)) GT 0document.write('#jsstringformat(trim(i))#'); /cfif/cfloop /cfsavecontent xmp #converted_js# /xmp cfheader name=content-disposition value=filename=converted.js cfcontent type=text/_javascript_#converted_js#cfabort /cfcase cfdefaultcase h4Enter the HTML that you want converted to _javascript_./h4 form action="" method=post input type=hidden name=a value=process textarea rows=25 cols=100 name=convert_string style=width: 100%; height: 75%/textarea div align=centerinput type=submit value=Convert nbsp; input type=reset value= Reset /div /form /cfdefaultcase /cfswitch Pete - Original Message - From: MILAN MUSHRAN To: CF-Talk Sent: Tuesday, March 23, 2004 8:25 AM Subject: Is this possible in HTML? Can i have an equivalent of cfinclude in a HTML file? Thanks, Milan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]