$("<link>").attr({ rel: "stylesheet",type: "text/css",href: "site.css"}).appendTo("head"); 一个完整的实例: <html> <head> <script type="text/javascript" src=" ...
分类:
Web程序 时间:
2016-11-10 02:21:59
阅读次数:
311
1.javascript实现的简单运算器 <HTML><HEAD><script type="text/javascript">function cal(){ var opt=document.getElementById("opt").value; var num1=document.getEle ...
分类:
编程语言 时间:
2016-11-10 02:20:28
阅读次数:
236
Description Gappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Si ...
分类:
其他好文 时间:
2016-11-10 02:14:29
阅读次数:
253
unsigned/signed,同类型宽度都是一样,short占2字节共16个位,无符号可以完全利用这16个位来表示数字,就有2^16=65536中可能,可以表示0~65535,而有符号类型要用到最高位表示符号,2^15 = 32768,所以能表示-32768~32767,为了不出现两个0的情况,+ ...
分类:
编程语言 时间:
2016-11-10 02:12:50
阅读次数:
244
1.配置 vim /etc/mail.rc 文件尾增加以下内容 set from=1968089885@qq.com smtp="smtp.qq.com"set smtp-auth-user="1968089885@qq.com" smtp-auth-password="123456"set smt... ...
分类:
系统相关 时间:
2016-11-10 01:50:30
阅读次数:
649
题目: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 思路:比 ...
分类:
其他好文 时间:
2016-11-10 01:46:11
阅读次数:
220
Winform201611041、常用控件 Label 标签 lblXXX Name TextTextBox 文本框 txtXXX Name Text PasswordChar MultiLine Button 按钮 btnXXX Name Text MenuStrip:菜单 ToolStrip:工 ...
【1】重写listViewimportjava.text.SimpleDateFormat;
importjava.util.Date;
importandroid.content.Context;
importandroid.util.AttributeSet;
importandroid.util.Log;
importandroid.view.MotionEvent;
importandroid.view.View;
importandroid.view.ViewGroup;
importand..
分类:
移动开发 时间:
2016-11-09 23:33:55
阅读次数:
316
今天了解了写代码的基本格式,列表,编写了一个导航栏。笔记:格式很重要,备份很重要。css注释为/*注释*/列表:有序列表,用<ol></ol>表示无序列表,用<ul></ul>表示自定义列表list-style:none用来去出列表前面的符号text-align用来居中文本marg不能居..
分类:
其他好文 时间:
2016-11-09 23:25:04
阅读次数:
194