首页 > Web开发 > 详细

js弹出放大图

时间:2015-06-12 06:20:16      阅读:209      评论:0      收藏:0      [点我收藏+]
<script type="text/javascript">
            function openpic(url){
                OpenWindow = window.open("",‘newwindow‘,‘height=800,width=500,top=200,left=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no‘) ;
                OpenWindow.document.write("<HTML><TITLE>大图</TITLE>")
                OpenWindow.document.write("<BODY BGCOLOR=#ffffff>")
                OpenWindow.document.write("<img src="+url+" width=500 height=600>")
                OpenWindow.document.write("</BODY>")
                OpenWindow.document.write("</HTML>")
                OpenWindow.document.close()
            }
</script>

 

js弹出放大图

原文:http://www.cnblogs.com/thinksasa/p/4570626.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!