http://denishoctor.me/readertest.html(以下のコードも)を使用した簡単なセットアップがあります。ボタンは、埋め込まれたPDF上でダイアログを開きます。これは、IE6/7/8以外のすべてで問題ありません。
誰かがこれを止める方法を知っていますか?
ありがとう、デニス
<button type="button">Click Me</button>
<iframe id="iFrameResponse" style="margin-left:250px;height:500px;width:100%" src="http://knowwheretheygo.org/media//static/content/sample.pdf"></iframe>
<div id="InformationDialog" style="display: none;">This is my info</div>
<script type="text/javascript">
$(document).ready(function() {
$( "#InformationDialog" ).dialog( {
title: "Information",
autoOpen: false,
hide: "slide",
show: "slide",
width: 225,
position: [100,125],
height: 400
} );
$("button").click(function() {
$("#InformationDialog").dialog('open'); return false;
});
});
</script>
更新:http://groups.google.com/group/jquery-ui/browse_thread/thread/66c7d2d31feedea9?fwc=1が見つかりました。http://brandonaaron.net/code/bgiframe/docs/について話しているのはどれですか。前述のように、IE for PDFで機能させるには、どのような変更が必要かを知っている人はいますか?