This article focuses on the application of JS controls in IFrame. To facilitate your understanding, I believe this article will surely help you gain some benefits.
Apply JS controls to IFrame
Overview
The IFrame application JS control aims to ensure that developers can easily obtain data such as Netease dream life platform and quickly develop applications, it also provides users with better display effects and more convenient information sharing.
Use
Developers only need to introduce the JS files we provide in Webpage files.
A. If the Server File is encoded as GBK, the import is as follows:
- <Scripttypescripttype = "text/javascript"
- Src = "http://apps.163.com/js/netease/mylife/NeApps.js">
- </Script>
B. If the Server File is encoded as a UTF-8, import as follows:
- <Scripttypescripttype = "text/javascript"
- Src = "http://apps.163.com/js/netease/mylife/NeApps-utf8.js">
- </Script>