我尝试将此帖子发布到timeline.js Google小组,但它已被删除。
我在插件网站( http://timeline.verite.co )的外部iFrame和我们的测试网站上看到了滚动条。
将iframe嵌入我们的网站时,我尝试添加:
<iframe scrolling="no" style="overflow:visible;"但是当滚动条消失时,右边缘会略微被切断。
此外,建议的嵌入代码具有width =“100%”。
如果我把这减少到95% iframe比包含div小得多 但是右边缘仍然会被轻微切断 我们在Mac上的Firefox,Chrome和Safari中看到了这一点 我们还在timeline.js网站上的预览中看到了滚动条我确定我错过了一些简单的东西,但在timeline.js网站或Google群组中看不到任何内容 - 除了一些“你做错了”对其他帖子的评论。
有没有删除iFrames中滚动条的技巧? 对不起,如果这很简单。
干杯
本
I tried posting this to the timeline.js Google group but it got deleted.
I'm seeing scrollbars on the outer iFrame on the plugin's website (http://timeline.verite.co) and on our test site.
When embedding the iframe into our site I tried adding:
<iframe scrolling="no" style="overflow:visible;"But while the scrollbars disappear, the right edge gets cut off slightly.
Also, the suggested embed code has width="100%".
If I reduce this to 95% The iframe is much smaller than the containing div but the right edge still gets cut off slightly We see this in Firefox, Chrome and Safari on Mac We also see the scrollbars in our preview on the timeline.js websiteI'm sure I'm missing something simple but can't see anything on the timeline.js site or in the Google Group - except a few "you're doing it wrong" comments for other posts.
Is there a trick to removing scrollbars in iFrames? Sorry if this is simple.
Cheers
Ben
最满意答案
在iframe中添加宽度,高度和frameborder,如下所示
width='100%' height='700' frameborder='0'试试这个,我想现在它的确有效
<iframe src='embed.verite.co/timeline/?source=0Aj2TitNEGaD2dHlqV3ZRcDhMYlY3MjZmUEt2aWQ0ckE&font=Bevan-PotanoSans&maptype=toner&lang=en' width='100%' height='100%' frameborder='0'></iframe>Add width, height and frameborder in your iframe as shown below
width='100%' height='700' frameborder='0'Try this, i think now it's works
<iframe src='embed.verite.co/timeline/?source=0Aj2TitNEGaD2dHlqV3ZRcDhMYlY3MjZmUEt2aWQ0ckE&font=Bevan-PotanoSans&maptype=toner&lang=en' width='100%' height='100%' frameborder='0'></iframe>更多推荐
发布评论