Using JS to control frame highly dynamic adaptive instance page

time:11-06-12 forum:HTML web page, JS language and code
  Reprinted from the http://www.zhangxinxu.com/study/201012/iframe-height-auto.html#height=117

HTML Code:
[code].lt; iframe id=.quot; testIframe.quot; frameborder=.quot; 0.quot; scrolling=.quot; no.quot; testIframe.quot; 100%.quot; height=.quot; 120.quot;.Gt;.Lt; /iframe.gt; [/code]

JS Code:

[code].lt; R / > if (hash.Amp;.Amp; /height=/.test (hash)) {
H = hash.replace (.Quot; height=.quot; > >);

prev:Ajax internal exchange documents next:15 children suspected to be corporal pun...
post comment
Notice



approved   Reminder: at present, there are only...   Online test site PING value, network...   Expired domain name query   Query the operation system informati...   Phoenix reporter Dunfee and others l...
rand   Animate.css makes adding CSS animati...   JS control   CSS hover picture jitter effect   MTop HTML web page password lock 5.3   Control the window location of the i...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com