示例
维洛BLOG(鼠标悬停在链接上,下面的空白区域就会加载网页)
源码
<html>
<head>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
$('a').on('mouseover',function(){
var href = $(this).attr('href');
$('iframe').attr('src',href);
});
});
</script>
</head>
<body>
<a href="https://b.xn--xu0a.cn/" >维洛BLOG</a>
<iframe src=""></iframe>
</body>
</html>