![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Private
文章平均质量分 56
alanhome2003
这个作者很懒,什么都没留下…
展开
-
Css 学习笔记
1. Overfllow效果,多余部分会用...来表示:.classname{text-overflow: ellipsis; white-space: nowrap;overflow:hidden;}-nowrap 所有内容在一行内显示-Ellipsis 表示多余部分不会被切除-Hidden 多余部分会被隐藏原创 2012-03-11 07:29:49 · 282 阅读 · 0 评论 -
Extdesk 项目前期准备(Mac)
1 安装 xampp,并且启动apache和 MySQL2 security for xampp 点击打开链接命令: sudo /Applications/XAMPP/xamppfiles/xampp security设置 密码 xxxx,localhost的用户名:xampp(默认),MySQL的用户名: root(默认)3 open MySQL of Xampp 并且创建原创 2012-05-30 19:01:53 · 429 阅读 · 0 评论 -
app.js 学习笔记
1. 用defaultUrl指定启动入口:Ext.regApplication({ name: 'App', defaultUrl: 'Home/index', launch: function(){ this.viewport = new App.views.Viewport();//we can use this instance in Controller by this.原创 2012-03-12 07:17:00 · 846 阅读 · 0 评论 -
Sencha Touch App (MVC)开发小结
1. 带图片的按钮:在button的配置项iconCls指定一个Css class,例如:.arrow-icon{background-image: ../images/arrow.png; background-repeat: norepeat; width: 97px !important; height: 48px; !important;}2. app.js 的结构原创 2012-03-11 07:29:47 · 2644 阅读 · 0 评论 -
CSS links
1 css selector转载 2012-03-21 00:25:01 · 298 阅读 · 0 评论 -
ToDo List März.12
7:SAP & Sencha Touch example go4itIdiomatic layouts with ST example go for itCss design: 显示位置 与 popup box 分开Css design: 其他 背景 颜色,明亮text 放大,旋转设为全屏update local files: TextCss.js,text.js,butt原创 2012-03-12 17:11:08 · 333 阅读 · 0 评论 -
TODO/Done List April 2012
4:SVG Editor SourceCodeRaphael Tutorial, exampleRaphael DocumentSVG Touch ProjectSVG Touch project erweitern原创 2012-04-04 18:00:27 · 386 阅读 · 0 评论 -
Form Demo 注解(ST1)
实例地址1. app.jsApp = new Ext.Application({ name:'App', launch: function(){ /* * here: App = this * App.views.viewport = new App.views.Viewport(); */ this.views.viewport = new翻译 2012-03-19 20:51:43 · 605 阅读 · 0 评论 -
JavaScript across domain 方法 学习笔记
1. go2. YQL ,YQL Console转载 2012-03-12 19:18:04 · 248 阅读 · 0 评论 -
Touch Raphael
CSS lerning site1. draw a circle with stroke:var paper = Raphael(10, 50, 320, 200);paper.circle(320, 240, 60).animate({fill: "#223fa3", stroke: "#000", "stroke-width": 80, "stroke-opacity转载 2012-03-27 20:50:38 · 511 阅读 · 0 评论 -
Model学习笔记
1. 通过regModel来注册一个新Model:Ext.regModel('NoteModel',{//use define instead of regModel in ST 2.0 idProperty: 'id',// default is also 'id' fields:[{ name: 'id', type: 'int' },{ name: 'date', type原创 2012-03-12 07:17:13 · 361 阅读 · 0 评论 -
Store类举例
1. 使用regStore来创建一个store,通过storeMgr给变量otesApp.stores.notesStore赋值:Ext.regStore('NotesStore',{ model:'NoteModel', sorters:[{ property: 'date', direction: 'DESC' }],//used only for read data pr原创 2012-03-12 07:17:10 · 468 阅读 · 0 评论 -
应用中主界面举例
1. 在initComponent中创建(自定义的)新类,并且添加到items中,初始化store,用于List显示数据:NotesApp.views.MainView = Ext.extend(Ext.Panel,{ fullscreen: true, layout: 'card',//used for tab and wizard implementations cardSwit原创 2012-03-12 07:17:07 · 328 阅读 · 0 评论 -
Controller 学习笔记
1. 四种调用controller中的函数:html link: About格式: #route">some linkExt.redirect('Home/index'), Ext.redirect是Ext.Dispatcher.redirect的简写,会自动添加这个Home/index 到历史栈,但是无法添加动画param,来显示新页面时的动画,但会自动添加historyUrlExt原创 2012-03-12 07:17:03 · 399 阅读 · 0 评论 -
Node.js + mongoose + mongodb 学习笔记
1. 安装 mongodb:a)下载 最新版 Mongodb下载tar xzf mongodb-osx-x86_64-2.2.0.tgz sudo mv mongodb-osx-x86_64-1.4.0 /usr/local/mongodbsudo chown -R root /usr/local/mongodb数据库默认位置在: /data/db, 可以通过 -dbpat原创 2012-10-25 22:02:08 · 2185 阅读 · 0 评论