PDA

View Full Version : PDF?????Ext.Window?????????



kuro
24 May 2010, 7:35 PM
??????????IFRAME?PDF?????????Ext???????Ext.Window????????????????
z-Index????????????????????????????????
?????????????????????????



<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>PDF problem</title>
<link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css" />
<script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"> </script>
<script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/src/locale/ext-lang-ja.js"> </script>
<script type="text/javascript"><!--
Ext.BLANK_IMAGE_URL = "http://extjs.cachefly.net/ext-3.2.1/resources/images/default/s.gif";
Ext.onReady(function () {
var panel1 = new Ext.Panel({
title: 'HTML Viewer',
width: 400,
height: 320,
applyTo: 'html',
html: '<iframe src="http://extjs.co.jp/" width="100%" height="100%"></ifrane>'
});
var panel2 = new Ext.Panel({
title: 'PDF Viewer',
width: 400,
height: 320,
applyTo: 'pdf',
html: '<iframe src="http://www.adobe.com/jp/aboutadobe/pressroom/pressreleases/pdfs/20090123_rtmp.pdf" width="100%" height="100%"></ifrane>'
});
Ext.Msg.show({
title:'Message Box',
msg: '?????????????<br />PDF????????????'
});
});
// --></script>
</head>
<body>
<br />
<div id="html"></div>
<br />
<div id="pdf"></div>
</body>
</html>

kuro
22 Jun 2010, 3:10 AM
????????????????????????????????????

http://www.sencha.com/forum/showthread.php?87357
http://www.sencha.com/forum/showthread.php?101733

??????????????