开发者

Getting Iframes on mozilla

开发者 https://www.devze.com 2023-03-10 10:07 出处:网络
I\'m using JavaScript on Mozilla开发者_开发问答 (version 4). Once I get a DOM object and identify the tag as an IFRAME I\'d like to get the content and the borders (x,y pixels)of the IFRAME, (if I und

I'm using JavaScript on Mozilla开发者_开发问答 (version 4). Once I get a DOM object and identify the tag as an IFRAME I'd like to get the content and the borders (x,y pixels)of the IFRAME, (if I understand correctly the Iframe is an additional HTML page inside another HTML).


Look here: https://developer.mozilla.org/en/DOM/HTMLIFrameElement

contentDocument and frameborder are probably what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消