Category Archives: Code

dumping form variables

Occasionally I need to see the form variables passed from the form to the next page. There are a couple of ways to do it depending on your needs. CFDump is probably the easiest and outputs the results to a … Continue reading

Posted in Code, Coldfusion, Snippets | Comments Off on dumping form variables

CSS3 – The vanishing shadow

Do you usually resort to Photoshop to create an image of text or object with a drop shadow, save it as a gif or png (and hope no-one is using IE6)? Or do you layer boxes within background boxes to … Continue reading

Posted in Code, CSS, Snippets | Comments Off on CSS3 – The vanishing shadow

Border CSS for Tables

I was reacquainted this week with a couple of CSS attributes for the HTML table. table{border-collapse: collapse; border-spacing: 0px 0px;} border-collapse has three attributes: collapse – Borders collapse into a single border. border-spacing and empty-cells properties will be ignored separate … Continue reading

Posted in Code, CSS, Snippets | Comments Off on Border CSS for Tables

snippet – cfquery.executionTime

Got long running queries? <cfquery name=”myquery” datasource=”ds”> select whatever </cfquery> <cfoutput>Exection time: #cfquery.executionTime# msecs</cfoutput> Note: the syntax is cfquery.executionTime not queryname.executionTime

Posted in Code, Coldfusion, Snippets | Comments Off on snippet – cfquery.executionTime

Coldfusion quick tips – #1 of many in the future.

Coldfusion Tips or “things I learned recently” will be in the code category and will be documented here as a reminder. preservedata = “yes/no” Useful attribute in CFFORM if you need reload your form on the same page once submitted. … Continue reading

Posted in Code, Coldfusion | Comments Off on Coldfusion quick tips – #1 of many in the future.