Category Archives: JavaScript

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

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

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

Setting Session Only Cookie via JavaScript

So you’re pretty good at cookies in PHP, then you suddenly wanted to manage cookies via JavaScript. Few days ago, I got a chance to work on cookies and JavaScript but as usual, our beloved Internet Explorer blocks my way. … Continue reading

Posted in Internet Explorer, JavaScript | Tagged , , | 4 Comments

Showing Date Span – PHP and JavaScript Version

It is common to see date/time span in feeds and on most social networking sites. If you don’t get it, it is the line that says “An hour ago”, or “Yesterday”, or “21 minutes ago” sort of for human friendly … Continue reading

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

Scale Image – Lightbox – Another Javascript Hack

Okay, so I’ve hack the source again. This time, I need to dynamically resize / scale the image shown by lightbox to a certain width and for a maximum compatibility, I modified the source to show a scaled image when … Continue reading

Posted in JavaScript | Tagged , , , , , , , | 1 Comment

Galleriffic Scale Images – A Quick Hack (jQuery)

Forgive me for I have sinned. I have edited the jQuery gallerific plugin to give me the scaling of image capability. Below are the code changes that I made. I found out that I need to put in on two … Continue reading

Posted in JavaScript | Tagged , , , | 5 Comments