First, a trick. If you want to display a comma separated list from an array all you need to do is multiply that array by a comma. “What’s that”, you say? You heard right. If you have an array in the variable @my_array you can simply place the following in your view: <%= @my_array *… Read more »
Posts By: Jason Gill
Print Better, Cleaner Reports from Omniture's SiteCatalyst
If you use the latest version of Omniture’s SiteCatalyst, you are probably aware of how poorly their nice pretty reports translate to PDF, Word, and Excel when you use the “save” tools available right there in the suite. Images get removed, text gets misaligned, and colors get skewed. Today I devised a nice, quick method… Read more »
copy/paste deterrent no longer works in Flash Player 10
Thanks to Robert who gave me this bit of information. Apparently in Flash Player 10 the clipboard can only be invoked by user interaction. My copy/paste deterrent—that I previously blogged about and subsequently became my most popular and most frequently visited post—was based on the idea that the clipboard would be written to several times… Read more »
Adobe CS4 Installation Fail
I’ve spent the past 3 days trying to install Adobe CS4 Web Premium on my home Windows XP computer (as the second install of my license at work). I kept getting an error before anything would install telling me something like “the following programs failed to install” (I forget the exact wording). Upon checking the… Read more »
Scriptaculous Autocomplete Page Jump Using Arrow Keys
When you use overflow:auto in your css in conjunction with Scriptaculous’ Autocomplete, there is a bug that makes the entire page jump around when you use the arrow keys on your keyboard to navigate up and down through the suggestion list. This bug normally appears only when the page itself is long enough to require… Read more »