js彈出放大圖

<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>
相關文章
相關標籤/搜索