adahas

adahas

[adahas] means [ideas] in sinhala; they make all the difference

welcome

Welcome to adahas.com. I am Venushka, a Software Engineer / Freelancer based in Colombo, Sri Lanka. (view my LinkedIn profile)

Considering my education in the area of computing, I hold a Bachelor of Science degree in Computing and Information Systems from London Metropolitan University, UK (2004) with First Class Honours, and a Master of Science degree in Advanced Software Engineering from University of Westminster, UK (2009) with a Distinction.

I have been in the software industry for around 5 years, and have worked with five reputable software companies in the country. During my time in the industry, I have worked with many technologies from programming to databases, web design to dynamic web application developmnet, etc. and my expertise lies with Java and PHP.

from the blog

application/xhtml+xml or text/html?

June 8th, 2005

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!

June 1st, 2005

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!

May 30th, 2005

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

catHighlight Released!

May 30th, 2005

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

May 27th, 2005

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.