前言
JQuery EasyUI提供的组件包括功能强大的DataGrid,TreeGrid、面板、下拉组合等。用户可以组合使用这些组件,也可以单独使用其中一个。(使用的形式是以插件的方式提供的)
EasyUI体系结构
EasyUI所有的插件主要分为六大部分。Base基础、Layout布局、Menu&a...
分类:
其他好文 时间:
2014-06-03 04:21:57
阅读次数:
243
界面效果
应用的权限
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2014-06-03 00:45:02
阅读次数:
303
通常,我们要让某元素居中,会这样做:
#element{
margin:0 auto;
}
如果还想让此元素位置固定呢?一般我们会添加position:fixed,如下:
#element{
position:fixed;
margin:0 auto;
}
但是这样做的结果就是,元素不居中了。这说明fixed使对象脱离了正常文档流。
解决方案:
#ele...
分类:
Web程序 时间:
2014-06-02 23:00:57
阅读次数:
327
auto_ptr是C++标准库中()为了解决资源泄漏的问题提供的一个智能指针类模板(注意:这只是一种简单的智能指针)auto_ptr的实现原理其实就是RAII,在构造的时候获取资源,在析构的时候释放资源,并进行相关指针操作的重载,使用起来就像普通的指针。std::auto_ptr
pa(new Cl...
分类:
其他好文 时间:
2014-06-02 17:12:02
阅读次数:
210
/**
* @author gao
*/
package gao.org;
public class RunnableDemo implements Runnable{
@Override
public void run() {
// TODO Auto-generated method stub
for(int i=0;i<10;i++){
System.out.pri...
分类:
编程语言 时间:
2014-06-01 18:12:33
阅读次数:
441
Android UI Layouts: Graphics Design Using the ViewGroup Class Android ViewGroup Superclass: A Foundation for Layouts The ViewGroup LayoutParams Class: Layout Parameters Deprecated Layouts: AbsoluteL...
分类:
移动开发 时间:
2014-06-01 14:50:42
阅读次数:
397
自定义了CSS的样式,希望在页面中起作用。因为MVC中Views/Shared/_Layout.cshtml是所有试图的公共文件,如下:
@ViewBag.Title @RenderBody()通过这句话使用了一个外部层叠样式表文件,位置在"~/Content/Site....
分类:
Web程序 时间:
2014-06-01 12:13:36
阅读次数:
274
布局文件:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="...
分类:
移动开发 时间:
2014-06-01 04:04:04
阅读次数:
490
1.修改PagerTabStrip中的背景颜色我们在布局中直接设置background属性即可: <android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="fill_parent"
android:layout_height="fill_paren...
分类:
移动开发 时间:
2014-05-31 23:42:11
阅读次数:
624
1.垂直居中有时我们会使用margin: 0
auto;作居中使用。但有的时候我们需要垂直居中,例如在div里面垂直居中显示一张加载中的gif图。下面这种写法就可以完美实现:垂直居中的子容器 {
position: absolute; left: 0; right: 0; ...
分类:
Web程序 时间:
2014-05-31 20:15:24
阅读次数:
261