Hemingway Reloaded is a great theme for the WordPress Blogging Software, however, it lacks a little bit IE 7 compatibility.
Here are two simple fixes for the style.css which will display the startpage correct.
First off, in style.css, change the width of #primary.twocol-stories .story to 47% instead of 48%:
#primary.twocol-stories .story{ float:left; width:48%; marginContinue Reading →29
MAY10Share
javascript, prototypes and object references
Posted by: Thorsten Suckow-Homberg
If you are using OOP, you are familiar with initializing class members in the head of the source:
/** * Pseudocode */ class Foo { int i = 0; Array bar = new Array(); }
However, if you are using Javascript’s prototypying, assigning objects to class (prototype) members will result in static instance variables.
Example:
teaching javascript the concept of interfaces
Posted by: Thorsten Suckow-Homberg
There’s an easy way to simulate Interfaces in Javascript, this post shows you how it is done.
(Beware, I’m going to mix OO terms in this posts a little bit for the sake of Javascript, but readers familiar with OO concepts will understand what I mean.)
At first we will extend Javascript’s native Object with a method called __implements, which is responsible for comparing class-methods with method-stubs (declared as strings) in an “interface” (quoted, because it is not an Continue Reading →
MAY
web 2.0 – what is all the fuss about, anyway
Posted by: Thorsten Suckow-Homberg
When I started my studies of social- and economic history in Hamburg, Germany, the internet – as we know it – was raring to go. The one or other dotcommer was already out of business, however, there were still hotheads out there with a grandiose idea, plans were made (up) and shown to potential investors. Banks were giving away credits and the management of the mostly young companies changed their old ...
Continue Reading →MAY
fighting the spill
Posted by: Thorsten Suckow-Homberg
More than a year ago I was digging deep in the sources of the Java-like GNU Classpath, trying to find a way to adopt the MVC Pattern they are using. Despite all the hassle with translating and substituting objects, methods and functionality (have you ever taken a look at the ...
Continue Reading →MAY
ANIga – pimping my gallery
Posted by: Thorsten Suckow-Homberg
I was looking for a gallery plugin, and among those literally speaking hundreds of gallery extensions for the WordPress blogging software I found ANIga, coded by Michael Naab. Though there are a few unpretty startup errors upon installing and uncatched error-notices during image-processing (Michael, did you forget do set error_reporting to E_ALL?), I’m pleased with the functionality the plugin gives you.
After customizing my default-Template theme ...
Continue Reading →MAY
Back with 2.2
Posted by: Thorsten Suckow-Homberg
I’m finally done upgrading my old WP installation. Here you go… Old posts have been migrated to the new db, the comments are lost, though.
Continue Reading →MAY
