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

大家帮帮忙啊!快被老板骂死了!
地址:http://www.uniea.com/images_index/for-iphone.asp

在ie浏览器下,点击download   就会弹出另存为的对话框,
但是在firefox下,就不好用了。
谁知道在firefox下,怎么做这种效果阿?
代码:
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01   Transitional//EN "
"http://www.w3.org/TR/html4/loose.dtd ">
<html>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<title> UNIEA   |   Images   for   iPhone </title>
<style   type= "text/css ">
body{text-align:center;background-image:url(../images/line.jpg)}
h2{font-family:Georgia,   "Times   New   Roman ",   Times,   serif}
h3{font-family:Georgia,   "Times   New   Roman ",   Times,   serif}
#container{width:802px;   background-color:#FFFFFF;margin:auto;}
a:link{color:#0033FF;}
.middle{text-align:center;}
.t2{float:left;text-align:right;width:50%;font-size:12px;line-height:15px;font-family:Arial,   Helvetica,   sans-serif;}
.t3{float:right;font-size:12px;line-height:40px;font-family:Arial,   Helvetica,   sans-serif;   width:50%}
#top{padding:0;margin:0}
#bottom{padding-top:15px;}
.title{text-align:center;padding-top:6px}
.type{font-family:Arial,   Helvetica,   sans-serif;   font-weight:800;font-size:12px;text-align:center}
.modelnumber{font-family:Arial,   Helvetica,   sans-serif;   font-size:12px;text-align:center}
.color{font-family:Arial,   Helvetica,   sans-serif;   font-size:12px;text-align:center}
.hand{cursor:pointer;}
</style>
<script   type= "text/javascript ">
<!--
function   runSave(){
if   (saveImg.location   !=   "about:blank ")window.saveImg.document.execCommand( "SaveAs ");
}
function   saveImgAs(url){
if(window.saveImg   &&   url)window.saveImg.location=url;
}
//-->
</script>
</head>
               
<body>


<div   id= "container ">
<div   id= "top "> <!--#include   file= "../logo.htm "--> </div>
<div   id= "middle ">

<div   class= "title ">
<h2> PRODUCT     IMAGES </h2>
</div>
<h3> For   iPhone </h3> </div>
<table   width= "96% "   align= "center "   >

                                            <tr   bgcolor= "#FFFFFF ">
                                                <%
While   Not   rs.EOF
if       i   mod       4=0       then    

%>

                                                <td> <table   cellspacing= "1 "   bgcolor= "#CCCCCC "   >