Category Archives: bug

IE: resize timer

Se volete collegare qualcosa all’evento resize (su IE) vi conviene usare sempre questo snippet di codice (jQuery):

var _resize_timer = null;
$(window).bind(‘resize’, function(ev) {
if (_resize_timer) clearTimeout(_resize_timer);
_resize_timer = setTimeout(function(){
//CODE
}, 100);
});

invece del semplice (e funzionante codice)

$(window).bind(‘resize’, function(ev) {
//CODE
});

Provate voi stessi a ridimensionare la finestra (IE) :
http://maxb.net/scripts/ieresize/resize-ie.html
http://maxb.net/scripts/ieresize/resize.html

IE: document.body is null

Prima di impazzire come ho fatto io guardate questi 3 link (con ie).

http://maxb.net/scripts/base/bug-on.html
http://maxb.net/scripts/base/bug-off.html
http://maxb.net/scripts/base/base.html

Il tag <base /> potrebbe essere il problema.
Dico potrebbe perchè stiamo parlando di internet explorer. Il condizionale è d’obbligo.

Firefox 3.1Beta2 – jQuery metadata “bug”

DEMO – FIREBUG ATTIVO!
Ho trovato il primo bug su firefox 3.1beta1.
Lo reputo un bug del browser perchè lo stesso script su Firefox 3 funziona.
Il plugin metadata si spacca se i metadata sono scritti su più righe:

<div id="metadata1" class="metadata {
type : ‘p’,
colors : ['5131C9'],
size [...]

Packer bug?

Dean Edwards packer contains a bug using it with the new “encode privates” option.
I’ve just published the part of the script that breaks it.
The script postpend “_hidden” to a given string (when the string
contains “[" and "]“, _hidden should be postpended inside the []).
With the new option, the packer instead of
entity[field_hidden]
shows
entity[field_0].
These are the different tests:

Test [...]

google.it utilizza un certificato di sicurezza non valido

Son giorni brutti. Son sommerso di bugs. Ovunque.
Ne “posto” uno semplice semplice da correggere.

Nel menu in alto della GMail il link al reader punta a

https://www.google.it/reader/view/?tab=my
Il certificato di google è valido per il dominio .com non per il dominio .it

Cambiando in alto l’indirizzo da it a com non ho bisogno di aggiungere eccezioni di sicurezza al [...]

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