string json1 = @"{ ""publicaccount"": { ""id"": ""1"", ""name"": ""abc"" }, ""roo...
分类:
Web程序 时间:
2014-07-17 21:24:44
阅读次数:
262
方式一:$.ajax({ type : "post", url : "user/add", data : data, async : false, //必须为false success : functi...
分类:
其他好文 时间:
2014-07-17 21:24:20
阅读次数:
273
ie 下的event.srcElement从字面上可以看出来有以下关键字:事件.源(它的意思就是:当前事件的源),我们可以调用他的各种属性就像:document.getElementById("")这样的功能, event.srcElement 可以捕获当前事件作用的对象,如event.srcEle...
分类:
其他好文 时间:
2014-07-17 21:23:50
阅读次数:
172
table {overflow-y:scroll;max-height:152px; height:auto;}问题:ie下,火狐下能正常出现滚动条谷歌不能出现滚动条解决:第1种:头部 120 ? "120px" : (this.scrollHeight < 40 ? "40px" : "auto"...
分类:
其他好文 时间:
2014-07-17 21:22:51
阅读次数:
164
1)问题上述:在技术交流群里,有人提到头一行编译不过去,%%%-------------------------------------------------------------------%%% @author someone%%% @copyright (C) 2014, %%% @doc...
分类:
其他好文 时间:
2014-07-17 21:22:18
阅读次数:
279
UVA 11346 - Probability
题目链接
题意:给定a,b,s要求在[-a,a]选定x,在[-b,b]选定y,使得(0, 0)和(x, y)组成的矩形面积大于s,求概率
思路:这样其实就是求xy > s的概率,那么画出图形,只要求y = s / x的原函数, y = slnx,带入两点相减就能求出面积,面积比去总面积就是概率
代码:
#include ...
分类:
其他好文 时间:
2014-07-17 21:15:07
阅读次数:
241
百度在线手写板代码-php自学网
#sx{color:#00C;text-decoration:underline;cursor:pointer;}
手写
var w = window,d = document,n = navigator,k = d.f.wd
if (w.attachEvent) {
w.attachEve...
分类:
其他好文 时间:
2014-07-17 19:02:52
阅读次数:
635
看到ASP.NET vNext要支持Linux后,终于按捺不住折腾的心,决定先架个环境出来,只是实在没想到,因为相对熟悉点才选择的Ubuntu 14.04,会让过程会如此坎坷,有时呆看着屏幕上提示的种种error,真有点别人碰到的错都被我碰到了的荣幸,所以目标达成后,回头将这些错误回顾一遍,记录.....
分类:
其他好文 时间:
2014-07-17 19:01:50
阅读次数:
278
一、类DynamicRTSPServer作用 1,提供RTSP服务二、类DynamicRTSPServer继承关系图
分类:
其他好文 时间:
2014-07-17 19:01:01
阅读次数:
264
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
分类:
其他好文 时间:
2014-07-17 19:00:10
阅读次数:
183