摘要: 图片上传预览是一种在图片上传之前对图片进行本地预览的技术。使用户选择图片后能立即查看图片,而不需上传服务器,提高用户体验。但随着浏览器安全性的提高,要实现图片上传预览也越来越困难。不过群众的智慧是无限的,网上已经有很多变通或先进的方法来实现。例如ie7/ie8的滤镜预览法,firefox 3的getAsDataURL方法。但在opera、safari和chrome还是没有办法实现本地预览,只能通过后台来支持预览。在研究了各种预览方法后,作为总结,写了这个程序,跟大家一起分享。兼容:ie6/7/8, firefox 3.5.5后台支持下还兼容:opera 10.10, safari 4.0.4, 阅读全文
posted @ 2011-07-21 10:17 jake2011 阅读(3349) 评论(1) 推荐(0) 编辑
摘要: 如下利用 Google Map Api ------ 简单实现地图网站应用。(仅参考) 实现目标:1.在地图中进行地点标注2.选择标注时,出现相关信息3.点击页面上的测试按钮,显示相关的地点标注信息Html Code:<body><h1>GoogleMap</h1><divid="Googlemap"style="width:70%;height:480px;float:left;border:1pxsolidblack;"></div><inputtype="button&qu 阅读全文
posted @ 2011-07-21 10:14 jake2011 阅读(699) 评论(0) 推荐(0) 编辑
摘要: Windows Server 2008 R2下安装 sqlServer2008报错 [你必须用角色管理工具安装.net framework3.0]解决办法:服务器管理->功能->添加功能->钩上.netFramework3.0即可。 阅读全文
posted @ 2011-07-21 10:13 jake2011 阅读(319) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Net;usingSystem.IO;namespaceYourNameSpace{///<summary>///aclassforlatitudeandlongtitude///</summary>[Serializable]publicclassGeo{///<summary>///latitude///</summary>privatestring_latitude="";// 阅读全文
posted @ 2011-07-21 10:12 jake2011 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 现象: Windows Server 2008自动更新以后,重新启动系统时,会显示进入第三阶段更新,每次到了99%后(或者,有时会进一步显示“等待Windows Modules Installer...”),就再次重新启动,然后不断自动重复这个过程。即使选择进入安全模式,也是如此。 由于无法登录进入操作系统,就无法卸载更新或者系统恢复(除非使用一键Ghost)。 原因: 经过多次重装Windows Server 2008后测试,发现是“Windows Server 2008平台更新程序(KB971644)”引起。解决方法:注意:1、以下所列方法,不是根本性的解决方法,只是作者经过网上搜索,添加 阅读全文
posted @ 2011-07-21 10:11 jake2011 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: sqlserver2008安装报错 “Previous releases of Microsoft Visual Studio 2008″ failed.<Date: 2010-04-27> <Author: medcl> <Category: .NET, SQL Server> 查看评论“Previous releases of Microsoft Visual Studio 2008″ failed.问题原因,vs2008未安装sp1解决办法:1.去掉下面3个安装组件Management ToolsIntegration Services Busines 阅读全文
posted @ 2011-07-21 10:09 jake2011 阅读(482) 评论(0) 推荐(0) 编辑