adahas

අදහස්

Download Day

second first steps…

As for the first steps on getting back here, thought of going for the third look and feel refresh of adahas. Didn’t put much time in to it as my focus is on the site content over its looks. But yes, looks does matter; thats why I chose a simple but elegant design which will […]

let’s see

After a long confusing and busy time, seems like I’d be getting a bit of peace of mind. Hmm…. but then again, I might be totally in the wrong conclusion considering the things I have ahead this year.
Even so, I am thinking of getting back here to help out at least some of those who […]

Some unexpected releases! (intouch & phpMyAdahas)

Due to some issues reported by users of intouch and phpMyAdahas, I had to change my plans and release two minor update versions for these two applications. You will be able to find these updates on their respective pages.
Ah yes, the features that I was hoping to add to intouch 1.2 are not available in […]

back again

After a long time of silence, I’m back again. Firstly, my sincere gratitude goes to all the people who emailed me regarding my work and just saying ‘hi’. Lately, I have been busy with my new place of employment, but I thought I’d make the time to write something. And hopefully I’ll be writing and […]

intouch 1.2, soon!

I’m in the process of developing the next release of intouch, which will carry a lot more features than the existing version (1.1) and some bug fixes too.

application/xhtml+xml or text/html?

W3C recommends that the content should be served as application/xhtml+xml. But the problem of doing so is that some browsers (such as IE, obviously) doesn’t support the content-type yet. So what’s the decision?

WP-CommentPreview Re-released!

After fixing a series of incompatibilities with different browsers, a stable version of WP-CommentPreview 1.2 is now available for you. I thank each and every one of you who had interest in this plugin, and supported by reporting the problems.

WP-CommentPreview Released!

This is a plugin for WordPress which allows you to insert HTML tags using Quicktags and preview your comment before submitting it.

catHighlight Released!

This is a plugin for WordPress which allows you to add a class attribute to the selected Category link in the category list.

innerHTML in application/xhtml+xml

As you may already know, JavaScript ‘innerHTML’ attribute fails when the document is served with the content-type as application/xhtml+xml. But when the same page is served as text/html, the code works fine. One way to get through is use DOM Object and createRange() method of JavaScript. It works with application/xhtml+xml, but fails in text/html.

So, I tried to build a work-around to write code that will result the same output in both the application/xhtml+xml and text/html.