Category Archives: Code

WordPress – Changing twentyten css to put sidebar on left

And the nay sayers said it could not be done, but with a little CSS trickery I was able to switch the sidebar in the twenty-ten theme to the left side. I used a child theme which reads in all … Continue reading

Posted in Code, CSS | Tagged , , | Comments Off on WordPress – Changing twentyten css to put sidebar on left

CFQueryParam with Lists

If you have a form that gathers an element where the user can enter several items separated by commas, coldfusion gives you a couple of ways to deal with the sql statement. In older versions you might loop through the … Continue reading

Posted in Code, Coldfusion, Snippets, SQL | Comments Off on CFQueryParam with Lists

Search Form Submission without submit button

Here is a quick view of how to submit a form when the enter key is used instead of the submit button. OnKeyPress checks to see if the key code is 13 which is the enter/return key. Then it calls … Continue reading

Posted in Code, Coldfusion, Javascript, Snippets | Comments Off on Search Form Submission without submit button

SQL Rows to Column

I had an interesting challenge this week where I needed to turn rows of email addresses into a crosstab or a single column so I could use it to send out emails. I had to do this at a grouped … Continue reading

Posted in Code, Snippets, SQL | Tagged , , | Comments Off on SQL Rows to Column

CFLayout, Divs, and Z-index order

I ran into a problem that sometimes affects various Coldfusion elements designed to make life easier. I created a drop down mega menu which works beautifully, untill I added a CFLayot Tab box to the page. The menu would go … Continue reading

Posted in Code, Coldfusion, CSS, Problems & Fixes, Web Development | Tagged , , , , | Comments Off on CFLayout, Divs, and Z-index order