Disqus iframe grows to fit it's content, makes it hard to link to

This line of code:

<p class="comment"><a href="<?php the_permalink() ?>#disqus_thread">0 Comments</a></p>

Takes the user to a page with the Disqus comment system that reside in an iframe.

When the page loads, the Disqus iframe has a hight of 0 (zero). Since the iframe is positioned at the bottom of the page, the following happens:

  • During pageload, the page is calculated to x height and the page is shown at the absolute bottom of the page since the 0 height iframe is found at the bottom.
  • The Disqus iframe grows to a specific height and the page x height is increased.
  • The user now see the Disqus iframe at the bottom of the screen.
  • I wan't the user to se the top of the Disqus iframe at the top of the screen. Anyone knows how I can fix this?

    链接地址: http://www.djcxy.com/p/89914.html

    上一篇: 高度,所以它保持从页眉到页脚或更长?

    下一篇: Disqus iframe增长以适应其内容,使其很难链接到