首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

js预览本map片(根据路径)

2013-07-16 
js预览本地图片(根据路径)PreviewImg(obj.PhotoPath+cardId+.bmp)$(#personcardimage).show()functi

js预览本地图片(根据路径)
PreviewImg(obj.PhotoPath+cardId+".bmp");$("#personcardimage").show();function PreviewImg(imgFile){ //alert(imgFile) document.getElementById("personcardimage").style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod = scale)"; document.getElementById("personcardimage").filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile; }<div id="personcardimage" style="display:none;width:102px;height: 126px;"></div>

?

热点排行