Create NodeJS command line script or app

Wojtek on nodejs, shell, JavaScript, script · · Comments · 1 min read

I wanted to write a simple script that would convert multiple files from one encoding to another. I didn't want anything big or running in the browser. Command line script seemed like the right approach. Coming from a web developer background my first thought was a script written in PHP and converted to a command line app. Just saying that... Read more »

Hot off the workshop vol. 2

Wojtek on CSS, HTML, JavaScript, TK Maxx, Venda · · Comments · 1 min read

Website redesign for TK Maxx. Launched just yesterday. Venda coding all the way in the back end and HTML, JavaScript and CSS in the front end. Visit live site What I’ve learnt The biggest challenge was to make the site work in Internet Explorer 6 and 7. One particularly annoying issue was to make the logo stay on top... Read more »

Hot off the workshop vol. 1

Wojtek on CSS, Facebook, HTML, JavaScript, MySQL, PHP · · Comments · 1 min read

Just launched. TK Maxx and Red Nose Day campaign applications. Facebook quiz Fun quiz to find out your perfect Red Nose Day t-shirt. View site Website application Upload you photo with Flash uploader, resize it and pan it around with JavaScript then save your results with PHP. View site... Read more »

Self executing function in JavaScript

Wojtek on function, JavaScript · · Comments · 1 min read

In my last project I needed a function in JavaScript that will execute itself as soon as it’s ready. My first idea was something like that: // declare function function myFunction() { alert('Hello world!'); } // run it when DOM is ready with help of jQuery $(document).ready(function() { myFunction(); }); but in the back of my mind I knew there is... Read more »

Simple JavaScript popup window

Wojtek on JavaScript · · Comments · 1 min read

Over the years I used a lot of JavaScript functions to open PopUp windows. Some time ago I wrote this simple function and I use it everywhere where I need to open a new window. Add the following to your JavaScript file or embed it in the <script type="text/javascript"></script> tag somewhere... Read more »