this is in regards to a error notice when trying to process some images for width and height adjustments: this is the code that i am using:

<code>
$(document).ready(function(){

var n=0;

$('ul#cachedImages>li img').load(function(){

	$('ul#cachedImages>li img').one("load",function(i){

	var index = $('ul#cachedImages>li img').index(this);

		$(this).animate({marginLeft: "5px"},function(){

		if($(this).width() > $(this).height()){

			$(this).animate({width: "120%",height: "auto"}).fadeIn("8000");
		
}else{
	

			$(this).animate({width: "auto",height: "30%"}).fadeIn("8000");
		}
});

	});

   });

	
});
</code>

this is the error i received in IE 8

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB5; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) Timestamp: Wed, 15 Apr 2009 20:29:01 UTC


Message: Invalid argument. Line: 4166 Char: 5 Code: 0 URI: http://code.jquery.com/jquery-latest.js


Articles in category "Events/one"

There are 5 articles in this category.

o