如何用iframe套用对方网页数据而又保持兼容的实现方法

2023-12-01 0 1,010

下面是世纪天成调用腾讯跑跑卡丁车页面的代码,确实不错以前悠久资源网小编也这么做过,需要用js什么的,特分享给大家参考。

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="gbk" />
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta name="robots" content="all" />
<meta name="author" content="Tencent-CP" />
<meta name="Description" content="跑跑卡丁车" />
<meta name="Keywords" content="跑跑卡丁车" />
<title>跑跑卡丁车-官方网站</title>
</head>

<!– <frameset rows="0,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="#" name="topFrame" scrolling="NO" noresize="">
<frame src="https://wepop.qq.com/act/a20190104order/?adtag=sjtc" name="mainFrame">
</frameset>
<noframes>
<body>

</body>
</noframes> –>
</html>

纯html实现不用js,需要的朋友可以参考一下。如果效果不好可以参考悠久资源网以前用js实现的。

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 HTML/Xhtml 如何用iframe套用对方网页数据而又保持兼容的实现方法 https://www.u-9.cn/sheji/html/8933.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务