如何无缝的调用云站的“iframe”功能(附完整代码) 二维码
<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>网站标题_这里是网站标题_技术支持QQ:468007682</title> <meta name="Keywords" content="关键词1,关键词2,技术支持QQ:468007682" /> <meta name="Description" content="网站描述,这里是网站描述,技术支持QQ:468007682" /> <style>a{TEXT-DECORATION:none}</style> <style type="text/css"> *{margin: 0; padding: 0;} .iframe{ width: 100%; border: none; position: absolute; right: 0 px; top: -3px; bottom: 0; left:-5px; overflow-x: hidden; overflow-y: hidden; } </style> </head> <body> <div class="iframe"> <!--注释:如果调用云站的iframe需要①先登录云站,然后“设置”-“高级设置”-“允许iframe访问网站”;②检查目标站点有没“新窗口打开”页面;③可调用系统提供的二级域名--> <iframe src="http://up60.aokeduo.com" width='100%' height='100%' frameborder='0' > </iframe> </div> </body> </html>
文章分类:
云站使用
|