Iframe embedded web usage
Abstract: iframe embedded web usage
</ Td> </ tr> <tr> <td height="35" valign="top" class="ArticleTeitle"> iframe embedded web usage 
  iframe is not very common, the standard Web page with very little. However, a friend of mine often asked, I am now simply tell us about its use, as long as you pledge to mastering these parameters.
  <iframe> should also be a form of framework, and it Different, iframe can be embedded in any part of the website. We first give an example, the specific code such as:
<iframe Width=420 height=330 frameborder=0 scrolling=auto src=URL> </ iframe> here is the URL can be a relative path, and can also be the absolute path.
  width that width, height that width can be adjusted according to actual situations.
  scrolling pages that would show that the rolling of the optional parameters for the auto, yes, no, if this parameter omitted, the default for the auto.
  Second, how to achieve on the page hyperlinks embedded at this website?
  iframe named to this as long as we can. Is <iframe name =**>, For example, I named aa, write this HTML language <iframe width = 420 height = 330 name = aa frameborder = 0 src = http://www.cctv.com> </ iframe>, and then hyperlink on the web page statement should be written as follows:
  results are as follows, click here: CCTV
  Third, if the frameborder set to 1, the effect is like text box. Function TempSave (ElementID) (CommentsPersistDiv.setAttribute ( "CommentContent" document.getElementById (ElementID). Value); CommentsPersistDiv.save ( "CommentXMLStore");) function Restore (ElementID) (CommentsPersistDiv.load ( "CommentXMLStore"); document . getElementById (ElementID). CommentsPersistDiv.getAttribute value = ( "CommentContent");) </ td> </ tr> <tr>
↑ Back
Tags: java web






