我想知道如何使用这个翻转插件来使 3d 翻转过渡与 IE9 兼容(客户端请求)。我可以让它工作,但我有两个 png,我想在鼠标悬停时从 rollover1.png 切换到 rollover2.png。到目前为止它确实 rollover1.png
<!DOCTYPE html>
<html>
<style type="text/css">
.flipbox {
width: 108px;
height: 108px;
line-height: 108px;
background-color: #ff9000;
font-family: 'ChunkFive Regular', Tahoma, Helvetica;
font-size: 2.5em;
color: #ffffff;
text-align: center;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script src="jquery.flip.min.js"></script>
<body>
<div class="flipbox">
<img src="rollover1.png" alt="Unlock Your Potential"/>
<img src="rollover2.png" alt="jjjj"/>
</div>
<div class="flipPad">
<a href="#" class="top" rel="bt" rev="#B0EB17" title="Ohhh yeah!">
</a>
</div>
</body>
<script>
$(function(){
$('.flipbox').hover(function(){
$('.flipbox').flip({
direction:'tb'
});
});
});
</script>
</html>