Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use JS Control in IFrame

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how JS controls are used in IFrame. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

IFrame Application JS Control

Overview

IFrame application JS control is to ensure that developers can easily access NetEase dream life platform and other data, at the same time, rapid application development, and give users a better display effect and more convenient information sharing.

Use

Developers only need to import the JS file provided by us in the web page file.

a. If the server file is encoded as GBK, import as follows:

b. If the server file is encoded as UTF-8, import as follows:

Example

◆ card

Call NeAppsUI.showCard (uid,e) directly on the link you need to use, where uid is the user's id,e and is the event. Examples are as follows:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report