.closest( selector )
Description: For
each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tre...
分类:
Web程序 时间:
2014-05-07 15:07:34
阅读次数:
380
实现了我们事件的显示,通过一个按钮可以跳转到事件界面。明天的任务在事件的原有基础上,增加一个button按钮,实现事件的添加
分类:
其他好文 时间:
2014-05-07 13:59:09
阅读次数:
233
jquery提供了toggle方法 toggle()
方法切换元素的可见状态。如果被选元素可见,则隐藏这些元素,如果被选元素隐藏,则显示这些元素。语法$(selector).toggle(speed,callback,switch)下面的方法模拟了easyui
layout中center panel...
分类:
其他好文 时间:
2014-05-07 13:26:46
阅读次数:
315
本演示中,教会大家使用jQuery来判断Repeater控件,最少选择一行记录。在Repeater控件中,每行第一列放置一个CheckBox,然后在Repeater控件之外,放置一个Button按钮。点一点这个按钮,去判断Repeater控件的CheckBox是否有选中的。记得在Repeater控件...
分类:
其他好文 时间:
2014-05-07 12:45:41
阅读次数:
394
显示操作进度的对话框
1、使用上一篇创建的同一项目,在activity_main.xml文件中添加一个Button:
<Button
android:id="@+id/btn_dialog3"
android:layout_width="fill_parent"
android:layout_height="wrap_cont...
分类:
移动开发 时间:
2014-05-07 11:30:28
阅读次数:
434
function Sizzle( selector, context, results, seed )
{
var match,
elem, m, nodeType,
// QSA vars
i, groups, old, nid, newContext, newSelector;
...
分类:
Web程序 时间:
2014-05-07 05:27:07
阅读次数:
426
1、cocos2d-x加载cocostudio一定要用对应的版本,不然很是麻烦
1)、先说说coco2d-x3.0和cocostudio1.3.0.1UI
2)、先用cocostudio导出工程,这个没什么太多可说,美术的事情,不过要注意像button那样的,要选中交互。 3)、将导出的资源放入co...
分类:
其他好文 时间:
2014-05-07 01:58:01
阅读次数:
348
显示对话框窗口
1、创建Dialog1项目,在activity_main.xml文件中添加一个Button:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:l...
分类:
移动开发 时间:
2014-05-06 23:40:39
阅读次数:
551
如果selector无法实现点击切换图片的效果,你是否查看了xml文件的item标签中,把正常的图片标签放在最后?你是否把main.xml中的android:background="@drawable/item的xml文件名字”?详情请看。。。...
分类:
其他好文 时间:
2014-05-06 23:38:48
阅读次数:
382
不管你的项目是否用到了Swing技术,我都要说,Swing是一个设计优秀的Java包,它充满了大师的智慧。如果你学了Java却连一个Button还不会写,就象你学习Visual Basic却不会用Button,那可绝对是不能被原谅的。Swing技术的应用已经在国外大行其道,由于java的免费、易学以及大家对于java技术的充分信赖,好多公司早早的就把应用程序的一切,从后台服务到前台人机交互界面,统...