自已的主题添加一点效果相信是每个博主都想做的事,这里教一个很简单的利用jquery
做一当鼠标移动标题上会移动的效果。
让aptana3 支持jquery
aptana是一个非常不错的前端开发工具,现在的版本的以经到3.0了,
就目前来看貌似还没有灰常好的支持jquery的提示,我们下载了
最新版本后用以前的安装方式
Command -> Bundle Development ->Install Bundle->jquery方式
来安装后有这样的提示
This Terminal Emulator is not functional because no ‘bash’ shell could be found.
Please correct the problem and restart the IDE
暂不知是什么原因。
只求其他办法,找之,官方有另一说明
http://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries#UsingJavaScriptLibraries-Viewingcodeassist%28usingjQueryasanexample%29
总结一下就是这三步:
1.先下载此文件(右击另存为) jquery.1.4.2.sdocml
2.下载juqery库文件jquery-1.5.0-vsdoc.js,这个最好用他给的库文件,从jquery官方下的不一定能有提示,具体其他还支持的库请看这里http://wiki.appcelerator.org/display/tis/JavaScript+Library+Support
3.按照官方的步骤,新建一个工程,加入上述文件,提示就出来了吧~~(点击可查看大图)
