Mootools 中缺少依赖项过度文本?
对于我的生活,我不能在上面的例子中让 OverText 工作。我覆盖了 JSFiddle Mootools 库(因为它们默认包含所有内容!)并插入了我在网站上使用的库,并确定这些库是导致问题的库。
我使用精简版 MooTools 库。
看起来好像当我在“更多构建器”中选择 OverText 时,我的库中仍然缺少一些内容,导致 overtext 仅成为标签,而不是正确的 overtext。
如果没有反复试验,有人知道我缺少哪个功能可以将输入框右侧标签的过度文本转换为正确的过度文本吗?
For the life of me, I can't get OverText working in the above example. I overrode the JSFiddle Mootools libraries (since they contain everything by default!) and inserted the ones I am using on my website, and have determined that the libraries are the ones causing the problems.
I use a slimmed-down MooTools library.
It looks as though while I selected OverText in the "More builder", there is still something missing in my libraries that causes the overtext to only become a label, and not a proper overtext.
Short of trial-and-error, does someone know which feature I am missing that will turn this overtext from a label on the right of the input box, to a proper OverText?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许你需要重新考虑你的“瘦身”:
删除 Element.Style 只是愚蠢的,除非你使用 MooTools 作为服务器端 js(如 Node)并且没有 DOM。
perhaps you need to reconsider your 'slimming down':
Removing Element.Style is just silly, unless you're using MooTools for server side js like node and have no DOM.