我为我的问题做了一个简单的演示页面:
如您所见,它由一个iframe和一个简单的p组成
<iframe src="http://www.w3schools.com" width="100%" height="300"></iframe>
<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium do
我想防止的是,当用户单击iframe,然后滚动时,iframe就会被滚动。
我只希望主页面是滚动的!
我试着让我
我使用插件无限滚动的wordpress,它工作得很好。但是我也使用了内联Ajax评论的插件,它可以在每个帖子上用ajax显示评论。
它不适用于无限卷轴中的帖子,因为脚本需要回调。
所以我使用这个回调函数: ajaxLoadedCallback();
因为在内联注释的script.js中,我可以看到:
// BETA: If newly loaded Ajax content has javascript then execute.
// This helps inline-ajax-comments work if loaded by something like Infinite Scrol
我包括了css3动画在滚动:动画是工作的。问题是动画不适用于滚动显示。我使用的是on电-scrol.js。这是我的身体:
<div class="main">
<section class="home animatedParent">
<h1 class="animated swing">I am Leon Laci</h1>
<h3 class="animated swing slower">Front End Web