开发者

Missing dependencies in Mootools' OverText?

开发者 https://www.devze.com 2023-03-19 10:06 出处:网络
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技巧defaul

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

精彩评论

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