What, who, where am I?!?
Craig Lotter is a web developer based in Gordon's Bay, South Africa, who seems completely incapable of shaking off that pesky inner child within, the one that forces him to love all things animated or hand drawn.
The Rugged Rock of Craig contains snippets of his life, popular culture and all the important things like anime, manga, games and comic books. The CodeUnit of Craig on the other hand contains the more serious stuff like code snippets and tutorials, while the House of C chronicles his foray into the world of web comics.
For which it never seems he has enough time anyway.
CodeUnit Post Archive
Rugged Rock Studio
Category Archives: Technology & Code
jQuery DataTables: How to Use jQuery ThemeRoller CSS Styling on Your Table

As a bonus, the awesome jQuery DataTables plugin (which I religiously use on all my work-related HTML tables nowadays) comes with the option to enable jQuery ThemeRoller styling with a simple switch of an initialisation parameter! Continue reading
Posted in Technology & Code, Tutorials
Tagged css, dataTables, jQuery, jqueryui, theme, themeroller
Leave a comment
jQuery: Bind Multiple Different Elements to a Function

The question for today is how to bind a single function to multiple different elements (in other words, elements with either different classes or IDs) in a single call.
Continue reading
Posted in Technology & Code, Tutorials
Tagged javascript, jQuery, multiple, select different elements, selector
Leave a comment
PHPExcel: How to Bold a Cell’s Value

Today’s quick code tip is on how to embolden a cell’s value – in other words how to replace that big B bold button with some code! ;) Continue reading
Posted in Technology & Code, Tutorials
Tagged bold, cells, Excel, PHP, phpexcel, worksheet
5 Comments
PHPExcel: How to Set the Width of Cells

Today’s quick code tip is on how to specify or set the width of individual columns in your worksheet. Continue reading
Posted in Technology & Code, Tutorials
Tagged cells, Excel, PHP, phpexcel, width, worksheet
5 Comments
PHPExcel: How to Merge Cells

Today’s quick code hint deals with how one sets about merging a cell range using PHPExcell. Unfortunately for me though, the solution is so simple that this will only take one line of my time! :P Continue reading
Posted in Technology & Code, Tutorials
Tagged cells, Excel, merge, phpexcel, range, workseet
2 Comments






