Skip to main content

Posts

How to use ColdFusion.Window.onShow Ajax JavaScript Function

Ajax - ColdFusion.Window.onShow ColdFusionWindowonShow.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script language="javascript"> function onhide(windowName) { alert(windowName + " window now visible!"); } function showLinkClick() { ColdFusion.Window.onShow("ButterflyWindow", onhide); ColdFusion.Window.show("ButterflyWindow"); } </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax JavaScript Function: how to use ColdFusion.Window.onShow in coldfusion</title> </head> <body> <h2 style="color:SeaGreen; font-style:italic">Ajax JavaScript Function example: ColdFusion.Window.onShow</h2> <hr width="600" align="left" color="Beige" /> <br /> <a href="JavaScript:showLinkClick()"> <b>Show the Window...

How to use CFwindow refreshonshow property in ColdFusion

cfwindow - refreshonshow property cfwindow.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>cfwindow tag example: how to use refreshonshow property in cfwindow</title> </head> <body> <h2 style="color:Olive; font-style:italic">cfwindow tag example: refreshonshow true</h2> <hr width="550" align="left" color="Beige" /> <br /> <a href="JavaScript:ColdFusion.Window.show('RandomNumberWindow')"> <b>Show Window</b> </a>     <a href="JavaScript:ColdFusion.Window.hide('RandomNumberWindow')"> <b>Hide Window</b> </a> <cfwindow name="RandomNumberWindow" title="Random Number" refreshonshow="true" x="25" y=...

How to create a modal Window in ColdFusion

cfwindow - create modal window cfwindowModal.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>cfwindow tag: how to create modal window in coldfusion</title> </head> <body> <h2 style="color:SaddleBrown; font-style:italic">cfwindow tag example: Modal Window</h2> <hr width="400" align="left" color="CadetBlue" /> <br /> <cfwindow name="FunnyWindow" title="Funny Image" initshow="true" resizable="false" height="400" width="450" modal="true" > <img src="Images/Funny.jpg" height="300" width="400"/> </cfwindow> </body> </html> More ColdFusion examples cfwindow DayOfWeekAsString()...

How to use CFwindow in ColdFusion

cfwindow cfwindow.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>cfwindow tag: how to use cfwindow in coldfusion</title> </head> <body> <h2 style="color:DodgerBlue; font-style:italic">cfwindow tag example: how to use</h2> <hr width="400" align="left" color="CadetBlue" /> <br /> <cfwindow name="FlowerWindow" title="Flower Image" initshow="true" modal="false" resizable="false" height="450" width="550" > <img src="Images/Flowers.gif"/> </cfwindow> </body> </html> More ColdFusion examples cftry and cfcatch - catch exception and handle error cfdiv cfscript - array in script cfwindow - creat...

How to use ColdFusion.navigate Ajax JavaScript Function

Ajax JavaScript Function - ColdFusion.navigate ColdFusionnavigate.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax JavaScript Function: how to use ColdFusion.navigate in coldfusion</title> </head> <body> <h2 style="color:DodgerBlue; font-style:italic">Ajax JavaScript Function example: ColdFusion.navigate</h2> <hr width="500" align="left" color="PaleVioletRed" /> <br /> <a href="JavaScript:ColdFusion.navigate('PenguinImage.cfm','TestWindow')">Click for see Penguin image</a> <br /> <a href="JavaScript:ColdFusion.navigate('DolphinImage.cfm','TestWindow')">Click for see Dolphin image</a> <cfwindow name="TestWindow" title="ImageView" ini...

How to use ColdFusion.Window.create Ajax JavaScript Function

Ajax JavaScript Function - ColdFusion.Window.create ColdFusionWindowcreate.cfm <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax JavaScript Function: how to use ColdFusion.Window.create in coldfusion</title> </head> <body> <h2 style="color:Crimson; font-style:italic">Ajax JavaScript Function example: ColdFusion.Window.create</h2> <hr width="600" align="left" color="CadetBlue" /> <br /> <cfajaximport tags="cfwindow"> <a href="JavaScript:ColdFusion.Window.create('CatWindow','Cat Image','CatImage.cfm')"> <b>Click here for see Cat image</b> </a> </body> </html> CatImage.cfm <img src="Images/Cat.jpg" /> More ColdFusion examples ...

How to create a Presentation in ColdFusion

Introduction Creating presentations in ColdFusion can be a powerful way to dynamically display content within web applications. The <cfpresentation> tag in ColdFusion allows developers to create a series of slides that can contain text, images, or other media, similar to a PowerPoint presentation. This tutorial will guide you through using the <cfpresentation> tag to make an image-based presentation with a set duration for each slide. In the example provided, the code showcases how to create a presentation featuring images of a cat and a rat, each displayed on its own slide. This tutorial will break down the code example to help you understand the structure and application of <cfpresentation> and <cfpresentationslide> tags, offering a step-by-step guide on styling, content placement, and defining timing for each slide. Understanding the <cfpresentation> Tag The <cfpresentation> tag serves as the main container for all slides in a ColdFusion pre...