Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Rob Rawlins
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with: Rob Rawlins@SirRawlins )

J. A. Streich

Member since Dec 11, 2008

Recent Blog Comments By J. A. Streich

  • Exploring HTML5's localStorage - Persistent Client-Side Key-Value Pairs

    Posted on Oct 12, 2011 at 3:58 PM

    @Herman, You can convert the image to a Base64 string, and store that in localstorage. You'll be increase the image's memory footprint so you might bump your head on the localstorage limit, but besides that it should work.... read more »

  • Ask Ben: Rendering Javascript Line Breaks

    Posted on Jul 23, 2008 at 5:04 PM

    @Peter Yes, that should work if the browser is capable of using CSS. That said, it's not the ideal solution. @no one in particular \n is a literal return, like pressing the enter key while writing code, it will render a single space in the browser. Paragraph (p) and break (br) tags are preferre... read more »