Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the New York ColdFusion User Group (Jun. 2010) with: Clark Valberg

Trond Ulseth

Member since Dec 11, 2008

Recent Blog Comments By Trond Ulseth

  • Color Coding Sample Code Getting Much Closer

    Posted on Sep 1, 2006 at 5:37 PM

    hmm - in firefox it does indeed copy the linenumbers :( In Opera (my main browser) and IE (which I only use for test purposes) does not. Wonder if it's possible to get around this in Firefox somehow. I think it's really helpful to have linenumbers in code examples.... read more »

  • Color Coding Sample Code Getting Much Closer

    Posted on Aug 31, 2006 at 6:41 AM

    Hi Ben, I put together a little demo. What I did was the following. Changed the <ul> to <ol>. A search and replace in css: replaced "code ul" with "code ol" Removed the "list-style-type: none;" property from the css. Added "margin-left: 30px" on the code ol element in the css. Added a... read more »

  • Color Coding Sample Code Getting Much Closer

    Posted on Aug 30, 2006 at 5:59 PM

    If you would use a ordered list instead of a unordered list, you could easily add a little js and css to have a show/hide line numbers method on the site (would work without a page refresh).... read more »

  • Ask Ben: Counting Spaces In A Given String

    Posted on Aug 24, 2006 at 5:13 AM

    This could be done for phrases as well: <cfset theString = replace("Today the times are changing, the weather is changing and there is something in the air"," the ","|","all")> <cfset count = ListLen(theString,"|") - 1> Obviously it would return wrong results if the phrase is at the be... read more »

  • Ask Ben: Counting Spaces In A Given String

    Posted on Aug 24, 2006 at 4:30 AM

    Here's my simple take on it: <cfset theString = "You are simply a vision in that dress!"> <cfset count = ListLen(theString," ") - 1>... read more »