Archive of Boise Office

New Love for Inline-Block

Inline-block is spectacular. Check out this menu, it auto adjusts the spacing between items. Home Products Services About Contact CSS (sans color|padding): div { width:100%; text-align:justify; } a { padding:10px 20px; display:inline; } span { display:inline-block; width:400px; } Now I get a menu that spans the container with automatic spacing….


Coldfusion 8 CSV Parsing the Elegant Way

Not a hard task, but I very much like doing things using the most efficient and straightforward means. Get the jar from sourceforge, then add it to your favorite Coldfusion class path. <cfset oFile = CreateObject(“java”,”java.io.FileReader”) /> <cfset oFile.init(ExpandPath(“some.csv”)) /> <cfset oReader = CreateObject(“java”,”au.com.bytecode.opencsv.CSVReader”) /> <cfset oReader.init(oFile,”,”) /> <cfset arrCSV…


Flash Prototypes

Here’s two AS2 Flash prototypes that I use all the time. The search proto is probably from that genius sephiroth but I can’t remember since it’s been a while.  The shuffle prototype is from kingdavid. Array Search Prototype Array.prototype.search = function(needle, from, strict) { if(from == undefined || from >=…


Random iteration

I have a project I’m working on at the moment that has an incrementing series {1,2,3,n=n+1,…n} and I need to convert that into a repeating series like so {1,2,3,3,1,2,3,3,etc}. This is in coldfusion and the obvious solution is as follows: <cfloop from=”1″ to=”20″ index=”n”>   <!— gives us 1,2,3,0,1,2,3,0 —>   <cfset…


jQuery each()

Here’s something I wasn’t aware of, if an associated array is populated by a named key, the length is not increased. var someArray = new Array(); someArray['someKey'] = “someValue”; alert(someArray.length); // expected 1, got blank alert(someArray['someKey']); // “someValue” This is a problem if you’re trying to loop the array by…


International data regex validation

Currently coding a site that is going to required international characters. I’m being very diligent in my data validation, so I want to lock the characters down with regular expressions. There isn’t any one metacharacter to encapsulate them all. So looking at a unicode table one can grab a range…


eCommerce Solutions

Are you wanting to sell your products & services online? We are eCommerce specialists and can create a secure, usable website for whatever needs that you have from just a few items to a huge inventory of cross-related products. We have several shopping cart solutions and can customize or even…


We can’t stay here, this is hack country

In the infinite hell that is developing for Internet Explorer 6, I have gotten rather good at creating CSS that doesn’t use browser specific code (holly hack, asterisk, conditional logic, !important, child nodes, etc). There are a few exceptions in the instance of actual bugs, not just loose interpretations of…


Peak Systems Boise Design Portfolio!

We’ve launched our design portfolio, complete with project descriptions and plenty of eye candy! Check it out!


Yes, the Boise Office has a Website…now…

Finally, a Website for our Boise office! Long under the oppressive yokes of the Seattle tyranny, our Boise team has risen from the ashes like the Phoenix reborn! Ok, ok, it’s not that bad — we’ve just been waiting to have some time between projects to actually build something for…