Category Archives: Web Development

From XHTML to CSS to PHP and everything from web security and usability etc.

Checking/unchecking checkbox doesn’t work in jQuery mobile

I’m using an old school jQuery code to modify elements that has true/false attributes such as checked or selected. This appears to be not working when I tried it on jQuery mobile checkbox. I used a different method instead and … Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment

Setting up Selenium 2 and behat on Slackware Linux

When it comes to testing a web application, nothing beats testing than using a real browser. In my previous post, I’ve used a headless browser emulator goutte as my web driver for behat/mink test cases. Let’s dive into testing using … Continue reading

Posted in Web Development | Tagged , , , , | Leave a comment

Installing Behat/Mink/Goutte on Slackware Linux

Using the latest and the greatest Slackware 14.0, below are the simple steps to install the Behat/Mink/Goutte stack for BDD stuff. Currently, my PHP version is 5.4.13 and my PHPUnit version is 3.7.19. This should be enough to get us … Continue reading

Posted in Web Development | Tagged , , , , | 1 Comment

Google Analytics – Next Level – Custom Variables and Events

So I have this Google Analytics tracking installed on my site for quite few years. It has good reporting so far for basic tracking like page visits, unique visitors and the like. Now, I take it to the next level … Continue reading

Posted in Web Development | Tagged , , , , , | Leave a comment

CKEditor grayed out on jQuery tabs when window is resized

We have jQuery tabs containing CKEditor. Recently I noticed an issue during window resize activities where the editors hidden on tabs are grayed out when you reveal that tab. It turns out that the editor’s main editor window is set … Continue reading

Posted in JavaScript | Tagged , , , | Leave a comment

Introducing DOM Watcher – A Google Chrome Extension

It was due to very complicated way of testing a website technology we are using at work, I decided to create this Google Chrome extension to simplify the work in just a single click. The extension is designed to pickup … Continue reading

Posted in Web Development | Tagged , , , , , , , , , , , | 4 Comments

Bug Fix on World Clock Widgets

A month ago, I have posted about my World Clock widgets. However, I have found out that there is a bug on the implementation especially on the cookie part where the timezone and offset information is saved into a cookie. … Continue reading

Posted in JavaScript | Tagged , , | Leave a comment

Yet Another Base64 Encoder/Decoder

This tool is yet another online, web based, base64 encoder/decoder written in JavaScript. This tool come in handy in times when we needed to either encode or decode base64 string. I have written this tool using various opensource tools. The … Continue reading

Posted in JavaScript | Tagged , , , , , , , | Leave a comment

Yet Another World Clock

I finally completed my so called “World Clock”. The idea was to be able to create a widget to display a clock for different timezones. I used the combination of JavaScript and PHP to achieve the accurate date/time conversion especially … Continue reading

Posted in JavaScript, Web Development | Tagged , , , , , , | Leave a comment

Just Another URL Encoder/Decoder

There are so many online URL encoder/decoder out there, but nothing stops me from creating yet another one and pollute the web (j/k). Anyway, this is just a very simple tool written in JavaScript that can be used to encode/decode … Continue reading

Posted in JavaScript, Web Development | Leave a comment