摘要: function init(){ if( document.body.scrollWidth > (window.screen.availWidth-100) ){ window.dialogWidth = (window.screen.availWidth-100).toString() + "px" } else{ window.dialogWidth = (document.body.scrollWidth +10).toString() + "px" } if( document.body.scrollHeight > (window 阅读全文
posted @ 2012-08-22 17:46 NeverGiveUp_ZONE 阅读(5896) 评论(0) 推荐(0) 编辑
摘要: Imgareaselect 是一个 允许用户使用简单、直观的点击、拖动界面图像选择矩形区域的jQuery插件。该插件可用于 web 应用程序中轻松实现图像裁剪功能,以及其他功能,如照片标记、 图像编辑功能,等等.支持浏览器: Firefox 2+, Opera 9.5+, Google Chrome, Safari 3+, and Internet Explorer 6+.一、加载<head> ... <linkrel="stylesheet"type="text/css"href="css/imgareaselect-def 阅读全文
posted @ 2012-08-22 17:39 NeverGiveUp_ZONE 阅读(5661) 评论(0) 推荐(0) 编辑
摘要: window.showModalDialog的用法基本介绍: showModalDialog() (IE 4+ 支持) showModelessDialog() (IE 5+ 支持) window.showModalDialog()方法用来创建一个显示HTML内容的模态对话框。 window.showModelessDialog()方法用来创建一个显示HTML内容的非模态对话框。使用方法: var diaURL = _gModuleName+"/selfcare/cms/ImagePreview.jsp"; var features = "scroll:yes;r 阅读全文
posted @ 2012-08-22 16:55 NeverGiveUp_ZONE 阅读(281) 评论(0) 推荐(0) 编辑