标签:判断 xmlns var on() meta script min ima lang
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> new document </title> <meta name="generator" content="editplus" charset="utf-8"/> <style> #test{animation-name:html_page;animation-duration:1500ms;animation-timing-function:ease-in-out;} @keyframes html_page{ 0% {transform-origin: 50% 50%;transform: rotate3d(0, 1, 0, 1440deg) rotateZ(45deg) scale(1);} 100% {transform: rotate3d(0, 1, 0, 0) rotateZ(0) scale(1);} } @keyframes mymove{ 0%{ transform:rotateY(720deg); } 80%{ transform:rotateY(720deg); } 100%{ transform:rotateY(0deg); } } </style> </head> <body> <div> <iframe id="test" width="100%" height=999px frameborder="0" src="" style="margin:0px;" ></iframe> <script language="JavaScript"> var iframe = document.getElementById("test"); iframe.src = "http://www.cnblogs.com/caidupingblogs/"; //以下判断iframe是否加载完,并且隐藏滚动条 if (iframe.attachEvent){ iframe.attachEvent("onload", function(){ hideS(); document.getElementById("loading").style.display="none"; }); } else { iframe.onload = function(){ hideS(); document.getElementById("loading").style.display="none"; }; } </script> </div> </body> </html>
效果显示如下:
HTML之页面镶嵌体验
原文地址:http://www.cnblogs.com/caidupingblogs/p/6078785.html