演示:http://jsfiddle.net/Adce2/
主要思路:
1, 首先画出侧边栏的html。
2, 利用css3属性分别为close sidebar-content添加显示和隐藏的动画。
3, 利用css3的keyframes来定义动画的样式。...
分类:
Web程序 时间:
2014-06-05 10:05:44
阅读次数:
466
一、Activity的使用:package com.example.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import androi...
分类:
移动开发 时间:
2014-06-05 09:36:01
阅读次数:
276
DFC - Documentum Foundation Classes
位于Content server和client 之间。 用来做服务端业务逻辑和客制。
BOF- Business Object Framework.
模组。 最重要的两个模组是
1. TBOs --type based objects
2. SBOs-- service based objects
3. Aspec...
分类:
其他好文 时间:
2014-06-05 09:09:06
阅读次数:
264
iOS—修改AFNetworking源文件可接收text/plain的方法
在使用AFNetworking的时候可能会碰到下面的错误:
{ status code: 200, headers {
"Content-Length" = 14;
"Content-Type" = "text/plain;charset=utf-8";
Date = "Thu, 2...
分类:
移动开发 时间:
2014-06-05 06:05:34
阅读次数:
265
很多时候,应用程序或者是游戏需要用上暂停功能,unity提供了不少便捷的方式,列在下面:
1、在editor中,按下pause按钮即可暂停
2、如果在代码中控制,可以通过设置Time.timeScale = 0来实现暂停。
3、如果你通过Time.timeScale = 0设置了暂停,但是你在某些地方还需要有动画之类的,那么可以在实现动画的地方用上Time.realtimeSince...
分类:
其他好文 时间:
2014-06-05 04:33:36
阅读次数:
210
NameNumericDescriptionHexISO in CSS
contentOctal no-break space%A0p:before { content:"\00a0";
}alert("\240");¡?¡inverted exclamation m...
分类:
Web程序 时间:
2014-05-31 11:26:22
阅读次数:
881
1、提示符助手快捷键alt+/你可以自定义 window->keys->Content
assist->Binding2、复制当前行alt+ctrl+下3、删除ctrl+D4、加注释块注释 shift+ctrl+\取消块注释
shift+ctrl+/行ctrl+/
分类:
其他好文 时间:
2014-05-31 06:49:27
阅读次数:
195
提升软件性能,通常喜欢去调整各种启动参数,这没有多大意义,小伎俩。
性能优化要从架构和策略入手,才有可能得到较大的收益Solr的查询是基于Field的,以Field为基本单元,例如一个文章站要索引classArticle{
String title; String content; String t...
分类:
其他好文 时间:
2014-05-31 06:15:39
阅读次数:
226
post请求 url后面加参数 接收不到的,必须 放到send("use"=user)形式还要加上
xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");servlet
1 package cn.itcast...
分类:
Web程序 时间:
2014-05-31 05:51:04
阅读次数:
418
1 header("Content-type:
application/vnd.ms-excel"); 2 header("Content-disposition: attachment;
filename=$EXPORT_TIME.xls"); 3 ...
分类:
其他好文 时间:
2014-05-31 03:30:28
阅读次数:
258