Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: open

Message Too Old, No Replies

jQuery fade effects in IE(8)

   
12:07 pm on Nov 1, 2012 (gmt 0)

5+ Year Member Top Contributors Of The Month



Sample code:

<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
span {display:none;}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("span").fadeIn(3000);
});
});
</script>
</head>
<body>
<button>Fade in</button>
<span>This is some text.</span>
</body>
</html>


It doesn't work in IE8 and probably older versions. Any solution?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month