Posted: December 31, 2007 at 9:46 AM by Ben Nadel
List elements (the LI within UL and OL elements) are, by default, block level elements. As we, as a community, have moved more towards web standards, many of us have began to use lists for our navigation claiming that semantically, navigation is a "list" of links to sections of our site. To do this, many of us, myself included, have turned list el... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 31, 2007 at 8:23 AM by Ben Nadel
Last week, I talked about a little bit about a revelation that I had as far as print CSS vs. printer friendly pages go. I had said that print CSS was optimized to make haphazard printing better and printer friendly pages were optimized for purposeful printing. In response to this, Rick Osborne had some very good comments. For starters, he made... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 30, 2007 at 3:02 PM by Ben Nadel
Friday night, I went to the gym with my lifting partner to hit up a work out. It ended up that he worked out and I kind of just went through the motions. After having had my teeth cleaned earlier in the day (which is super stressful for me), I had tension pain in my neck and traps and my gums felt all irritated. As such, I couldn't seem to focus o... read more »
Comments (4) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 28, 2007 at 5:20 PM by Ben Nadel
It used to be that the way I created the printer friendly version of a page was with a logical step inside of my header and footer. See, most of my pages include a header and a footer template: <!--- Include header template. ---> <cfinclude template="_header.cfm"> <!--- CODE. ---> <!--- Include footer template. -... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 27, 2007 at 3:09 PM by Ben Nadel
I was just having a little comment-conversation with Scott Bennett over on another post about the difference between CFScript and tag-based looping when I had a thought - if CFLoop tag attributes are only evaluated ONCE when the tag is initially fired (with the exception of the Condition attribute which does not use hash signs), does that mean... read more »
Comments (6) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 27, 2007 at 2:34 PM by Ben Nadel
This isn't necessarily an "Ask Ben" question; Michael Appenzellar had brought up the concept of breaking up an SMS text message into multiple parts that were, at most, 120 characters each. He was having a bit of trouble breaking it up, so I thought I would throw together a quick little demo. To start with, let's create the text message that yo... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 27, 2007 at 8:32 AM by Ben Nadel
Yesterday, in the comments on my post about using XML with ColdFusion 8's new array iteration using CFLoop , Scott Bennett posted an example of using an XmlSearch() as the value being passed to the Array attribute in the CFLoop tag. I don't know why exactly, but this just struck me as quite cool (cool enough to get its own ColdFusion 8 post). H... read more »
Comments (5) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 27, 2007 at 7:38 AM by Ben Nadel
As a quick follow up to my post yesterday on using ColdFusion 8's new array iteration via CFLoop , I thought I would check to see if array iteration worked on another "pseudo array", the function ARGUMENTS scope. The ARGUMENTS scope is a very interesting object that has both struct and array properties, meaning, it can be accessed both by key and... read more »
Comments (2) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 26, 2007 at 8:37 AM by Ben Nadel
I think I found a bug in the way that ColdFusion 8 handles CFLoop array iteration and XML nodes. I was working with some XML over the weekend (yeah baby, I DO know how to fully take advantage of the holiday weekend!) and was doing some simple XML node iteration like this: <!--- Store actresses in a ColdFusion XML document. ---> <cfxml... read more »
Comments (13) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 24, 2007 at 6:44 PM by Ben Nadel
Sorry I didn't get around to doing anything fun for the holidays this year, but I assure you that I have a lot of stuff in the oven right now. Hopefully, with the new year, I will have some more time to devote to the blog. Happy holidays to all and to all a good night :) ... read more »
Comments (9) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 24, 2007 at 12:43 PM by Ben Nadel
I don't think you can really discuss this movie without giving away some I Am Legend spoilers; so if you haven't seen this movie yet and really want to go in fresh, don't read any further as it will take away some of the mystery. I Am Legend is a fantastic movie. It's gripping and... read more »
Comments (28) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 24, 2007 at 11:31 AM by Ben Nadel
I recently finished my first bottle of Novedex XT by Gaspari Nutrition . As I have been hitting the gym hard lately, I figured I would try to maximize the effort by adding some new supplementation to the mix. Novedex XT is advertised as working on two different fronts; on one hand, it increases the body's natural Testosterone levels; then, on oth... read more »
Comments (10) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 21, 2007 at 3:39 PM by Ben Nadel
Keep up the good work! And, special thanks to Todd Sharp for putting this all together. ... read more »
Comments (0) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 21, 2007 at 10:24 AM by Ben Nadel
I work at a veterinary hospital and am generating xml from an IBM UniVerse DB which may or may not contain multi-valued data, and parsing/displaying it via CF8. I have written custom java classes take the user input from the cfform, handle the db transactions and pass back an xml object which is then parsed in CF. (the multi-value data driver does... read more »
Comments (5) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink
Posted: December 20, 2007 at 10:56 AM by Ben Nadel
I just went and removed the usage of GetTempDirectory() in one of my applications because every now and then, ColdFusion's GetTempDirectory() starts returning an empty string. It's almost as if there is some error being thrown by the machine and, instead of letting that error bubble up to the web application, ColdFusion catches it and just returns... read more »
Comments (19) | Post Comment | Ask Ben | Live Chat (Beta) | Permalink