Community Member Profile
- Profile: /members/362-James-Moberg.htm
- Comments: 14
- Points: 104
Recent Blog Comments By James Moberg
-
Creating Transparent Images With ColdFusion 8 And ImageNew()
Posted on Feb 23, 2010 at 9:05 PM
I am 100% in favor of using PNGs for all non-photo images. The resultant filesize is 3-6 times smaller and the image has better anti-aliasing when transparent. However, I don't have any idea why the PNG images are repeated. Did you see the sample I posted? The PNGs are duplicated. I have... read more »
-
Creating Transparent Images With ColdFusion 8 And ImageNew()
Posted on Feb 23, 2010 at 2:26 PM
A good use scenario for this is when you need to use rotated text on a webpage and need it to appear consistent in all browsers. I also needed to take the same images and generate a PDF. I recently discovered that CFDocument has problems with transparent PNGs in CF8. Until I get it fixed,... read more »
-
Easy Print CSS Integration - NoPrint (Thanks Rick Osborne!)
Posted on Feb 5, 2010 at 6:53 PM
@Terry, because the screen and printer each use different styles for the classnames. The "noprint" class will suppress the section from being printed, yet allow it to be displayed on the website. The "noshow" class will suppress the section from being viewed in the browser, yet it can be printed... read more »
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 25, 2010 at 11:24 AM
What about slideToggle()? It will automatically show or hide based upon visibility. Does this fail under certain circumstances? $(function(){ $('a').click(function() { $('#container').slideToggle(); }); });... read more »
-
Pixelating An Image With ColdFusion
Posted on Jan 7, 2010 at 10:27 AM
Will this work with ColdFusion 7 or 8 or is this a CF9 only feature? (The post doesn't state.)... read more »
-
Ask Ben: Changing ColdFusion Query Column Names
Posted on Sep 24, 2009 at 8:30 PM
How cleanly can that be done in a CFC like you've created? I was checking out another article by you regarding importing a CSV file to a query and then using this script to rename the columns. I wanted the script I was developing to work in plug-and-play CF-based environment (or else I'd u... read more »
-
Ask Ben: Changing ColdFusion Query Column Names
Posted on Sep 24, 2009 at 4:07 PM
I was evaluating this script and determined that it doesn't work with Railo due to the java methods GetColumnNames() or SetColumnNames(). Is there another way to do this using documented ColdFusion methods that are available in third-party ColdFusion engines?... read more »
-
Ask Ben: Displaying A Blog Teaser (Showing The First N Words)
Posted on Sep 23, 2009 at 11:51 AM
Here's how you do it with a jQuery plugin: Expander Plugin http://plugins.learningjquery.com/expander/index.html The Expander Plugin is a simple little jQuery plugin to hide/collapse a portion of... read more »
-
Trimming An Image Canvas With ImageUtils.cfc ColdFusion Image Component
Posted on Aug 17, 2009 at 2:38 PM
I haven't been able to get this method to work. I've posted an issue regarding it in Riaforge.... read more »
-
Ask Ben: Formatting A Date Span In ColdFusion
Posted on Jun 25, 2009 at 10:43 AM
I have been using the DateRangeFormat UDF from 2004: http://www.cflib.org/udf/DateRangeFormat... read more »
-
POI Utility Now Has ColdFusion MX7 Compatible Tags (Thanks Dan Wilson!)
Posted on Jul 8, 2008 at 8:27 PM
There's more incompatible with CFMX7 than REMatch. Javacast(''Short") is CF8 only (sheet.cfm) and so is VARIABLES.ColumnsTag.ColumnIndex++ (column.cfm). I finally got it working except for the styles. Would this FUNCTION allow it to work with CFMX7? read more »
-
Easy Print CSS Integration - NoPrint (Thanks Rick Osborne!)
Posted on Dec 31, 2007 at 11:46 AM
In addition to the "noprint" class, you can create a "noshow" class and allow specific information (copyright, URL, instructions, etc) to be printed but not readily viewable. I use both classes in my single CSS file like this: /* Screen Only */ @media screen { .noprint {dis... read more »
-
It's Not Spam At This Point, It's Psychological Ware Fare
Posted on Feb 12, 2007 at 6:33 PM
I just noticed that my post was instantly posted... with links and everything. You should modify the URLs and include the rel="nofollow" attribute so that unendorsed links don't change the way that Google ranks your website.... read more »
-
It's Not Spam At This Point, It's Psychological Ware Fare
Posted on Feb 12, 2007 at 6:29 PM
I believe they may be trying to frustrate you as well as negate any bayesian filtering you may be trying. I recently quit reporting spam to my mailserver because it resulted in having to repeatedly clear out and retain the filters. They may also have tools that automate loading the entire... read more »



