我会用一个简单的
<div class="answer1"> </div>
CSS
.answer1{
width: 330px;
height: 300px;
z-index:100;
background-image: url('../images/answer1.png');
background-repeat: no-repeat;
position: absolute;
top:250px;
left: 260px;
cursor: pointer; cursor: hand;
}
然后转换
$('.answer1').click(function(){
transition("#question2","push-left");
});
这使得链接工作但是在一秒钟之后页面变白了,为什么会发生这种情况?