1
有没有一个快速的方法来使用右箭头键和左箭头键来加载下一页? 我的解决方案到目前为止是:键盘导航加载页面
$(document).ready(function() {
$("a.transition").click(function (event) {
event.preventDefault();
linkLocation = this.href;
$("body").fadeOut(20, redirectPage);
});
$("a.transitionB").click(function (event) {
event.preventDefault();
linkLocation = this.href;
$("body").fadeOut(20, redirectPage);
});
function redirectPage() {
window.location = linkLocation;
}
});
用2个看不见的链路层。但是我需要一些东西来控制转换而不用点击页面,而是使用箭头按钮。
谢谢你的帮助。
你你们真棒,比你呢 – nrunit 2010-09-22 12:22:08