开发者

Missing dependencies in Mootools' OverText?

http://jsfiddle.net/AB5LK/2/

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 开发者_JAVA技巧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?


perhaps you need to reconsider your 'slimming down':

this.getStyle is not a function
[Break On This Error] return(d&&d.returnPos)?c:this.setStyle...urn this.getStyle("display")!="none"; 

Removing Element.Style is just silly, unless you're using MooTools for server side js like node and have no DOM.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜