All I want to do is hide the image until it finishes uploading and then have jQuery fade in the image. Simple right? Not for me with how this day is going.
//javascript
$("img").load(function(){
$("img").fadeIn(5000);
});
//php image echo
echo "<img src='uploads/resized_$fileName' alt='Image' visibility='hidden'/>";
Keep in mind I have tried $("img").fadeIn("slow") as well. Why does this not work?

New Topic/Question
Reply



MultiQuote




|