Blog

June 12, 2010
Custom Tag To Log Data

This may not be the perfect code for logging data to a custom file in coldfusion.
Any views/suggestions will be welcomed ...

Read More
Comments(0)
Tags: ColdFusion
June 11, 2010
sql server get table list from column name

Hello Friends,

Today, I wanted to list down all table from column name in sql server. Sql server stores all table, column, database or etc in it's own system table. So it's easy to fetch record from it. I have given example below how to list down table list from field name. Copy and paste below code and just pass column name in this query. I hope it is helpful for you and you may like it ...

Read More
By Bharat Patel
Comments(0)
Tags: SqlServer
June 8, 2010
how to prevent your site from being framed

If you do not want that someone links your web site within a frame, the following javascript code will enable you to prevent your web site from being framed.

Add the following code to your <body> tag:

<body onLoad="if (self != top) top.location = self.location">

Read More
Comments(0)
Tags: JavaScript
June 5, 2010
An Introduction to Image Processing

An image is an array, or a matrix, of square pixels (picture elements) arranged in columns and rows. In a (8-bit) grayscale image each picture element has an assigned intensity that ranges from 0 to 255. A grey scale image is what people normally call a black and white image, but the name emphasizes that such an image will also include many shades of grey. A normal grayscale image has 8 bit color depth = 256 grayscales. A "true color" image has 24 bit color depth = 8 x 8 ...

Read More
Comments(0)
Tags: Images
June 2, 2010
New method Passing Attributes to jQuery 14

Hello Friends, jQuery supports adding attributes to collection of elements with Attr function. Previously if we wanted to add stylesheet then we had to apply CSS function similar to event handling. But jQuery 1.4 introduced new method for adding attributes, stylesheet, event handling , etc. There is no need to add attr, css, bind or etc function for handling the element. We can write directly with element. We can use old method also. Please refer below example for better understanding. ...

Read More
By Bharat Patel
Comments(0)
Tags: jQuery14