javascript, jquery

Samba! Primo commento

05.08.08 | Comment?

Grazie a Samba ho trovato un “piccolo” bug sui seguenti post:

.

Il baco non era facilmente visibile:

if you drag it from positon0 to position1 then click prev then drag it position2 than press prev this will carry box to positon1.

Un classico problema dell’algoritmo “history”. Ho corretto tutti i post che usavano quel pezzo di codice.
Ringrazio ancora Samba per aver letto un post in “italiano”.


        this.update = function(){
            if(_position < _stack.length)
                _stack = _stack.slice(0,_position);

            _style = jQuery(this.ref).attr("style");
            _stack.push(_style);
            _position = _stack.length;
        };

Popularity: 1% [?]

Post a Comment

Your email is never shared. Required fields are marked *

*
*
© 2010 Massimiliano Balestrieri | Thanks, WordPress | Sandbox theme | Standards Compliant XHTML & CSS | RSS Posts & Comments