search for: uparticl

Displaying 1 result from an estimated 1 matches for "uparticl".

Did you mean: particl
2008 May 19
0
up/down/delete functions for list items, problem with bound parameters
...initialize: function(name) { this.name = name; this.place = -1; this.FCArray = new Array(0); }, addElement: function(id,headline) { upf = (function (pos) { // Create div -> link -> img upLink.observe(''click'',this.upArticle.bindAsEventListener(this,pos)); return upLink; }).bind(pos); div.appendChild(upf(div.id)); }, upArticle: function(pos) { var before = this.FCArray[pos-1]; this.FCArray.splice(pos-1,1); this.FCArray.splice(pos,0,before)...