var h=$(window).height(); $(window).resize(function() { if($(window).height()<h){ $('.dbbtn').hide(); } if($(window).height()>=h){ $('.dbbtn').show(); ...
分类:
移动开发 时间:
2018-06-14 11:19:32
阅读次数:
197
一:UI设计1,Dialog(对话框)1-1:新建dialog_bay.xml,方法:右击“layout”->new->XML->LayoutXMLFile,如下图1-2:ui当中的重要的控件①,(RadioGroup)rg_type:单选按钮组①-1:(RadioButton)rb_zfb:支付宝①-2:(RadioButton)rb_wx:微信②,(Button)btn_ok
分类:
移动开发 时间:
2018-06-14 01:21:19
阅读次数:
275
1 //Javascript 2 window.onload=function () 3 { 4 var oBtn=document.getElementById('btn1'); 5 6 oBtn.onclick=function () 7 { 8 alert('a'); 9 }; 10 }; 1... ...
分类:
Web程序 时间:
2018-06-13 19:41:35
阅读次数:
203
原题网址:https://www.lintcode.com/problem/invert-binary-tree/description 描述 翻转一棵二叉树 描述 描述 翻转一棵二叉树 翻转一棵二叉树 翻转一棵二叉树 您在真实的面试中是否遇到过这个题? 是 样例 1 1 / \ / \ 2 3 = ...
分类:
其他好文 时间:
2018-06-12 22:28:45
阅读次数:
201
定义音乐按钮 <div id="music-btn" class="o-play" style="width: 24px; height: 24px; display: block; position: absolute; top: 12px; right: 12px; z-index: 9999; ...
分类:
移动开发 时间:
2018-06-12 16:13:12
阅读次数:
212
views.py index.html <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .btn{ display: inline-block; padding: 5p ...
分类:
Web程序 时间:
2018-06-10 20:10:54
阅读次数:
268
DOM与JQ对象之间的转换 班长:你好帅哟! ...
分类:
Web程序 时间:
2018-06-10 12:04:45
阅读次数:
196
匿名函数的使用 createTextnode 创建文本 createElement 创建元素 appendChild 将文本或元素追加 ...
分类:
编程语言 时间:
2018-06-09 23:19:47
阅读次数:
224
OnCtlColor 有以下几个宏定义 #define CTLCOLOR_MSGBOX 0 #define CTLCOLOR_EDIT 1 #define CTLCOLOR_LISTBOX 2 //编辑下拉列表颜色#define CTLCOLOR_BTN 3 //编辑按钮颜色#define CTLC ...
分类:
编程语言 时间:
2018-06-09 13:13:05
阅读次数:
618