Use of inline framework IFRAME

Source: Internet
Author: User

 

IFRAME can be used to call an external file in a table. IFRAME is used on many website pages.

IFRAME-markedCommon attributesYes:
<IFRAME src = "url" width = "X" Height = "X" scrolling = "[Option]" frameborder = "X" name = "Main"> </iframe>

SRC: File path, which can be an HTML file, text, ASP, etc;

Width,Height: The width and height of the "internal framework" area;

Scrolling: Scroll option when the specified HTML file of SRC is not displayed in the specified region;
If no, no scroll bar appears;
If yes, it is displayed;
If auto is used, the scroll bar is automatically displayed.

Frameborder: Sets or obtains whether to display the frame border. (1, 0, no, yes)

Name: Framework name, used for identification.

For example:
<IFRAME src = "http://campo.3322.net" width = "250" Height = "200" scrolling = "Auto" frameborder = "0" name = "Main"> </iframe>

When you want to use the parent framework to control the internal framework, you can use: Target = "framework name" to control it.

Refer to ASP. NET main interface framework settings.

The framework of the main interface below ASP. NET has several methods:

1. One method is to use frameset,

2. The method in ASP. NET starter kit is to dynamically load user controls.

3. Use the master pages method:
Use master pages in ASP. net2.0:
Http://www.cnblogs.com/xugang/admin/
Http://www.cnblogs.com/dudu/articles/1503.html

There is a similar solution in ASP. net1.1:
Http://www.cnblogs.com/dudu/articles/1503.aspx
Http://www.asp.net/ControlGallery/ControlDetail.aspx? Control = 385 & tabindex = 2

RelatedArticleRecommended:
Basic Application of IFRAME-two methods for IFRAME page swiping
ASP. net iframe cookie domain Problems
IFRAME height automatic adjustment is the easiest solution
On the Asp.net page, the menu control drop-down menu is blocked by frame and the IFRAME adaptive Height Solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.