I changed the code a bit. Some IE's dont recognize rgba colors. Changed them to hex instead.
...and this is the no conflict i added to the demo.
//avoid conflict with other script
$z=jQuery.noConflict();
$z(document).ready(function($) {
<!-- JavaScript -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
//avoid conflict with other script
$z=jQuery.noConflict();
$z(document).ready(function($) {
// Show or hide the sticky footer button
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$(".go-top").fadeIn(200);
} else {
$(".go-top").fadeOut(200);
}
});
// Animate the scroll to top
$(".go-top").click(function(event) {
event.preventDefault();
$("html, body").animate({scrollTop: 0}, 300);
})
});
</script>
#12