Jquery 1.7 slideToogle, slideUp, slideDown issue in IE8

Well after reading like 10 different websites, it seems like the problem was because of negative padding and margins, but i did not used negative values at all… so the WTF!!, anyway, you can grab the solution right here:

Chage:

_default:function(a){a.elem.style&&a.elem.style[a.prop]

by:

_default:function(a){if(isNaN(a.now)){return;}a.elem.style&&a.elem.style[a.prop]

Javascript Split() html crossbrower.

I know it sounds a little bit crazy, but it is true, if you do something like this:

InfoArray = $('#myInfo').html().split('<h2>---</h2>');

It will not work in IE 6,7,8. So the first question in your mind: ¿¿WTF??, internet explorer 6,7,8 will see html tags in capital letters: .split(‘<H2>—</H2>’).

So if you want to fix it, you can do something like this using jquery:

if ( $.browser.msie==true && $.browser.version <9)
InfoArray = $('#myInfo').html().split('<H2>---</H2>');
else
InfoArray= $('#myInfo').html().split('<h2>---</h2>');

If you have a better solution, please let me know it!