上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: 1 避免点击块状显示标签时,产生误操作 如<div><h1>之类的标签,客户端浏览器会自动给block属性,本来点击h1包住的标题才会触发动作,在点击标题外但仍处在h1横条范围内的地方,也会触发。像这种情况,给<div><h1>等再加一个<span>就可以解决。2 让元素保持在一行 在某些元素后面再加上其他的不同格式的内容,但不想它到下一行,只能用<span>嵌套。 阅读全文
posted @ 2011-02-15 09:32 因是因非 阅读(482) 评论(0) 推荐(0) 编辑
摘要: JS代码:注:escape()避免了后台获得前台页面值的乱码问题。 阅读全文
posted @ 2011-02-11 11:14 因是因非 阅读(189) 评论(0) 推荐(0) 编辑
摘要: HTML页面:JS代码: 阅读全文
posted @ 2011-02-11 11:06 因是因非 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 在使用了updatepanel来响应dropdownlist的变化时,报错sys.webforms.pagerequestmanagerservererrorexception回发或回调参数无效解决方法:在@page里加入EnableEventValidation="false" 阅读全文
posted @ 2011-01-30 00:00 因是因非 阅读(1757) 评论(0) 推荐(0) 编辑
摘要: function SaveMap() { var param = new Object(); param = map.GetMapParam(); var pixelRect = map.GetSize(); param.SetPixelRect(pixelRect); map.GetMapImage(param, onSaveMapComplete, onSaveMapError);}function onSaveMapComplete(url) { if (url != null && url.length 0) { window.open(url, '地图保存', 'menubar= 阅读全文
posted @ 2011-01-29 23:58 因是因非 阅读(184) 评论(0) 推荐(0) 编辑
摘要: function toggle(targetid){ var target = document.getElementById(targetid); if (target.style.display == "block") { target.style.display = "none"; } else { target.style.display = "block"; }} 阅读全文
posted @ 2011-01-29 23:56 因是因非 阅读(1521) 评论(0) 推荐(0) 编辑
摘要: function OnPageLoad() {...map.AttachEvent("oninit", MapInit());map.Init();}function MapInit() {//在任务栏显示地理坐标ShowMapCoord();}function ShowMapCoord() { var action = new ShowMapCoordAction(); map.SetAction(action);}function ShowMapCoordAction() { this.type = "SuperMap.IS.MapCoordAction"; this.Init = fun 阅读全文
posted @ 2011-01-29 23:52 因是因非 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1 在主页面中控制子页面的切换在主页面中的代码以及DOMscript type="text/javascript"function changeUrl(url) { document.getElementById("ifra_operation").src = url; }/scriptdiv id="div_operation" iframe id="ifra_operation" src="A.aspx" runat="server"/iframe/divinput id="submit" onclick="changeUrl('B.aspx')"/2 在子页面 阅读全文
posted @ 2011-01-29 23:43 因是因非 阅读(766) 评论(0) 推荐(0) 编辑
摘要: NOKIA PC套件显示红外连接出现问题而导致连接不上的解决方案 阅读全文
posted @ 2011-01-19 13:24 因是因非 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Geomedia数据库导成shapefile格式,字段名会被截断,shapefile规定字段名称长度小于10个英文字符解决办法:将shapefile导入到supermap后,新建字段,并把原来的内容复制过来投影转换:中国地区做了高斯克吕格投影后,有些台站显示不出来,但是属性表里面还有属性值原因:由于投影的关系,经纬度为(0,0)的点和承影面不相交,因此不显示用超图软件直接导入shapefile将在数据库里面系统自定义生成表名修改表名的方法:1. 修改smregister表,将smtablename改为自己想命名的表名2. 修改数据库中实际表的表名为刚才所改的smtablename3. 修改序列 阅读全文
posted @ 2011-01-06 19:55 因是因非 阅读(2083) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页