RhythmFighter schrieb:
> I have a feeling there is an obvious answer to this, but it escapes me...
>   
Right. Try this, it should be what you are looking for:

function init_top_level() {
        var handler = function(i) {
                // Do a ton of stuff here
        };
        $(".top_folder").click(handler).dblclick(handler);
}

Hope that helps :-)

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to