Jz.u8see.com
dreamweaver cs5.5自带的jquery mobile是1.0a3,jquey是1.5的。目前jquery mobile已经升级到1.0rc1,jquery已经升级到1.6.4。下面的步骤是如何升级jquery。
1. 下载jquery和jquery mobile;http://jquerymobile.com/download/
http://code.jquery.com/mobile/1.0rc1/jquery.mobile-1.0rc1.zip
http://code.jquery.com/jquery-1.6.4.min.js
2. 解压缩jquery.mobile-1.0rc1.zip;我们需要里面的一个文件夹和两个文件:
images
jquery.mobile-1.0rc1.min.css
jquery.mobile-1.0rc1.min.js
3.将jquery-1.6.4.min.js也放到一起。最终的文件夹应该是这样的:
4.将这些文件(夹)复制并覆盖到(根据你安装目录有所不同)
D:\soft\Adobe\Adobe Dreamweaver CS5.5\zh_CN\Configuration\Third Party Source Code\jquery.mobile
D:\soft\Adobe\Adobe Dreamweaver CS5.5\configuration\Third Party Source Code\jquery.mobile
5. 修改示例页
在此文件夹下有3个html需要修改:
D:\soft\Adobe\Adobe Dreamweaver CS5.5\zh_CN\Configuration\BuiltIn\Mobile Starters
D:\soft\Adobe\Adobe Dreamweaver CS5.5\Configuration\BuiltIn\Mobile Starters
6. 将里面的1.0a3全部修改成1.0rc1,1.5修改成1.6.4;
7. 好了,大功告成。
你还没有登录,请