一些Iframe知识
- <IFRAME name=google_ads_frame marginWidth=0 marginHeight=0 src=”http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-0052768304011480&dt=1130643413453&lmt=1130643413&alt_color=000000&format=728×90_as&output=html&channel=5959447789&url=http://fanqiang.chinaunix.net/program/java/2002-12-19/2391.shtml&color_bg=666666&color_text=CCCCCC&color_link=FFFFFF&color_url=FF9900&color_border=000000&ref=http://www.google.com.sg/search?hl=zh-CN&rls=GGLG,GGLG:2005-42,GGLG:zh-CN&q=java+write+an+utf8+file&btnG=鎼滅储&meta=lr=lang_zh-CN&cc=494&u_h=800&u_w=1280&u_ah=740&u_aw=1280&u_cd=32&u_tz=-420&u_java=true” frameBorder=0 width=728 scrolling=no height=90 allowTransparency><img height=”1″ width=”1″ border=”0″ src=”22_files/CAY7E3U9.gif” /></IFRAME>
- iframe can access its parent using parent.document.all.someid,
- iframes can communicate with each using <base target=”iframeName”> inside the pages iframes include.
- iframe can be hidden by normal css grammar: style.display=none, block