Blog

May 29, 2010
New ColdFusion 9 Feature: CFMAP

Hello Friends,

One of our projects had a requirement for displaying a google map on one the webpages.
There are three options for setting google map key for your application.

1) You can use the cfajaximport tag and specify the map API key in the params attribute as follows ...

Read More
Comments(0)
Tags: ColdFusion9
May 28, 2010
jQuery new event! focusin and focusout

Hello Friends,

To delegate the "focus" and "blur" events you must use these new events, called "focusin" and "focusout". You can also use old events for handling focusing events in jQuery 14.

Syntax

	jQuery(element).focusin(handler);
	jQuery(element).focusout(handler);
	

Example ...

Read More
By Bharat Patel
Comments(0)
Tags: jQuery14
May 28, 2010
Popular Video Container Formats

Audio Video Interleave This is an .avi extension. The AVI container format was invented by Microsoft in a simpler time, when the fact those computers could play video at all was considered pretty amazing. It does not officially support many of the features of more recent container formats. It does not officially support any sort of video metadata. It does not even officially support most of the modern video and audio codecs in use today. Over time, various companies have tried to extend it ...

Read More
Comments(0)
Tags: VideoContainer
May 28, 2010
jQuery code and syntax guidelines for improved code performance

f you want to publish your jQuery plugins following jQuery core code writing guidelines is a good idea. Here are some of the guidelines ...

Read More
Comments(0)
Tags: JavaScript, jQuery
May 22, 2010
The Advantages of HTML5 over Flash

Hello, in this article I will explain to you the advantages of HTML5 over flash. As everyone knows, flash is owned by Abode and is freely available. HTML5 is a new open source platform created by many developers. Apple seems to be in favor of HTML5 since it runs better on their computers and mobile devices. Will other companies soon follow? Flash was created in the 1990s to run internet applications. It was mainly used on desktop PCs. And of course, it was eventually ported to Mac OSX. Now ...

Read More
Comments(0)
Tags: HTML5
May 22, 2010
Implicit Getters/Setters

Adobe ColdFusion 9 Supports Implicit Setters/Getters for Components.
To make coldfusion autogenerate these methods for the properties listed in components set the Accessors Attribute of component to true.
Auto generation for specific properties can also be stopped if it required to be overriden.To do this set the getter/setter attribute of cfproperty to false ...

Read More
Comments(0)
Tags: ColdFusion9
May 15, 2010
Virtual Fix Table Header JQuery

Hello Friends,

There are so many ways to fix table header. We can fix table header row and rest of content of table will have overflow scroll css set so that a scroll bar appears if page content is higher than page size. We have developed virtual fix table header jQuery plugins. It will copy table header automatically. The TABLE TR ,for which we want to fix position,should have an id specified. Have a look at the code for better understanding. I hope you may like it ...

Read More
By Bharat Patel
Comments(0)
Tags: jQuery
May 14, 2010
Loop Over A Structure Using CFScript

Looping Over A Structure in CFScript is possible using the FOR ( key In Structure) Notation.

The following code demonstrates how to loop over a structure based on the keys existing in the structure ...

Read More
Comments(0)
Tags: ColdFusion9
May 11, 2010
Temporary Table and Table Variables in SQL Server

Temporary Table

The following code demonstrates how to create a temporary table.
Syntax :

 CREATE TABLE #TempEmployee
	(
	employeeID int,
	employeeName varchar(100)
	);
	

...

Read More
Comments(0)
Tags: SqlServer
May 8, 2010
ColdFusion wrapper for jQuery autocomplete.

For one of my project I required autocomplete box. I know coldfusion has its own autocomplete but has lots of limitation. I wanted autocomplete to work like select box of html, display lable of product in list but in backend it will return ID for that product and as usual I just stop at jQuery-ui Autocomplete (I just love jquery) which allow good customization.
This coldfusion wrapper allow you to use jqury autocomplete with coldfusion query variables or loading data remotely.

Example:

	<cf_autocomplete
	textFieldName="productName" textFieldValue="" textFieldBind="PRODUCTNAME"
	idFieldName="productId" idFieldBind = "PRODUCTID"
	datasource="/cfc/products.cfc?method=getActiveProduct&returnFormat=JSON"
	fieldList="PRODUCTID,PRODUCTNAME,PRICE"
	queryParam="product"
	displayTemplate="<div><img src=""/images/{PRODUCTID}.gif"">{PRODUCTNAME}&nbsp;: {PRICE}"
	minlength=2 />
	

Read More
Comments(0)
Tags: CustomTag, ColdFusion