需要完整代码的朋友可以留下email
如需再添加切换页面,只要按照下边代码部分的样式添加内容即可
切换导航td的id要顺序排
那个div的TOP为为上边一个div的Top加上div本身的高度:237
  1 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Service.aspx.cs" Inherits="Service" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Service.aspx.cs" Inherits="Service" %>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5 <html xmlns="http://www.w3.org/1999/xhtml" >
<html xmlns="http://www.w3.org/1999/xhtml" >
6 <head runat="server">
<head runat="server">
7 <title>我们的服务</title>
    <title>我们的服务</title>
8 <link href="Themes/default/css.css" rel="stylesheet" type="text/css" />
    <link href="Themes/default/css.css" rel="stylesheet" type="text/css" />
9 <meta content="text/html; charset=gb2312" http-equiv="Content-Type">
        <meta content="text/html; charset=gb2312" http-equiv="Content-Type">
10 <style type="text/css" >
    <style type="text/css" >
11 <!--
    <!--
12 .tdBG
    .tdBG
13
 
     {
{
14 border: #cccccc 1px solid;
        border: #cccccc 1px solid; 
15 padding-right: 0px;
        padding-right: 0px;
16 padding-left: 0px;
        padding-left: 0px; 
17 padding-bottom: 5px;
        padding-bottom: 5px; 
18 padding-top: 5px;
        padding-top: 5px; 
19 background-color:#e6e6e6;
        background-color:#e6e6e6;
20 }
    }
21 -->
     -->
22 </style>
    </style>
23 </head>
</head>
24 <body onload="iniautoslide()">
<body onload="iniautoslide()">
25 <table align="center" cellpadding="0" cellspacing="0" width="100%">
    <table align="center" cellpadding="0" cellspacing="0" width="100%">
26 <tr>
    <tr>
27 <td style="width:180px;">
    <td style="width:180px;">
28 <img src="Images/mlogo.gif" alt="" border="0" style="width: 180px; height: 136px" />
    <img src="Images/mlogo.gif" alt="" border="0" style="width: 180px; height: 136px" />
29 </td>
    </td>
30 <td>
    <td>
31 <ul>
    <ul>
32 <li>进入市场的连锁通路</li>
    <li>进入市场的连锁通路</li>
33 <li>有效处理公司库存</li>
        <li>有效处理公司库存</li>
34 <li>新产品成功推广</li>
        <li>新产品成功推广</li>
35 </ul>
    </ul>
36 </td>
    </td>
37 </tr>
    </tr>
38 <tr>
        <tr>
39 <td colspan="2" class="tdBG" onmouseout="iniautoslide();" onmouseover="clearInterval(interval01);"
        <td colspan="2" class="tdBG" onmouseout="iniautoslide();" onmouseover="clearInterval(interval01);"
40 >
         >
41 <div style="width: 0px; position: relative; height: 0px">
        <div style="width: 0px; position: relative; height: 0px">
42 <div style="z-index: 10;">
            <div style="z-index: 10;">
43 <table cellspacing="0" cellpadding="0">
                <table cellspacing="0" cellpadding="0">
44 <tbody>
                    <tbody>
45 <tr>
                        <tr>
46 <td height="29" style="padding-left: 1px" width="24">
                            <td height="29" style="padding-left: 1px" width="24">
47 <img id="upbtn" alt="Last" height="28" onclick="slideup();clearInterval(interval01);"
                                <img id="upbtn" alt="Last" height="28" onclick="slideup();clearInterval(interval01);"
48 onfocus="this.blur()" src="images/scrollad_left.gif" style="cursor: pointer" width="24"></td>
                                    onfocus="this.blur()" src="images/scrollad_left.gif" style="cursor: pointer" width="24"></td>
49 <td height="2">
                            <td height="2">
50 </td>
                            </td>
51 <td id="led1" class="NUM2" height="19">
                            <td id="led1" class="NUM2" height="19">
52 1</td>
                               1</td>
53 <td height="2">
                            <td height="2">
54 </td>
                            </td>
55 <td id="led2" class="NUM1" height="19">
                            <td id="led2" class="NUM1" height="19">
56 2</td>
                                2</td>
57 <td height="2">
                            <td height="2">
58 </td>
                            </td>
59 <td id="led3" class="NUM1" height="19">
                            <td id="led3" class="NUM1" height="19">
60 3</td>
                                3</td>
61 <td id="led4" class="NUM1" height="19">
                            <td id="led4" class="NUM1" height="19">
62 4</td>
                                4</td>
63 <td height="3">
                            <td height="3">
64 </td>
                            </td>
65 <td height="29" style="padding-left: 1px">
                            <td height="29" style="padding-left: 1px">
66 <img id="downbtn" alt="Next" height="29" onclick="slidedown();clearInterval(interval01);"
                                <img id="downbtn" alt="Next" height="29" onclick="slidedown();clearInterval(interval01);"
67 onfocus="this.blur()" src="images/scrollad_right.gif" style="cursor: pointer" width="24"></td>
                                    onfocus="this.blur()" src="images/scrollad_right.gif" style="cursor: pointer" width="24"></td>
68 </tr>
                        </tr>
69 </tbody>
                    </tbody>
70 </table>
                </table>
71 </div>
            </div>
72 </div>
        </div>
73 <div id="main" nowrap="" style="overflow: hidden; position: relative;
        <div id="main" nowrap="" style="overflow: hidden; position: relative;
74 height: 237px">
            height: 237px">
75 <div id="f1" style="z-index: 10; left: 0px;  position: absolute; top: 0px;
            <div id="f1" style="z-index: 10; left: 0px;  position: absolute; top: 0px;
76 height: 237px">
                height: 237px">
77 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
78 noresize="" onload="checkdamie(1)" scrolling="no" src="01.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(1)" scrolling="no" src="01.htm" width="100%"></iframe>
79 </div>
            </div>
80 <div id="f2" style="display: none; z-index: 10; left: 0px;  position: absolute;
            <div id="f2" style="display: none; z-index: 10; left: 0px;  position: absolute;
81 top: 237px; height: 237px">
                top: 237px; height: 237px">
82 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
83 noresize="" onload="checkdamie(2)" scrolling="no" src="02.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(2)" scrolling="no" src="02.htm" width="100%"></iframe>
84 </div>
            </div>
85 <div id="f3" style="display: none; z-index: 10; left: 0px;  position: absolute;
            <div id="f3" style="display: none; z-index: 10; left: 0px;  position: absolute;
86 top: 474px; height: 237px">
                top: 474px; height: 237px">
87 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
88 noresize="" onload="checkdamie(3)" scrolling="no" src="03.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(3)" scrolling="no" src="03.htm" width="100%"></iframe>
89 </div>
            </div>
90 <div id="f4" style="display: none; z-index: 10; left: 0px; position: absolute;
            <div id="f4" style="display: none; z-index: 10; left: 0px; position: absolute;
91 top: 711px; height: 237px">
                top: 711px; height: 237px">
92 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
93 noresize="" οnlοad="checkdamie(4)" scrolling="no" src="04.htm" width="100%"></iframe>
                    noresize="" οnlοad="checkdamie(4)" scrolling="no" src="04.htm" width="100%"></iframe>
94 </div>
            </div>
95 </div>
        </div>
96 </td>
        </td>
97 </tr>
        </tr>
98 </table>
    </table>
99
100 <script language="JavaScript">
 <script language="JavaScript">
101 <!--
<!--
102 var currentF=1;
var currentF=1;
103 document.getElementById("upbtn").style.display="none";
document.getElementById("upbtn").style.display="none";
104 var mainobj = document.getElementById("main");
var mainobj = document.getElementById("main");
105 var count=(mainobj!=null)?mainobj.children.length:0;
var count=(mainobj!=null)?mainobj.children.length:0;
106 //var count=4;
//var count=4;
107 //alert(count);
//alert(count);
108 var frameheight = 237;
var frameheight = 237;
109 var scrolling=0;
var scrolling=0;
110 var speed = 20;
var speed = 20;
111 var checkloaded=new Array();
var checkloaded=new Array();
112
 for(i=1;i<=count;i++)
for(i=1;i<=count;i++) {
{
113 checkloaded[i]=0;
checkloaded[i]=0;
114 }
}
115
 function checkdamie(n)
function checkdamie(n) {
{
116 checkloaded[n]=1;
    checkloaded[n]=1;
117 //alert(checkloaded[n])
    //alert(checkloaded[n])
118
119 }
}
120
 function alertloading(sdirection)
function alertloading(sdirection) {
{
121 scrolling=0;
scrolling=0;
122
 if(sdirection == "down")
if(sdirection == "down") {
{
123 currentF--;
currentF--;
124 }
}
125
 else
else {
{
126 currentF++;
currentF++;
127 }
}
128 //alert("正在下载数据,请稍等");
//alert("正在下载数据,请稍等");
129 }
}
130
131
 function scrolldown(f)
function scrolldown(f) {
{
132
133 if(f>1 && f<count)
    if(f>1 && f<count)
134
 
     {    //case 2:
{    //case 2:
135 if (mainobj.scrollTop>=(frameheight*(f-1)))
        if (mainobj.scrollTop>=(frameheight*(f-1)))
136
 
         {
{
137 clearInterval(inter);
            clearInterval(inter);
138 mainobj.scrollTop=(frameheight*(f-1));
            mainobj.scrollTop=(frameheight*(f-1));
139 scrolling=0;
            scrolling=0;
140 }
        }
141 else
        else
142
 
         {
{
143 mainobj.scrollTop+=speed;
        mainobj.scrollTop+=speed;
144 }
        }
145 }
    }
146
147 if(f==count)
    if(f==count)
148
 
     {
{
149 if (mainobj.scrollTop>=frameheight*(count-1))
        if (mainobj.scrollTop>=frameheight*(count-1))
150
 
         {
{
151 mainobj.scrollTop=frameheight*(count-1);
            mainobj.scrollTop=frameheight*(count-1);
152 clearInterval(inter);
            clearInterval(inter);
153 scrolling=0;
            scrolling=0;
154 }
        }
155
 else
        else {mainobj.scrollTop+=speed;}
{mainobj.scrollTop+=speed;}
156 }
    }
157 }
}
158
159
160
 function scrollup(f)
function scrollup(f) {
{
161
162
 if (f<count)
    if (f<count) {
{
163
 if (mainobj.scrollTop<=(frameheight*(f-1)))
    if (mainobj.scrollTop<=(frameheight*(f-1))) {
{
164 clearInterval(inter1);
        clearInterval(inter1);
165 mainobj.scrollTop=(frameheight*(f-1));
        mainobj.scrollTop=(frameheight*(f-1));
166 scrolling=0;
        scrolling=0;
167 }
        }
168
 else
    else {
{
169 mainobj.scrollTop-=speed;
    mainobj.scrollTop-=speed;
170 }
    }
171 }
    }
172
173 if(f==count)
    if(f==count)
174
 if (mainobj.scrollTop<=(frameheight(count-1)))
    if (mainobj.scrollTop<=(frameheight(count-1))) {
{
175 mainobj.scrollTop=(frameheight(count-1));
        mainobj.scrollTop=(frameheight(count-1));
176 clearInterval(inter1);
        clearInterval(inter1);
177 scrolling=0;
        scrolling=0;
178 }
        }
179
 else
    else {
{
180 mainobj.scrollTop-=speed;
    mainobj.scrollTop-=speed;
181 }
    }
182 }
}
183
184
 function slidedown()
function slidedown() {
{
185 //slide
    //slide
186
 if (scrolling==0)
if (scrolling==0) {
{
187 scrolling=1;
    scrolling=1;
188 currentF++;
    currentF++;
189 obj=eval("document.getElementById('f"+currentF+"')");
    obj=eval("document.getElementById('f"+currentF+"')");
190 obj.style.display="block";
    obj.style.display="block";
191
 if (checkloaded[currentF]==1)
    if (checkloaded[currentF]==1) {
{
192 inter=eval("setInterval('scrolldown("+currentF+")',5)");
        inter=eval("setInterval('scrolldown("+currentF+")',5)");
193 //led
        //led
194 document.getElementById("upbtn").style.display="";
        document.getElementById("upbtn").style.display="";
195
 if (currentF==(count))
        if (currentF==(count)) {
{
196 document.getElementById("downbtn").style.display="none";
        document.getElementById("downbtn").style.display="none";
197 }
        }
198 for (i=1;i<=count;i++)
        for (i=1;i<=count;i++)
199
 
         {
{
200 var tpobj=eval("document.getElementById('led"+i+"')");
            var tpobj=eval("document.getElementById('led"+i+"')");
201 if(i==currentF)
            if(i==currentF)
202 tpobj.className='NUM2';
                tpobj.className='NUM2';
203 else
            else
204 tpobj.className=(tpobj.className=='NUM2')?'NUM1':tpobj.className;
                tpobj.className=(tpobj.className=='NUM2')?'NUM1':tpobj.className;
205 }
        }
206 }
    }
207
 else
    else {
{
208 alertloading("down");
    alertloading("down");
209 
    
210 }
    }
211 }
    }
212 }
}
213
214
215
 function slideup()
function slideup() {
{
216 //slide
    //slide
217 if (scrolling==0)
if (scrolling==0)
218

 {
{
219 scrolling=1;
    scrolling=1;
220 currentF--;
    currentF--;
221 obj=eval("document.getElementById('f"+currentF+"')");
    obj=eval("document.getElementById('f"+currentF+"')");
222 obj.style.display="block";
    obj.style.display="block";
223
 if (checkloaded[currentF]==1)
        if (checkloaded[currentF]==1) {
{
224 inter1=eval("setInterval('scrollup("+currentF+")',5)");
        inter1=eval("setInterval('scrollup("+currentF+")',5)");
225 //led
        //led
226 document.getElementById("downbtn").style.display="";
        document.getElementById("downbtn").style.display="";
227
 if (currentF==1)
        if (currentF==1) {
{
228 document.getElementById("upbtn").style.display="none";
        document.getElementById("upbtn").style.display="none";
229 }
        }
230 for (i=1;i<=count;i++)
        for (i=1;i<=count;i++)
231
 
         {
{
232 if(i==currentF)
            if(i==currentF)
233 eval("document.getElementById('led"+currentF+"').className='NUM2'");
                eval("document.getElementById('led"+currentF+"').className='NUM2'");
234 else
            else
235 eval("document.getElementById('led"+i+"').className='NUM1'");
                eval("document.getElementById('led"+i+"').className='NUM1'");
236 }
        }
237 }
        }
238
 else
        else {
{
239 alertloading("up");
        alertloading("up");
240 }
        }
241 }
    }
242 }
}
243 //auto slide
//auto slide
244 var direction = "down";
var direction = "down";
245 var interval01;
var interval01;
246 var autotime = 3000;
var autotime = 3000;
247
 function autoslide()
function autoslide() {
{
248
 if(direction == "down")
    if(direction == "down") {
{
249
 if (currentF == (count-1))
        if (currentF == (count-1)) {
{
250 direction = "up";
         direction = "up";
251 }
        }
252 slidedown();
    slidedown();
253 }
    }
254
 if(direction == "up")
    if(direction == "up") {
{
255
 if (currentF == 2)
        if (currentF == 2) {
{
256 direction = "down";
         direction = "down";
257 }
        }
258 slideup();
    slideup();
259 }
    }
260 
    
261 }
}
262
 function iniautoslide()
function iniautoslide() {
{
263 interval01 = setInterval("autoslide()",autotime);
interval01 = setInterval("autoslide()",autotime);
264 }
}
265
266 //-->
//-->
267 </script>
 </script>
268
269 </body>
</body>
270 </html>
</html>
271
 
 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Service.aspx.cs" Inherits="Service" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Service.aspx.cs" Inherits="Service" %>2

3
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">4

5
 <html xmlns="http://www.w3.org/1999/xhtml" >
<html xmlns="http://www.w3.org/1999/xhtml" >6
 <head runat="server">
<head runat="server">7
 <title>我们的服务</title>
    <title>我们的服务</title>8
 <link href="Themes/default/css.css" rel="stylesheet" type="text/css" />
    <link href="Themes/default/css.css" rel="stylesheet" type="text/css" />9
 <meta content="text/html; charset=gb2312" http-equiv="Content-Type">
        <meta content="text/html; charset=gb2312" http-equiv="Content-Type">10
 <style type="text/css" >
    <style type="text/css" >11
 <!--
    <!--12
 .tdBG
    .tdBG13

 
     {
{14
 border: #cccccc 1px solid;
        border: #cccccc 1px solid; 15
 padding-right: 0px;
        padding-right: 0px;16
 padding-left: 0px;
        padding-left: 0px; 17
 padding-bottom: 5px;
        padding-bottom: 5px; 18
 padding-top: 5px;
        padding-top: 5px; 19
 background-color:#e6e6e6;
        background-color:#e6e6e6;20
 }
    }21
 -->
     -->22
 </style>
    </style>23
 </head>
</head>24
 <body onload="iniautoslide()">
<body onload="iniautoslide()">25
 <table align="center" cellpadding="0" cellspacing="0" width="100%">
    <table align="center" cellpadding="0" cellspacing="0" width="100%">26
 <tr>
    <tr>27
 <td style="width:180px;">
    <td style="width:180px;">28
 <img src="Images/mlogo.gif" alt="" border="0" style="width: 180px; height: 136px" />
    <img src="Images/mlogo.gif" alt="" border="0" style="width: 180px; height: 136px" />29
 </td>
    </td>30
 <td>
    <td>31
 <ul>
    <ul>32
 <li>进入市场的连锁通路</li>
    <li>进入市场的连锁通路</li>33
 <li>有效处理公司库存</li>
        <li>有效处理公司库存</li>34
 <li>新产品成功推广</li>
        <li>新产品成功推广</li>35
 </ul>
    </ul>36
 </td>
    </td>37
 </tr>
    </tr>38
 <tr>
        <tr>39
 <td colspan="2" class="tdBG" onmouseout="iniautoslide();" onmouseover="clearInterval(interval01);"
        <td colspan="2" class="tdBG" onmouseout="iniautoslide();" onmouseover="clearInterval(interval01);"40
 >
         >41
 <div style="width: 0px; position: relative; height: 0px">
        <div style="width: 0px; position: relative; height: 0px">42
 <div style="z-index: 10;">
            <div style="z-index: 10;">43
 <table cellspacing="0" cellpadding="0">
                <table cellspacing="0" cellpadding="0">44
 <tbody>
                    <tbody>45
 <tr>
                        <tr>46
 <td height="29" style="padding-left: 1px" width="24">
                            <td height="29" style="padding-left: 1px" width="24">47
 <img id="upbtn" alt="Last" height="28" onclick="slideup();clearInterval(interval01);"
                                <img id="upbtn" alt="Last" height="28" onclick="slideup();clearInterval(interval01);"48
 onfocus="this.blur()" src="images/scrollad_left.gif" style="cursor: pointer" width="24"></td>
                                    onfocus="this.blur()" src="images/scrollad_left.gif" style="cursor: pointer" width="24"></td>49
 <td height="2">
                            <td height="2">50
 </td>
                            </td>51
 <td id="led1" class="NUM2" height="19">
                            <td id="led1" class="NUM2" height="19">52
 1</td>
                               1</td>53
 <td height="2">
                            <td height="2">54
 </td>
                            </td>55
 <td id="led2" class="NUM1" height="19">
                            <td id="led2" class="NUM1" height="19">56
 2</td>
                                2</td>57
 <td height="2">
                            <td height="2">58
 </td>
                            </td>59
 <td id="led3" class="NUM1" height="19">
                            <td id="led3" class="NUM1" height="19">60
 3</td>
                                3</td>61
 <td id="led4" class="NUM1" height="19">
                            <td id="led4" class="NUM1" height="19">62
 4</td>
                                4</td>63
 <td height="3">
                            <td height="3">64
 </td>
                            </td>65
 <td height="29" style="padding-left: 1px">
                            <td height="29" style="padding-left: 1px">66
 <img id="downbtn" alt="Next" height="29" onclick="slidedown();clearInterval(interval01);"
                                <img id="downbtn" alt="Next" height="29" onclick="slidedown();clearInterval(interval01);"67
 onfocus="this.blur()" src="images/scrollad_right.gif" style="cursor: pointer" width="24"></td>
                                    onfocus="this.blur()" src="images/scrollad_right.gif" style="cursor: pointer" width="24"></td>68
 </tr>
                        </tr>69
 </tbody>
                    </tbody>70
 </table>
                </table>71
 </div>
            </div>72
 </div>
        </div>73
 <div id="main" nowrap="" style="overflow: hidden; position: relative;
        <div id="main" nowrap="" style="overflow: hidden; position: relative;74
 height: 237px">
            height: 237px">75
 <div id="f1" style="z-index: 10; left: 0px;  position: absolute; top: 0px;
            <div id="f1" style="z-index: 10; left: 0px;  position: absolute; top: 0px;76
 height: 237px">
                height: 237px">77
 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"78
 noresize="" onload="checkdamie(1)" scrolling="no" src="01.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(1)" scrolling="no" src="01.htm" width="100%"></iframe>79
 </div>
            </div>80
 <div id="f2" style="display: none; z-index: 10; left: 0px;  position: absolute;
            <div id="f2" style="display: none; z-index: 10; left: 0px;  position: absolute;81
 top: 237px; height: 237px">
                top: 237px; height: 237px">82
 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"83
 noresize="" onload="checkdamie(2)" scrolling="no" src="02.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(2)" scrolling="no" src="02.htm" width="100%"></iframe>84
 </div>
            </div>85
 <div id="f3" style="display: none; z-index: 10; left: 0px;  position: absolute;
            <div id="f3" style="display: none; z-index: 10; left: 0px;  position: absolute;86
 top: 474px; height: 237px">
                top: 474px; height: 237px">87
 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"88
 noresize="" onload="checkdamie(3)" scrolling="no" src="03.htm" width="100%"></iframe>
                    noresize="" onload="checkdamie(3)" scrolling="no" src="03.htm" width="100%"></iframe>89
 </div>
            </div>90
 <div id="f4" style="display: none; z-index: 10; left: 0px; position: absolute;
            <div id="f4" style="display: none; z-index: 10; left: 0px; position: absolute;91
 top: 711px; height: 237px">
                top: 711px; height: 237px">92
 <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"
                <iframe frameborder="0" height="250" marginheight="0" marginwidth="0" name="frame1"93
 noresize="" οnlοad="checkdamie(4)" scrolling="no" src="04.htm" width="100%"></iframe>
                    noresize="" οnlοad="checkdamie(4)" scrolling="no" src="04.htm" width="100%"></iframe>94
 </div>
            </div>95
 </div>
        </div>96
 </td>
        </td>97
 </tr>
        </tr>98
 </table>
    </table>99

100
 <script language="JavaScript">
 <script language="JavaScript">101
 <!--
<!--102
 var currentF=1;
var currentF=1;103
 document.getElementById("upbtn").style.display="none";
document.getElementById("upbtn").style.display="none";104
 var mainobj = document.getElementById("main");
var mainobj = document.getElementById("main");105
 var count=(mainobj!=null)?mainobj.children.length:0;
var count=(mainobj!=null)?mainobj.children.length:0;106
 //var count=4;
//var count=4;107
 //alert(count);
//alert(count);108
 var frameheight = 237;
var frameheight = 237;109
 var scrolling=0;
var scrolling=0;110
 var speed = 20;
var speed = 20;111
 var checkloaded=new Array();
var checkloaded=new Array();112

 for(i=1;i<=count;i++)
for(i=1;i<=count;i++) {
{113
 checkloaded[i]=0;
checkloaded[i]=0;114
 }
}115

 function checkdamie(n)
function checkdamie(n) {
{116
 checkloaded[n]=1;
    checkloaded[n]=1;117
 //alert(checkloaded[n])
    //alert(checkloaded[n])118

119
 }
}120

 function alertloading(sdirection)
function alertloading(sdirection) {
{121
 scrolling=0;
scrolling=0;122

 if(sdirection == "down")
if(sdirection == "down") {
{123
 currentF--;
currentF--;124
 }
}125

 else
else {
{126
 currentF++;
currentF++;127
 }
}128
 //alert("正在下载数据,请稍等");
//alert("正在下载数据,请稍等");129
 }
}130

131

 function scrolldown(f)
function scrolldown(f) {
{132

133
 if(f>1 && f<count)
    if(f>1 && f<count)134

 
     {    //case 2:
{    //case 2:135
 if (mainobj.scrollTop>=(frameheight*(f-1)))
        if (mainobj.scrollTop>=(frameheight*(f-1)))136

 
         {
{137
 clearInterval(inter);
            clearInterval(inter);138
 mainobj.scrollTop=(frameheight*(f-1));
            mainobj.scrollTop=(frameheight*(f-1));139
 scrolling=0;
            scrolling=0;140
 }
        }141
 else
        else142

 
         {
{143
 mainobj.scrollTop+=speed;
        mainobj.scrollTop+=speed;144
 }
        }145
 }
    }146

147
 if(f==count)
    if(f==count)148

 
     {
{149
 if (mainobj.scrollTop>=frameheight*(count-1))
        if (mainobj.scrollTop>=frameheight*(count-1))150

 
         {
{151
 mainobj.scrollTop=frameheight*(count-1);
            mainobj.scrollTop=frameheight*(count-1);152
 clearInterval(inter);
            clearInterval(inter);153
 scrolling=0;
            scrolling=0;154
 }
        }155

 else
        else {mainobj.scrollTop+=speed;}
{mainobj.scrollTop+=speed;}156
 }
    }157
 }
}158

159

160

 function scrollup(f)
function scrollup(f) {
{161

162

 if (f<count)
    if (f<count) {
{163

 if (mainobj.scrollTop<=(frameheight*(f-1)))
    if (mainobj.scrollTop<=(frameheight*(f-1))) {
{164
 clearInterval(inter1);
        clearInterval(inter1);165
 mainobj.scrollTop=(frameheight*(f-1));
        mainobj.scrollTop=(frameheight*(f-1));166
 scrolling=0;
        scrolling=0;167
 }
        }168

 else
    else {
{169
 mainobj.scrollTop-=speed;
    mainobj.scrollTop-=speed;170
 }
    }171
 }
    }172

173
 if(f==count)
    if(f==count)174

 if (mainobj.scrollTop<=(frameheight(count-1)))
    if (mainobj.scrollTop<=(frameheight(count-1))) {
{175
 mainobj.scrollTop=(frameheight(count-1));
        mainobj.scrollTop=(frameheight(count-1));176
 clearInterval(inter1);
        clearInterval(inter1);177
 scrolling=0;
        scrolling=0;178
 }
        }179

 else
    else {
{180
 mainobj.scrollTop-=speed;
    mainobj.scrollTop-=speed;181
 }
    }182
 }
}183

184

 function slidedown()
function slidedown() {
{185
 //slide
    //slide186

 if (scrolling==0)
if (scrolling==0) {
{187
 scrolling=1;
    scrolling=1;188
 currentF++;
    currentF++;189
 obj=eval("document.getElementById('f"+currentF+"')");
    obj=eval("document.getElementById('f"+currentF+"')");190
 obj.style.display="block";
    obj.style.display="block";191

 if (checkloaded[currentF]==1)
    if (checkloaded[currentF]==1) {
{192
 inter=eval("setInterval('scrolldown("+currentF+")',5)");
        inter=eval("setInterval('scrolldown("+currentF+")',5)");193
 //led
        //led194
 document.getElementById("upbtn").style.display="";
        document.getElementById("upbtn").style.display="";195

 if (currentF==(count))
        if (currentF==(count)) {
{196
 document.getElementById("downbtn").style.display="none";
        document.getElementById("downbtn").style.display="none";197
 }
        }198
 for (i=1;i<=count;i++)
        for (i=1;i<=count;i++)199

 
         {
{200
 var tpobj=eval("document.getElementById('led"+i+"')");
            var tpobj=eval("document.getElementById('led"+i+"')");201
 if(i==currentF)
            if(i==currentF)202
 tpobj.className='NUM2';
                tpobj.className='NUM2';203
 else
            else204
 tpobj.className=(tpobj.className=='NUM2')?'NUM1':tpobj.className;
                tpobj.className=(tpobj.className=='NUM2')?'NUM1':tpobj.className;205
 }
        }206
 }
    }207

 else
    else {
{208
 alertloading("down");
    alertloading("down");209
 
    210
 }
    }211
 }
    }212
 }
}213

214

215

 function slideup()
function slideup() {
{216
 //slide
    //slide217
 if (scrolling==0)
if (scrolling==0)218


 {
{219
 scrolling=1;
    scrolling=1;220
 currentF--;
    currentF--;221
 obj=eval("document.getElementById('f"+currentF+"')");
    obj=eval("document.getElementById('f"+currentF+"')");222
 obj.style.display="block";
    obj.style.display="block";223

 if (checkloaded[currentF]==1)
        if (checkloaded[currentF]==1) {
{224
 inter1=eval("setInterval('scrollup("+currentF+")',5)");
        inter1=eval("setInterval('scrollup("+currentF+")',5)");225
 //led
        //led226
 document.getElementById("downbtn").style.display="";
        document.getElementById("downbtn").style.display="";227

 if (currentF==1)
        if (currentF==1) {
{228
 document.getElementById("upbtn").style.display="none";
        document.getElementById("upbtn").style.display="none";229
 }
        }230
 for (i=1;i<=count;i++)
        for (i=1;i<=count;i++)231

 
         {
{232
 if(i==currentF)
            if(i==currentF)233
 eval("document.getElementById('led"+currentF+"').className='NUM2'");
                eval("document.getElementById('led"+currentF+"').className='NUM2'");234
 else
            else235
 eval("document.getElementById('led"+i+"').className='NUM1'");
                eval("document.getElementById('led"+i+"').className='NUM1'");236
 }
        }237
 }
        }238

 else
        else {
{239
 alertloading("up");
        alertloading("up");240
 }
        }241
 }
    }242
 }
}243
 //auto slide
//auto slide244
 var direction = "down";
var direction = "down";245
 var interval01;
var interval01;246
 var autotime = 3000;
var autotime = 3000;247

 function autoslide()
function autoslide() {
{248

 if(direction == "down")
    if(direction == "down") {
{249

 if (currentF == (count-1))
        if (currentF == (count-1)) {
{250
 direction = "up";
         direction = "up";251
 }
        }252
 slidedown();
    slidedown();253
 }
    }254

 if(direction == "up")
    if(direction == "up") {
{255

 if (currentF == 2)
        if (currentF == 2) {
{256
 direction = "down";
         direction = "down";257
 }
        }258
 slideup();
    slideup();259
 }
    }260
 
    261
 }
}262

 function iniautoslide()
function iniautoslide() {
{263
 interval01 = setInterval("autoslide()",autotime);
interval01 = setInterval("autoslide()",autotime);264
 }
}265

266
 //-->
//-->267
 </script>
 </script>268

269
 </body>
</body>270
 </html>
</html>271
