定制网站中上传图片然后调整图片大小功能是如何做的呢? 在做个性商品定制的时候 对上传的图片进行拖拉 调整大小 这个功能怎么做的呢 不使用flash 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 有类是功能的active插件吗 我用了效果都不太好 用dw可以,<area shape="rect" coords="539,6,650,107" href="#" onmouseup="MM_openBrWindow('images/**.jpg','','resizable=yes,width=500,height=412')" />将它设置为热点,再勾选手动缩放大小,上传时就可以自动设置大小 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>MS_resizeDiv.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <script> document.execCommand("2D-position", false, true); function get(s) { document.getElementById("show").innerHTML = "width:" + s.style.width + " height:" + s.style.height; } </script> </head> <body> <DIV contentEditable="true"> <DIV onresize="get(this)" style="WIDTH: 300px; POSITION: absolute; HEIGHT: 100px; BACKGROUND-COLOR: red; background-image: url('http://hiphotos.baidu.com/%BA%EC%C2%A5%C7%E9%C3%CE/pic/item/ed9e7094af4f2677d1135e93.jpg');"> </DIV> </DIV> <div id="show" style="bottom: 0px; position: absolute;"> width: default; height: default; </div> </body></html>在客户端改变图片大小或,用js获得图片的width、height后将width、height添加到服务器保存在客户端显示的大小从服务器获得就可以了 <DIV onresize="get(this)" ><img src="1.png"> </DIV> 能不能这样写 这样写 png不透明怎么办 求js 展开树源代码 如何取得iframe中表单提交后的返回值 javascript中能实现打开word文件不可复制不可另存到本地吗? 这个函数 帮忙看看呗 判断为空的正则.请帮忙解释下 $在js里是什么意思? FF不支持javascript的for in语句吗? GB2312到iso-8859-1的转换 点击按钮后触动一个变量的值=true 并在本页监测该变量 怎么写? 请问创建一个完全没有边框的窗口的代码,只是一张底图 请教一个正则表达式 如何让panel监听expand和collapse事件
<area shape="rect" coords="539,6,650,107" href="#" onmouseup="MM_openBrWindow('images/**.jpg','','resizable=yes,width=500,height=412')" />
将它设置为热点,再勾选手动缩放大小,上传时就可以自动设置大小
<html>
<head>
<title>MS_resizeDiv.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script>
document.execCommand("2D-position", false, true);
function get(s) {
document.getElementById("show").innerHTML = "width:" + s.style.width + " height:" + s.style.height;
}
</script>
</head>
<body>
<DIV contentEditable="true">
<DIV onresize="get(this)" style="WIDTH: 300px; POSITION: absolute; HEIGHT: 100px; BACKGROUND-COLOR: red; background-image: url('http://hiphotos.baidu.com/%BA%EC%C2%A5%C7%E9%C3%CE/pic/item/ed9e7094af4f2677d1135e93.jpg');">
</DIV>
</DIV>
<div id="show" style="bottom: 0px; position: absolute;">
width: default; height: default;
</div>
</body>
</html>在客户端改变图片大小或,用js获得图片的width、height后将width、height添加到服务器保存
在客户端显示的大小从服务器获得就可以了
<img src="1.png">
</DIV>
能不能这样写 这样写 png不透明怎么办