Programming Languages I’ve Learnt

Inspired by other developers blogging about the programming languages they learnt, here is the list of Programming Languages that I’ve learnt so far; along with the reason, in italics.

  1. BASICin 5th, school curriculum
  2. Cin 7th, school curriculum
  3. C++in 8th, school curriculum
  4. HTMLafter 10th, in Summer Training Institute
  5. CSSin 11th, school curriculum
  6. JavaScriptin 11th, school curriculum
  7. Visual Basic 6in 11th, school curriculum
  8. SQLin 11th, school curriculum
  9. Javain 11th, school curriculum
  10. FoxProcollege curriculum
  11. x86 Assemblycollege curriculum
  12. PHPpersonal interest
  13. ActionScriptpersonal interest
  14. XMLpersonal interest
  15. XSLTpersonal interest
  16. Rubyprofessionally
  17. MXMLpersonal interest

Languages I’m planning to learn,

  • Perl
  • Python
  • bash
  • Objective-J
  • Erlang

Updated: Hover for non-anchor elements in IE6

The updated version of the previous version of Hover for non-anchor elements in IE 6.

Before proceeding further, here’s a brief description of the problem,

The ‘:hover’ pseudo-class works on all visual elements in IE 7+, FF, Safari, Chrome and Opera. But for obvious reasons IE 6 fails to recognize the ‘:hover’ pseudo-class for elements other than the anchor(<a></a>).

Here is the updated code, which is faster and is targeted only IE 6 by a combination of JavaScript conditional comments & feature detection.

    (function ($) {
        $(document).ready(function () {
            $.single=function(a){return function(b){a[0]=b;return a}}($([1]));
            /*@cc_on
                if (!window.XMLHttpRequest) {
                    $('.hoverable').each(function () {
                        this.attachEvent('onmouseenter', function (evt) { $.single(evt.srcElement).addClass('hovered'); });
                        this.attachEvent('onmouseleave', function (evt) { $.single(evt.srcElement).removeClass('hovered'); });
                    });
                }
            @*/
        });
    }(jQuery));

All you’ve to do is to include this script in your html document and add the class ‘hoverable’ to all the non-anchor elements to which you want the hover action. And in your stylesheet add an extra selector for the element along with the ‘:hover’ style definition. Look at the code of the updated example to get a clear idea.

I’ve used James Padolsey’s single jQuery object snippet in the event handlers to prevent the creation of a new jQuery object every time the event handler is executed, hence saving a few execution cycles and memory.

Fresh Start

I’m returning to the world of blogging after a gap of two years.

To begin with, I’ve moved this blog to my hosting account at MediaTemple. I was withholding this for a long time as I wanted to move with a new re-design of my blog, but haven’t got much time to complete the theme, but now finally here is the transition from http://blog.delivi.info/ to http://blog.delivi.com/ sans the new theme.

Keep watching; more interesting stuff coming up!

If you’d like to subscribe to this blog, here is the feed.

Free eBook “Firefox 3 Revealed”

SitePoint has released a new free book titled “Firefox 3 Revealed: Whats New, Whats Hot, & Whats Cool”.

The author “Fabio Cevasco” guides you through all of the new features in Firefox 3. The latest version of Firefox makes your web browsing easier, faster and more secure, letting you enjoy surfing.

This book will give you an insight of the new features of Firefox 3 and help a lot in getting the most out of it for both secure surfing and web development.

Get your copy of “Firefox 3 Revealed: Whats New, Whats Hot, & Whats Cool” (1.23MB), Now!

Download “The Photoshop Anthology” for free

Corrie Haffly’s Photoshop book titled “The Photoshop Anthology: 101 Web Design Tips, Tricks & Techniques” is now available for FREE Download! Only available for a Limited time!

It’s true! the complete book by Corrie Haffly is available for free. The book has 12 chapters and 447 pages.

Overview:

Author Corrie Haffly has drawn on her extensive Photoshop experience to show you how to create a multitude of web graphics, ranging from buttons and backgrounds to text and images. Corrie also explains techniques that can greatly improve your workflow and make working with Photoshop more efficient, including batch processing and the automation of repetitive tasks.

Get your free copy of ““The Photoshop Anthology: 101 Web Design Tips, Tricks & Techniques” at SitePoint.

This offer expires on Friday June 13th, 2008. So hurry up! Get your copy of The Photoshop Anthology.

The Book Sitepoint: “The Photoshop Anthology” is no longer available for free download. You can buy this book for $29.95 here.