CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper
页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column
中间内容:center导航导航:nav 导航:mainba...
分类:
Web程序 时间:
2014-05-27 01:32:59
阅读次数:
374
常用的CSS命名规则头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体佈局宽度:wrapper左右中:left
right center登录条:loginbar标志:logo广告:banner页面主体:main热...
分类:
Web程序 时间:
2014-05-27 01:25:49
阅读次数:
405
以下为代码示例:全局变量: List CategoryList =
PCS.DAL.EF.Repository.GetInstance().GetCategoryList(); List V_BTUser_Category =
PCS.DAL.EF.Repository.GetInstance()....
分类:
其他好文 时间:
2014-05-24 05:38:09
阅读次数:
303
Overview of How Filters WorkThis section
provides an overview of the following topics:How the Servlet Container Invokes
FiltersTypical Filter ActionsH...
分类:
其他好文 时间:
2014-05-19 23:10:22
阅读次数:
418
遇到的问题:当点击上面的logs时,会出现下面问题:这个解决方案为:By default,
Hadoop stores the logs of each container in the node where that container was
hosted. While this is irre...
分类:
其他好文 时间:
2014-05-19 10:33:13
阅读次数:
369
首先我描述一下问题:当我从一个view到另外一个view的时候?
解答:这个问题的解决还需要看setAnimationTransition:forView:cache: 官方Api,官方是这样说的:
1.Begin an animation block.
2.Set the transition on the container view.
3.Remove the subview fro...
分类:
其他好文 时间:
2014-05-18 10:44:03
阅读次数:
370
最近在学习jQuery,使用得是最新版本的1.11.1。照着书本敲了如下代码,却发现无论如何也跑不起来。
html
hello world
js
$(document).ready(function() {
$('.box').live('click', function() {
$(this).clone().appendTo('.container');
});
});
原...
分类:
Web程序 时间:
2014-05-18 08:56:21
阅读次数:
434
异常类型为:android.view.WindowManager$BadTokenException:
Unable to add window
我在fragment中public
View onCreateView(LayoutInflater
inflater, ViewGroup
container,Bundle
savedInstanceState) {中试图调用对话框静态工...
分类:
其他好文 时间:
2014-05-18 04:27:35
阅读次数:
240
【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:
其他好文 时间:
2014-05-16 01:32:47
阅读次数:
406
好奇心来源于下面的一段代码, 一个是unordered_map, 这是c++11新加的container. 另外还有unordered_set,
unordered_multimap, unordered_multiset.另外在for循环中, 可以使用下列形式:1 for (auto
&eleme...
分类:
编程语言 时间:
2014-05-15 12:03:28
阅读次数:
339