Archive for posts tagged with “tricks”
wRECkeR: Responsive Equal-Height Columns and Rows
0 commentsAuthor: Steven Vachon
Wrecker is a dynamic layout plugin for jQuery that achieves equal-height rows in a grid layout. Similar to a float
layout in that excess “cells” are moved to the following “row”. However, unlike, in that columns line up vertically and the cells of each row are equal in height based on their contents, just like a <table>
. No static heights required. Read more
Inside-Only CSS Table border-spacing
0 commentsAuthor: Steven Vachon
When working with a <table>
or display:table
layout, getting some nice space between each cell can be a real pain. Resorting to hacks like padding
or a transparent border
sometimes work, but not if you need a visible border or box-shadow
. Read more
Single-File Facebook OAuth 2.0 Example
0 commentsAuthor: Steven Vachon
I couldn’t find a simple, straight-forward example of this stuff. Facebook’s documentation isn’t wasn’t extremely clear either. Read more
Shuffle and Randomize Arrays in ActionScript and JavaScript
0 commentsAuthor: Steven Vachon
I’d been looking around for the best solution for this and most of what I had found either performed poorly or wasn’t quite random enough. Not so strangely in the end, the best solution was the most basic. Read more
Folder Names with a Colon in Mac OS X
0 commentsAuthor: Steven Vachon
When it comes to organizing a folder collection of any sort, the folder’s name plays a key role in finding your data in the future. One thing that’s always bothered me about folders with Windows and Mac was that they restricted me from using the colon character. Call me anal, but when you’re dealing with subtitle within subtitle, dashes take slightly longer to read. Read more
_global Across Remote ActionScript Timelines
0 commentsAuthor: Steven Vachon
Like many Flash developers, I like writing classes and optimizing bandwidth with remote libraries. ActionScript 1 uses prototypes to extend methods to a function object, and to be able to access that class globally, one would use _global
. Unfortunately, global do not work as well as they’re explained to. This bug is resident in all minor versions of Flash Player 6, and still exists in Flash Player 7. Read more
Flash for the Masses
0 commentsAuthor: Steven Vachon
Is it just me, or do many Flash developers have no regard for slower computers? Do they believe that every single person on the Internet has a 3GHz machine? I mean, come on! I have a 3GHz machine, but if all I did was develop in Flash, I wouldn’t need such a computer. Neither do many of the other 400,000,000 people on the Internet. Read more