Member since 10/01/2008

Location: Belfast, United Kingdom

2 snippets

2686 profile views

5 Comment(s) Posted

View their favorites



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 743 posted 15 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 948 posted 15 years ago by kouphax
« Prev 1 Next »