定位浮动小部件? [英] Position the floating widget?

查看:88
本文介绍了定位浮动小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在每个页面上找到Bing翻译小部件到我的网站,以及"翻译"。按钮出现在我定位的位置我也有一个"浮动"按钮按钮出现在页面上不方便的位置。是否有任何
的方式让它消失或将它放在我想要的位置?

Having installed the Bing translator widget to my site I find on each page, as well as the "Translate" button appearing where I position it I also have a "floating" button which appears in an inconvenient spot on the page. Is there any way to either make it disappear or have it positioned where I want it?

谢谢,

John Morrad。

John Morrad.

推荐答案

我将翻译代码单独放在一个140像素的右侧面板中。它拥有永久性Translate块(我将它放在面板内部,从顶部向下分解)并且浮动块同样保持在面板内部,其中一部分延伸到右边的
边缘,并且它在滚动时上下移动与翻译文本一起。对于用户来说非常方便,因为它不会覆盖任何文本,只需将鼠标悬停在浮动的左侧即可看到原始文本。不幸的是,我知道无法修复
位于主面板内的浮动装置的位置,尽管可以将其固定在某种容器内。然而,这会破坏浮子的目的,无论读者可能在哪里,都可以作为显示原件的标记。
I put the translate code alone in a 140 px right-hand panel. It holds the permanent Translate block (I centered it inside the panel one break down from the top) and the floating block likewise stays inside the panel with a part extending into the right margin, and it moves up and down on scroll alongside the translated text. Very convenient for users as it covers no text yet by hovering their mouse to the left of the floater they can see the original. Unfortunately, I know of no way to fix the location of the floater inside the main panel though it may be possible to anchor it inside some kind of container. However, that would defeat the floater's purpose to serve as marker for displaying the original wherever the reader might be.


这篇关于定位浮动小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆