开发者

How do I provide an HTML embedded code for my web page?

I have开发者_运维技巧 a web page that I would like others to add onto their own web page. I know I can do this by providing an IFrame code, but is there a better way, such as providing a Javascript to embed? The IFrame has ugly scrollbars that do not make the embed so seamless. Can anyone help with this?


You can use Javascript, but it requires some special finessing with the document domain to handle cross-site scripting issues.

With CSS, it's possible to change how the iframe appears regarding scroll bars.

When we hosted a secured login control, we used a combination of an iframe and javascript with CSS to prevent scroll bars.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜