mootools文档
I'm going to share something with you that will blow your mind: I don't have the MooTools documentation memorized. I just don't. I visit the MooTools docs frequently to figure out the order of parameters of More classes and how best to use a specified method. I've created a MooTools documentation search favelet which allows you to highlight a method name, click the favelet, and get search results in a new window.
我将与您分享让您大吃一惊的东西:我没有记住MooTools文档。 我不知道 我经常访问MooTools文档,以了解More类的参数顺序以及如何最好地使用指定的方法。 我创建了一个MooTools文档搜索小工具,该工具可让您突出显示方法名称,单击小工具,并在新窗口中获取搜索结果。
javascript:(function()%7Bvar%20d=document,w=window,ds=d.getSelection,ws=w.getSelection,ss=d.selection,e=encodeURIComponent;t=(ws)%3Fws():(ds)%3Fds():(ss)%3Fss.createRange().text:'';t=(t.toString().length)%3Ft:prompt('Please select the code you would like to research.','');if(t)%7Ba='http://mootools.net/search/?search=1&query=';u=a+e(t);f=function()%7Bx=w.open(u,'nfx','scrollbars=1,toolbar=0,resizable=1,status=1,width=800,height=600');if(!x)w.location.href=u;%7D;if(/Firefox/.test(navigator.userAgent))setTimeout(f,0);else%20f();%7D%7D)();
Don't worry about the mess of code...it works!
不用担心代码混乱……它起作用了!
All you need to do is drag the favelet to your bookmarks/favorites toolbar and you can use it on any website! Check out the demo to test it out.
您需要做的就是将小工具拖到书签/收藏夹工具栏上,您可以在任何网站上使用它! 查看演示进行测试。
mootools文档