This blog will contain non-technical, fun and personal posts. All my technical posts will be posted on SMD's blog, http://www.smd.com.my. Looking forward to see you there! :-)

GoodBye alert()

I have been working with Javascript and AJAX quite a bit recently. I always used alert() to debug something. At least to know that the script was able to call the method or something.

saveBtn = dojo.widget.createWidget(”Button”, {caption: “Save Settings”}, dojo.byId(”saveBtn”));
alert(saveBtn.caption);

This is annoying & traditional way. I’m lazy to use Venkman. After doing some Googling about [...]

Toggling Wordpress Sidebar

I have change the look and feel of my blog. I can say it’s simple & “sexy?”. What say you?
If you can see, “Archive” block on the right sidebar is hidden onload. The block will expand on mouse click. There is a simple way to do this in wordpress. Actually, you’ll need prototype (a javascript [...]