开发者

Can I use HTML5's Canvas element to load a different web-page within a frame?

For开发者_Go百科 example: If i want to load on my webpage within the canvas element another web-page with all its css


I know this is old but I stumbled onto this post from google so in the hope of helping others that may also stumble here:

Check this project out, does just what you want. Please note, that it's far from perfect but its a really impressive feat.

http://html2canvas.hertzen.com/


You would have to write an html and css parser and renderer in javascript.


Not really. You want to use an the <iframe> tag.

http://www.w3schools.com/tags/tag_iframe.asp

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜