摘要: 为某个元素设置多个class,只要用空格分开就可以了,如:"mainDiv tb",定义了两个名称,"mainDiv"、“tb”<div class="mainDiv tb"></div> 阅读全文
posted @ 2013-02-18 14:36 Journey31 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <style type="text/css"> .Divspan { ba 阅读全文
posted @ 2013-02-04 18:01 Journey31 阅读(228) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <title>显示网页图标</title> <!--显示网页图标--> <link rel="shortcut icon" href="img/App.ico" /> </head></html>这样就可以显示网页图标了,关键性代码就是:<link rel="shortcut icon" href="img/App.ico" />href后面带图片路径 阅读全文
posted @ 2013-01-31 11:13 Journey31 阅读(196) 评论(0) 推荐(0) 编辑
摘要: http://ueditor.baidu.com/website/ipanel/panel.html 阅读全文
posted @ 2013-01-30 14:03 Journey31 阅读(149) 评论(0) 推荐(0) 编辑
摘要: document.selection.createRange()2009-12-25 14:07:35|分类:Technical|字号订阅最近看突然看到相关内容,准备收集一下跨浏览器的相关操作。设置选中的状态。functionSelectRange(obj,begin,end) { if(obj.createTextRange){ varrng=obj.createTextRange(); rng.moveStart("character",-0); rng.moveEnd("character",-0); rng.collapse(true); rng 阅读全文
posted @ 2013-01-30 13:55 Journey31 阅读(4339) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Script.Serialization; public class EmergencyJson { /// <summary> /// 部门 /// </summary> public string CreateUnit { get; set; } /// <summary> /// 部门编号 /// </summary> public string CreateDeptID { get; set; } /// ... 阅读全文
posted @ 2012-12-18 11:14 Journey31 阅读(4235) 评论(1) 推荐(0) 编辑