定制网站中上传图片然后调整图片大小功能是如何做的呢? 在做个性商品定制的时候 对上传的图片进行拖拉 调整大小 这个功能怎么做的呢 不使用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不透明怎么办 EXTJS相关 用document.createElement()动态创建的组件能不能区分大小写啊? 注册验证的问题 ,急等! 一个看似简单的js操作文本框的问题。请帮忙。 使用jQuery插件AD Gallery制作类似QQ相册功能 如何实现多文件下载? 请问javascript的鼠标进过的问题 怎样在ie中显示两个日期相减的天数? 弹出小窗口时不能用?传参,怎么调上一页函数里的值啊? 有没有javascript大神来挑战一下 请教一个正则表达式 如何让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不透明怎么办