How to add IFrame on my Facebook Page | mrstheboss



How to add IFrame on my Facebook Page | mrstheboss

Iframes, or inline frames, allow you to load HTML files into an existing document. Frames are inline frames that are sometimes referred to as floating frames. One of the main advantages of the iframe tag is that it can be used to load external HTML or XHTML pages into the current document without disturbing the original page.

This iframe tag was not much popular when introduced because it was not supported by all the major browsers. But now Internet Explorer 4+, Netscape 6+, Firefox, Mozilla, Opera and other modern browsers all support iframes.

However, iframe supports a number of attributes like :
src, name, width, height, align, frame border, scrolling
New HTML documents can be loaded into the iframe without disrupting the rest of the document. CSS and JavaScript can be used to manipulate properties of the iframe, such as its position and size. JavaScript can also be used to communicate between the document containing the iframe and the document loaded into it.
So, dynamically the iframe contents can be replaced.
Also, the iframes can be kept hidden. the hidden iframes can execute the code and then can send the results to the main document containing it using javascript. Thus, hidden iframes can be used as an alternative to AJAX. Nowadays many developers find it easy to use iframes for remote scripting. Remote Scripting is the process by which a client-side application running in the browser and a server-side application can exchange data without reloading the page.

Text Copy From:

THE IFRAME EMBED METHOD IS ONLY RECOMMENDED IF THE JS EMBED METHOD DOES NOT DISPLAY DUE TO CONFLICTS WITH YOUR EXISTING WEBSITE JAVASCRIPT. THE IFRAME EMBED METHOD WILL NOT DYNAMICALLY SCALE TO YOUR CONTAINER ELEMENT.

Text Copy From: woobox.com

Nguồn: https://docuquangphat.com/

Xem thêm bài viết khác: https://docuquangphat.com/giai-tri/

2 thoughts on “How to add IFrame on my Facebook Page | mrstheboss

Leave a Reply

Your email address will not be published. Required fields are marked *