解决方案 »
- 怎样下载图片到本地?
- hookee好!以下这段js代码怎么在firefox浏览器下不正常?IE下正确的,请问怎么兼容所有浏览器?!
- 谷歌js读取xml无法执行
- 如何设置背景色与操作系统的颜色一样?
- 求助!求助!firefox 浏览器下 URLDecode 函数脚本怎么写啊。。。急!在线等!!!!!!
- 帮忙:javascript脚本不想公开~~,有没有办法
- 怎样做slideshow?就是图片自动播放,但是取自动态图片。
- 关于弹出对话框的问题
- 请问一个比较普通但我一点都不会的问题.谢谢各位先!
- 这种JS是用什么方式加密的?
- jquery offset
- asp.net 在点击li标签实现展开收缩后,页面刷新,怎样保持展开收缩的状态
<head>
<style>
.back{
FILTER:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src='<loushang:ui img=\'xtgl.jpg\'/>',sizingMethod='scale');
width: 100%;
height: 100%;
}
</style>
</head><body>
<table border="0" width="300" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" valign="top">
<div id=image class="back"></div>
</tr>
</table>
</body></html>
var my_width = 600;//自定义宽度
$("img").each(function(){
if($(this).width() > my_width) {
$(this).width(my_width);
}
});
});