码迷,mamicode.com
首页 >  
搜索关键字:hide    ( 2565个结果
html5+js实现图片预览
在上传图片时,经常需要预览图片。 本用例使用html5+js实现上传图片的本地预览。鼠标移至预览图片可以显示大图。 代码: My JSP '01.jsp' starting page $(function(){ var la = $("#large"); la.hide(); /* 鼠标移至预览图...
分类:Web程序   时间:2015-06-23 17:55:05    阅读次数:134
[LeetCode] Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Hide TagsLinked ListTwo Pointers分析:经典的快慢指针...
分类:其他好文   时间:2015-06-23 17:44:18    阅读次数:99
Android 软键盘
一些重要常量含义:HIDE_IMPLICIT_ONLY 常量值: 1 (0x00000001) hideSoftInputFromWindow(IBinder, int)中的标志,表示如果用户未显式地显示软键盘窗口,则隐藏窗口。HIDE_NOT_ALWAYS 常量值: 2 (0x0000000...
分类:移动开发   时间:2015-06-23 17:19:51    阅读次数:378
show,hide与fadeIn、fadeOu的区别
show,hide——>是通过改变height,width,opacity来实现动画的显示与隐藏的fadeIn、fadeOut——>只通过opacity来实现动画的显示与隐藏的它们两个在动画显示与隐藏完后都会设置disply:none或displya:block。
分类:其他好文   时间:2015-06-23 11:51:26    阅读次数:189
博客园文档保存为pdf适合手机kindle阅读
首先使用chrome浏览器,找到相关页面 F12打开命令窗口输入:var el=$('.post'); $("*").not(el.find('*')).hide(); el.parents().andSelf().css({width:480,padding:0,margin:0,bord...
分类:移动开发   时间:2015-06-21 11:47:55    阅读次数:139
jQuery开发之动画一
1,show()方法和hide()方法 (1),show()方法和hide()方法的基本操作 使用如下代码隐藏element元素$("element").hide();这段代码与css()方法设置display属性效果相同$("element").css("display","none");当把元素隐藏后,可以使用show()方法将元素的display样式设置为“block”,“inline”...
分类:Web程序   时间:2015-06-19 15:19:29    阅读次数:161
tabbarcontroller 内嵌导航 控制器,2层push hide tabbar 后 ,第二层直接返回根视图控制器选择tabbarcontroller的其它vc 无法显示 tabbar的 问题解决方案
场景如标题这样不行:[self.navigationController popToRootViewControllerAnimated:YES];MainViewController *mainCtrl = [(AppDelegate *)[UIApplication sharedApplicat...
分类:其他好文   时间:2015-06-19 15:10:24    阅读次数:150
【kd-tree】bzoj1941 [Sdoi2010]Hide and Seek
枚举每个点,计算离他最近的和最远的点。#include#include#includeusing namespace std;#define N 500001#define INF 2147483647#define KD 2//ά¶ÈÊýint qp[KD],disn,disx;int n,ro...
分类:其他好文   时间:2015-06-18 23:37:55    阅读次数:209
13 Roman to Integer
13 Roman to Integer链接:https://leetcode.com/problems/roman-to-integer/ 问题描述: Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.Hide Tags Math St...
分类:其他好文   时间:2015-06-18 09:47:10    阅读次数:167
12 Integer to Roman
12 Integer to Roman链接:https://leetcode.com/problems/integer-to-roman/ 问题描述: Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.Hide Tags Math St...
分类:其他好文   时间:2015-06-18 09:45:27    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!