Ive made this jquery script quite basic really, but yet it fails to work in ie, but works in every other browser have tried it in chrome, opera, safari and firefox.
I've uploaded the script so you can take a look
ops wrong url
http://ddart.isgreat.org/test2/ this is the right one
the code is following
$(function () {
$('#uploadfile').click(function(){
document.file.submit();
});
$('#upload ul li a.size').click(function(){
if($('li#content').width() == 50){
$('li#content').animate({
width:"540px"
}, 1000,function(){
$('#upload img[width=17]').fadeOut('fast', function(){
$('#upload img[width=17]').attr('src','images/arrow_left.png');
$('#file').fadeIn();
$('#upload img[width=17]').fadeIn();
});
});
}else{
$('#file').fadeOut(function() {
$('li#content').animate({
width:"50px"
}, 1000,function(){
$('#upload img[width=17]').fadeOut('fast', function(){
$('#upload img[width=17]').attr('src','images/arrow_right.png');
$('#upload img[width=17]').fadeIn();
});
});
});
};
return false;
});
});
all help i can get is very much appreciated