Gregory's Blog

Posts made on May 2019

ColdFusion arrays can't use zero as an index.

ColdFusion arrays can't use zero as an index.

Gregory Alexander, Tech

ColdFusion will throw an error when trying to use zero as an array index.                                      
Read More...
Data types may be different between ColdFusion and jQuery.

Data types may be different between ColdFusion and jQuery.

Gregory Alexander, Tech

When using Ajax, datatypes may be evaluated differently.                                      
Read More...
JSON Parse Error in jQuery when using a Coldfusion function inside a .cfm page.

JSON Parse Error in jQuery when using a Coldfusion function inside a .cfm page.

Gregory Alexander, Tech

When using ColdFusion as a service endpoint for AJAX, is best to use a ColdFusion component (cfc) instead of a ColdFusion page (.cfm)
Read More...
Set Active Kendo Tab

Set Active Kendo Tab

Gregory Alexander, Tech

There are two standard ways to activate a Kendo tab: 1) via Javascript, or 2) appending the k-state-active class to the HTML list. Both approaches are useful, and will discuss both options here.
Read More...
How to get both background and non-background images using the imagesLoaded library.

How to get both background and non-background images using the imagesLoaded library.

Gregory Alexander, Tech

I use the imagesLoaded javascript library to determine when and what images are loaded and to provide a status on a pre-loader status screen. If you need to get both background and non-background images, just run it twice switching the background arguments.
Read More...
Kendo tooltips with multiple classes and styles.

Kendo tooltips with multiple classes and styles.

Gregory Alexander, Tech

I had thought that I figured out how to use the Kendo tooltip widget as illustrated in another post, however, I quickly found out that by over-riding the k-tooltip Kendo base class I could only have one tooltip style for the whole page. I finally solved this annoying issue, and will share my approach.
Read More...