Community Member Profile
- Profile: /members/362-James-Moberg.htm
- Comments: 46
- Points: 448
Recent Blog Comments By James Moberg
-
Reading Images With Fallback Approaches In ColdFusion
Posted on Mar 8, 2013 at 7:31 PM
An incompatible palette is one issue, another is performance and compression. We were experiencing the CPU going to 100% when processing JPG images from digital cameras. For optimizing large images, we switched to CFX_OpenImage (C++ tag that uses GraphicsMagick). Thumbnail generation was much f... read more »
-
Detecting Spam In User-Submitted Content With SpamAnalyzer.cfc
Posted on Sep 25, 2012 at 11:57 AM
Had you reviewed or tried SebTools SpamFilter.CFC before? http://www.bryantwebconsulting.com/blog/index.cfm/SpamFilter If so, how does it compare? Thanks.... read more »
-
CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag
Posted on Aug 22, 2012 at 1:43 PM
I guess in order for CFFlush to work, some manual text editing of config files is required... I missed this when installing and will now need to remind myself this whenever reinstalling CF10. (CF8 & 9 didn't behave this way.) read more »
-
CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag
Posted on Aug 22, 2012 at 1:24 PM
I'm using ColdFusion 10 with IIS6 and CFFlush isn't working at all... even with the above-mentioned "73729 bytes" trick. (We haven't had any issues with CF8/9, IIS6 and CFFlush.) I've reported it as a bug (w/sample CF code to duplicate the problem): read more »
-
Mapping CSS Sprite Image Coordinates With ColdFusion
Posted on Aug 7, 2012 at 12:34 PM
@Ben, Because the classname isn't descriptive enough, any designer would have to: 1) render the CSS to see what shows up for each class 2) open an image editor and count pixels 3) count the row/column positions in the image and hope that the image naming is consistent... read more »
-
Mapping CSS Sprite Image Coordinates With ColdFusion
Posted on Aug 7, 2012 at 12:17 PM
I just noticed that if you used this on multiple sprite files, the CSS class names would be duplicated (.sprite1, .sprite2, etc). You'd have to go through, identify which # corresponds to each image and manually rename the classes. What do you recommend to accept a number of PNG images (li... read more »
-
Detecting (And Canceling) Key-Combo Events With jQuery
Posted on Jul 17, 2012 at 11:20 AM
I was updating one of the jQuery plugins that I use to filter input fields to allow only numeric characters and I realized that it did what you wanted & it also uses ReGex.... read more »
-
Detecting (And Canceling) Key-Combo Events With jQuery
Posted on Jun 22, 2012 at 11:25 AM
If your intent is to "prevent a user from entering certain restricted characters in an input field", you'll also need to detect mouse paste events. Some developers prevent pasting in an attempt to prevent characters, but that's not a good way of doing it. Check out ZURB's &q... read more »
-
ColdFusion 10 Beta - Generating Hash-Based Message Authentication Codes With Hmac()
Posted on Apr 9, 2012 at 1:42 PM
I was reading the CF10 docs and for "algorithm" & "Encoding" it doesn't offer a list of allowable options. http://help.adobe.co... read more »
-
Storing Your ColdFusion Scheduled Tasks In The Database
Posted on Aug 5, 2011 at 8:09 PM
The ColdFusion scheduler never gave me the type of control I wanted over schedule and I was always worrying about time-outs. (I have a script that downloads lots of content on a scheduled basis.) I thought about a database, but then I'm still back to hoping that ColdFusion runs the task and doe... read more »
-
Trying Out LAB.js For Asynchronous JavaScript (Script) Loading
Posted on Jul 18, 2011 at 8:03 PM
I'll definitely vouch for LABjs. I've been using it on a couple of websites & haven't found many issues. You have to be aware of how you are using inline scripts (if any). Anything inline JS that uses document.write() will execute before LABjs loads (as well as slow the page rendering down.... read more »
-
Ionic ISAPI URL Rewrite Decodes "%26" Into Ampersand (&) By Default
Posted on Jun 1, 2011 at 12:51 PM
Does anyone use any other mod-rewriting tools for IIS? I recently found "IIS Mod-Rewrite". It's not free, but it has 100% compatible syntax and behavior with Apache mod_rewrite and override (.htaccess) configurations. read more »
-
Ionic ISAPI URL Rewrite Decodes "%26" Into Ampersand (&) By Default
Posted on May 26, 2011 at 10:44 AM
We've had other issues with Ionics & have had to roll back to an earlier version. Due to its recent verified inconsistency of returning the correct file, we've had to disable one of the rules that we were using (we added a 14 digit timestamp to the end of js/css resource filenames). If... read more »
-
A Big Hole In My Understanding Of ColdFusion Scheduled Tasks
Posted on May 9, 2011 at 11:28 AM
I also prefer the CRON & CURL combination because it doesn't consume a CF thread or run the risk of timing out when connecting to external hosts. I can also run it on any computer so that it never impacts the CF server. I've had to add extra success/fail flags & notifications to the ind... read more »
-
A Big Hole In My Understanding Of ColdFusion Scheduled Tasks
Posted on May 9, 2011 at 10:56 AM
I've had issues with inflexible scheduling on ColdFusion. Scheduling tasks to be performed on every Tues, Wed & Thurs at 3am requires 3 different tasks. In a Windows environment, setting using the NT Task Scheduler was almost as painful. We finally started using nnCron as a replacement:
read more » -
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 23, 2011 at 3:28 PM
Thanks for the additional information. This information is always good to provide upfront so that others know what you have tried and are aware of any additional requirements. I didn't know how familiar you are with jQuery and thought I'd recommend something supported by the community. I b... read more »
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 23, 2011 at 4:06 AM
Accordion with jQuery? You could always use the jQuery UI Accordion. It's very configurable, degradable, use semantic markup and can be themed: http://jqueryui.com/demos/accordion/ (NOTE: There are other... read more »
-
Creating A Struct From A ColdFusion Array Using The TreeMap And The LinkedHashMap
Posted on Dec 7, 2010 at 10:40 AM
You don't have to use numeric keys, but be aware that all keys are case-specific when using "LinkedHashMap" (unlike a normal struct.) (I tried posting this response in Firefox 3.6.12 Windows and it didn't work... not sure why. Reposted using Google Chrome.)... read more »
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Oct 4, 2010 at 11:28 AM
Regarding setTimeout, check out doTimeout: http://benalman.com/projects/jquery-dotimeout-plugin/ Delayed code execution (including interval and timeout management), polling loops and debouncing. In addi... read more »
-
jQuery Selectors - The Firebug Plugin Inserts A Hidden DIV Element
Posted on Aug 27, 2010 at 11:49 AM
I've had this happen before and it drove me a little nutty. (A client was reporting that a "promotion" wasn't added to their homepage, but their anti-virus software was rewriting the HTML.) Here's what I do now: Use the Web Developer Addon for Firefox, go to "View Source" and then "V... read more »



