$.kw = { title : "System information", //默认标题 可修改 speed : 400, //默认速度 可修改 buttonName : "确定", //确定按钮默认名称 可修改 content : "Co...
分类:
移动开发 时间:
2014-08-08 20:46:16
阅读次数:
213
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CSS滑动门圆角</title> <style type="text/css"> .huadong{ width:500px; border:1px solid #ccc; ?line-height:50px; padding-top:20px;} .huado...
分类:
Web程序 时间:
2014-08-08 16:38:36
阅读次数:
253
代码如下: <html?xmlns="
http://www.w3.org/1999/xhtml
">
<head?runat="server">
????<title>窗口大小</title>
</head>
<body?onload="findDimensions();">
<h2?align="center">请调整浏览器窗口...
分类:
其他好文 时间:
2014-08-08 16:37:16
阅读次数:
243
1、写两个div,在上面div有 margin-bottom 的情况下效果是这样: <!DOCTYPE?html>
<html>
<head>
????<meta?charset="?utf-8">
????<title>margin?重叠现象</title>
????<style?type="text/css"...
分类:
其他好文 时间:
2014-08-08 16:36:36
阅读次数:
250
在Express框架下,使用ejs模板引擎:支持默认的layout布局需要express-partials模块;使用include代替partials;片段视图显示方式也与3.x版不同,采用如下方式:routers/index.js添加:router.get(‘/list‘,function(req,res){
res.render(‘list‘,{
layout:false,
title:‘Express..
分类:
Web程序 时间:
2014-08-08 16:33:19
阅读次数:
312
app-framework的popup方法很好用,也很方便
下面使用法
$.ui.popup(
{
title:"这里是title",
message:"主题信息",
cancelText:"关闭",
cancelCallback:
function(){
//自己写的function可以在这里调用
...
分类:
移动开发 时间:
2014-08-08 16:08:06
阅读次数:
297
1 @{ 2 ViewBag.Title = "Index"; 3 } 4 5 14 15 16 19 获取selected的数据
分类:
Web程序 时间:
2014-08-08 15:38:56
阅读次数:
254
1、padding的作用主要是控制边框与内容的距离,即内边距。 2、比如,我写一首唐诗: <!DOCTYPE?html>
<html>
<head>
????<meta?charset="UTF-8">
????<title>padding?detail</title>
????<style?...
分类:
Web程序 时间:
2014-08-08 13:02:56
阅读次数:
295
这个错误原因一般都是多了个逗号括号什么的,IE检车的比较严格。
解决办法就是小心不要写多余的逗号括号什么的,或者不用IE(...)
报错代码如下:
$("#postForm").validate({
rules : {
title : "required",
content : {
required : true,//就因为这里多了一个...
分类:
Web程序 时间:
2014-08-08 12:38:55
阅读次数:
463
1.Using the cross-entropy method to re-rank search results下载:http://iew3.technion.ac.il/~kurland/crossEnt.pdf
分类:
其他好文 时间:
2014-08-08 12:36:55
阅读次数:
172