kouphax


Member since 10/01/2008

Location: Belfast, United Kingdom

2 snippets

3493 profile views

5 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

kouphax's Recent SnippetsTagged sort



« Prev 1 Next »
jQuery Plugin for returning selected DOM Nodes in DOM order. e.g. $('img.L,img.Y') will not be guaranteed DOM order (usually all the L's then all the Y's). Currently only works with IE and FF (that's all I needed).
1 890 posted 16 years ago by kouphax
This function will sort an array of DOM elements in order of the DOM position. Useful when using calls such as $$("img.L,img.M") which doesn;t return a sorted element array. It uses prototype but you can replace the Prototype.Browser stuff with a...
0 1124 posted 16 years ago by kouphax
« Prev 1 Next »