CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Grant Killian's Blog

No, this has nothing to do with beer -- but maybe it should?

Javascript Nostalgia

I have a real soft spot for doing things other people think are hard (or better yet, impossible!); this doesn't mean I always succeed, but it does mean I usually want to accomplish what others think “cannot be done.”  While sometimes that means challenges like this goal for 2006, this tendency of mine really plays well in the software development field.  For example, I cooked up some web drag-and-drop cross-browser javascript code a few years ago and probably more importantly used it as a relevant and intuitive situation in an application (for selecting and sorting from many different types of options).  It involved a lot of conditional logic based on browser testing and so on; I really got my DIV tag on back then.

I came across this cross-browser javascript code for drag and drop from etLux that had me waxing nostalgic over those good old days of javascript mayhem.  etLux's effort is solid and, based on my testing, runs great on Windows OS with Netscape 4 (yes, I still have that!), Mozilla, and Internet Explorer.

I can't find my javascript library for this, but now I don't have to thanks to etLux's contribution. 



Comments

Darrell said:

What we really need is cross-browser DHTML behaviors.
# December 10, 2004 7:36 AM

Grant said:

Agreed, Darrell. The whole "this browser supports this" while "this browser supports that" is a pain in the butt; it keeps guys like me employed on tasks like replicating DHTML behaviours for users without the cool browser support, but I'd rather be doing business logic and solving bigger picture problems.

Alas, browser convergence hasn't been the norm (although Mozilla does a great job of handling some of the stuff that throws older Netscape browsers for a loop) and I wouldn't hold my breath.

# December 10, 2004 7:40 AM

Darrell said:

I remembered something about cross-browser DHTML behaviors, so I dug it up. Some guy wrote it in his spare time. :) Check it out:
http://dotnetjunkies.com/WebLog/darrell.norton/archive/2004/12/10/36022.aspx
# December 10, 2004 8:10 AM
Check out Devlicio.us!