html - Embedd ppt file in Iframe -


is correct? or there way it? can u please me code? aim display ppt file onto frame when click link.

<html> <head> <style type="text/css"> ul li{        font-size: 11px;        list-style: none;       } ul li a{         text-decoration: none; } </style> </head>  <body bgcolor="lightgray">   <ul>      <li><a href="http://docs.google.com/gview?  url=wbste/ppt/smime.pptx&embedded=true" target="disiframe"><font   face="lucida sans" color="black" >s/mime</font></a></li><br>    </ul>  </body> </html> 

make sure define iframe, src iframe page source

<iframe name="disiframe" src="target.html"></iframe> 

here's working example

<body>      <a href="http://www.wikipedia.org/" target="myiframe">link text</a>      <iframe src="http://en.wikipedia.org/" name = "myiframe"></iframe>  </body>


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -