日期:2014-05-16  浏览次数:20379 次

求一个Jc打印网页中图片的代码
比如我要打印 "images/1.jpg "
怎么样才能打印出来这个图片?最好有个按纽

------解决方案--------------------
<style media=print>
.Noprint{display:none;}
</style>

<div class= "Noprint "> test main print no print </div>
<div> <img src= "aaa.jpg "> </div>
<input name= "button1 " class= "Noprint " type= "button " value= "打印 " onclick= "window.print() ">