鼠標左鍵拖動滾動javascript
原做者:html
http://blog.csdn.net/lisatisfy/article/details/6606026java
本文在源代碼的基礎上chrome
增長支持水平滾動 的功能瀏覽器
htmlide
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <html> <head> <title>鼠標拖動</title> <script type="text/javascript" src="scroll.js"></script> </head> <body> <div id="divMainTable" style="overflow:auto; height:500px; width:100%;"> <table id="mainTable" class="table table-hover table-big" data-page-index="1" data-page-size="10" cellpadding="6" cellspacing="0"> <thead> <tr class="tr-bg"> <th class="text-center table-right table-bottom" height="40"><div style="width:50px;">序號</div></th> <th class="text-center table-right table-bottom"><div style="width:150px">項目</div></th> <th class="text-center table-right table-bottom"><div style="min-width:150px">合計</div></th> <th class="text-center table-right table-bottom" style="min-width:120px">2015-12</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-01</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-02</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-03</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-04</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-05</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-06</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-07</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-08</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-09</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-10</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-11</th> <th class="text-center table-right table-bottom" style="min-width:120px">2016-12</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-01</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-02</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-03</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-04</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-05</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-06</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-07</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-08</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-09</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-10</th> <th class="text-center table-right table-bottom" style="min-width:120px">2017-11</th> </tr> </thead> <tbody> <tr class="bianse"> <td class="text-center table-right table-bottom">一</td> <td class="text-left table-right table-bottom">經營性現金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">經營收入</td> <td class="text-right table-right table-bottom table-top">4,500.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">1,750.00</td> <td class="text-right table-right table-bottom table-top">1,750.00</td> <td class="text-right table-right table-bottom table-top">1,000.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">產品ad</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">產品ab</td> <td class="text-right table-right table-bottom">1,500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">地下車位</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">250.00</td> <td class="text-right table-right table-bottom">250.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom"></td> <td class="text-left table-right table-bottom">產品ac</td> <td class="text-right table-right table-bottom">1,500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">500.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">經營支出</td> <td class="text-right table-right table-bottom">2,795.25</td> <td class="text-right table-right table-bottom">2,795.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1</td> <td class="text-left table-right table-bottom">土地成本</td> <td class="text-right table-right table-bottom">34,721.88</td> <td class="text-right table-right table-bottom">2,777.75</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1</td> <td class="text-left table-right table-bottom">土地款</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.2</td> <td class="text-left table-right table-bottom">報批報建費</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.3</td> <td class="text-left table-right table-bottom">前期臨時工程費</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3</td> <td class="text-left table-right table-bottom">主體建安工程費</td> <td class="text-right table-right table-bottom">2.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1</td> <td class="text-left table-right table-bottom">地下室工程費</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.1</td> <td class="text-left table-right table-bottom">土石方工程費</td> <td class="text-right table-right table-bottom">0.75</td> <td class="text-right table-right table-bottom">0.75</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1.1</td> <td class="text-left table-right table-bottom">土地取得費</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.2</td> <td class="text-left table-right table-bottom">樁基工程費</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.1.3</td> <td class="text-left table-right table-bottom">基坑支護及降水工程費</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">3.2</td> <td class="text-left table-right table-bottom">主體建築工程費</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">1.3</td> <td class="text-left table-right table-bottom">土地相關稅費</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">1.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4</td> <td class="text-left table-right table-bottom">基礎設施費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2</td> <td class="text-left table-right table-bottom">前期費用</td> <td class="text-right table-right table-bottom">12.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">5</td> <td class="text-left table-right table-bottom">公共配套設施費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">2.1</td> <td class="text-left table-right table-bottom">勘察設計費</td> <td class="text-right table-right table-bottom">7.50</td> <td class="text-right table-right table-bottom">7.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">6</td> <td class="text-left table-right table-bottom">開發間接費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">7</td> <td class="text-left table-right table-bottom">不可預見費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">8</td> <td class="text-left table-right table-bottom">營銷費用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">9</td> <td class="text-left table-right table-bottom">管理費用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">10</td> <td class="text-left table-right table-bottom">財務費用</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">6</td> <td class="text-left table-right table-bottom">開發間接費</td> <td class="text-right table-right table-bottom">0.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">7</td> <td class="text-left table-right table-bottom">不可預見費</td> <td class="text-right table-right table-bottom">0.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">5</td> <td class="text-left table-right table-bottom">公共配套設施費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.1</td> <td class="text-left table-right table-bottom">供電工程費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.2</td> <td class="text-left table-right table-bottom">園林景觀工程費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1</td> <td class="text-left table-right table-bottom">室外管網工程費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.4</td> <td class="text-left table-right table-bottom">排水工程費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4.1.3</td> <td class="text-left table-right table-bottom">自然氣工程費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">4</td> <td class="text-left table-right table-bottom">基礎設施費</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(三)</td> <td class="text-left table-right table-bottom">經營性淨現金流量</td> <td class="text-right table-right table-bottom">1,704.75</td> <td class="text-right table-right table-bottom">-2,795.25</td> <td class="text-right table-right table-bottom">1,750.00</td> <td class="text-right table-right table-bottom">1,750.00</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(四)</td> <td class="text-left table-right table-bottom">累計經營性現金流量</td> <td class="text-right table-right table-bottom">3,409.50</td> <td class="text-right table-right table-bottom">-2,795.25</td> <td class="text-right table-right table-bottom">-1,045.25</td> <td class="text-right table-right table-bottom">3,500.00</td> <td class="text-right table-right table-bottom">2,750.00</td> <td class="text-right table-right table-bottom">1,000.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">二</td> <td class="text-left table-right table-bottom">投資現金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">銷售產品自有資金餘額</td> <td class="text-right table-right table-bottom table-top">666.00</td> <td class="text-right table-right table-bottom table-top">333.00</td> <td class="text-right table-right table-bottom table-top">333.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">銷售產品自有資金利息</td> <td class="text-right table-right table-bottom">166.50</td> <td class="text-right table-right table-bottom">83.25</td> <td class="text-right table-right table-bottom">83.25</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">三</td> <td class="text-left table-right table-bottom">融資現金流</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(一)</td> <td class="text-left table-right table-bottom">融資餘額</td> <td class="text-right table-right table-bottom table-top">-7,250.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">-3,500.00</td> <td class="text-right table-right table-bottom table-top">-2,750.00</td> <td class="text-right table-right table-bottom table-top">-1,000.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> <td class="text-right table-right table-bottom table-top">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">(二)</td> <td class="text-left table-right table-bottom">融資利息</td> <td class="text-right table-right table-bottom">-1,812.50</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">-875.00</td> <td class="text-right table-right table-bottom">-687.50</td> <td class="text-right table-right table-bottom">-250.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">四</td> <td class="text-left table-right table-bottom">累計財務成本</td> <td class="text-right table-right table-bottom">7,825.50</td> <td class="text-right table-right table-bottom">166.50</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> </tr> <tr class="bianse"> <td class="text-center table-right table-bottom">五</td> <td class="text-left table-right table-bottom">銷售產品現金流貢獻餘額</td> <td class="text-right table-right table-bottom">7,326.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">0.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> <td class="text-right table-right table-bottom">333.00</td> </tr> </tbody> </table> </div> </body> </html> <script> new Scroller("divMainTable");// </script> </html>
html引用的js文件:scroll.js代碼:this
1 /* 可滾動卷軸對象 2 * @description : 容器裏拖動鼠標可實現內容滾動,兼容各種瀏覽器(ie6/7/8/firefox/safari/opera/chrome/)。 3 * using: new Scroller(@id|{id:@id,drag:false|true,scroll:true|false,scrollBase:@number}) 便可 id爲你的容器對象或容器ID 4 * @date : 2011-07-12 5 * @author : <a href="mailto:limanzu753@163.com">limanzu753@163.com</a> 6 * history : 7 * 2011-07-13 修改鼠標在容器外裏還能夠繼續滾動 0.11 <a href="mailto:limanzu753@163.com">limanzu753@163.com</a> 8 * 2011-07-20 增長鼠標滾動,動態配置滾動像素,動態配置是否支持鼠標滾動以及鼠標拽動滾動功能 9 */ 10 function Scroller(args) { 11 if (this instanceof Scroller == false) { return new Scroller(args); } 12 13 if (typeof args === "string") { 14 this.container = this.$(args); //容器對象 15 this.drag = true; 16 this.scroll = true; 17 this.scrollBase = 1; 18 } else { 19 this.container = this.$(args.id || args.container || args.obj); //容器對象 20 this.drag = args.drag == undefined ? true : args.drag; 21 this.scroll = args.scroll == undefined ? true : args.scroll; 22 this.scrollBase = args.scrollBase || 1; 23 } 24 this.y = 0;//mousedown時記錄鼠標的縱座標 25 this.init(); 26 } 27 Scroller.prototype = { 28 $: function (id) { 29 if (typeof id === "object") { return id; } 30 return document.getElementById(id); 31 }, 32 init: function () {//Scroller初始化 33 if (!this.container) { return; }//若是容器不存在,須要提示用戶或其它操做者,請在這裏跑出異常 34 var _this = this; 35 var _mousemove = function (e) {//鼠標移動事件 36 var e = e || event, mousePoint = _this.getMousePoint(e); 37 _this.container.scrollTop += _this.y - mousePoint.y;//鼠標移動多少像素,容器就滾動多少像素,無論上下 38 _this.container.scrollLeft += _this.x - mousePoint.x;//鼠標移動多少像素,容器就滾動多少像素,無論左右 //支持水平滾動 39 _this.y = mousePoint.y; //光標的每次移動都要記錄下當前的縱座標 40 }; 41 var _mouseup = function (e) {//鼠標彈起事件 42 _this.unbind('mousemove', _this.container, _mousemove); 43 }; 44 var _mousedown = function (e) { //鼠標按下事件 45 var e = e || event; 46 var mousePoint = _this.getMousePoint(e); 47 _this.y = mousePoint.y; 48 _this.x = mousePoint.x; //支持水平滾動 49 _this.bind('mousemove', _this.container, _mousemove); 50 }; 51 var _mouseout = function (e) {//鼠標離開事件 52 /* 判斷光標是否在容器內部,否則會出來鼠標還沒彈起而光標在容器外部還能夠滾動的問題。 53 固然這個問題影響不大。也能夠不判斷*/ 54 var e = e || event; 55 if (_this.isMouseOut(e, _this.container) === true) { 56 _this.unbind('mousemove', _this.container, _mousemove); 57 } 58 }; 59 var _mousescroll = function (e) { 60 var e = e || event, scrollBase = _this.scrollBase; 61 if (e.type === "mousewheel") { 62 _this.container.scrollTop += (e.wheelDelta < 0 ? scrollBase : scrollBase * (-1)); 63 } else { 64 _this.container.scrollTop += (e.detail > 0 ? scrollBase : scrollBase * (-1)); 65 } 66 } 67 if (this.drag === true) { 68 this.bind('mousedown', this.container, _mousedown); 69 this.bind('mouseup', this.container, _mouseup); 70 this.bind('mouseout', this.container, _mouseout); 71 } 72 if (this.scroll === true) { 73 this.bind('mousewheel', this.container, _mousescroll);//IE系列 74 this.bind('DOMMouseScroll', this.container, _mousescroll);//ff系列 75 } 76 this.bind('selectstart', this.container, function () { return false; }); 77 }, 78 getAbsPoint: function (el) {//取得容器的絕對座標 79 var x = el.offsetLeft, y = el.offsetTop; 80 while (el = el.offsetParent) { 81 x += el.offsetLeft; 82 y += el.offsetTop; 83 } 84 return { "x": x, "y": y }; 85 }, 86 isMouseOut: function (e, el) {//判斷鼠標是否在容器外面。不能直接使用onmouseout 87 var point = this.getAbsPoint(el), mousePoint = this.getMousePoint(e); 88 if (mousePoint.x < point.x || mousePoint.y < point.y 89 || mousePoint.x > point.x + this.container.offsetWidth || mousePoint.y > point.y + this.container.offsetHeight) { 90 return true; 91 } 92 return false; 93 }, 94 getMousePoint: function (ev) {//取得鼠標的位置 95 if (!ev) { return; } 96 if (ev.pageX || ev.pageY) { return { x: ev.pageX, y: ev.pageY }; } 97 var doc = document; 98 return { 99 x: ev.clientX + doc.body.scrollLeft - doc.body.clientLeft, 100 y: ev.clientY + doc.body.scrollTop - doc.body.clientTop 101 }; 102 }, 103 setScrollBase: function (scrollBase) { 104 this.scrollBase = scrollBase; 105 }, 106 bind: function (type, obj, func) {//添加事件監聽 107 if (!document.all) { 108 obj.addEventListener(type, func, false); 109 } else {//IE 110 obj.attachEvent('on' + type, func); 111 } 112 }, 113 unbind: function (type, obj, func) { 114 if (!document.all) { 115 obj.removeEventListener(type, func, false); 116 } else {//IE 117 obj.detachEvent('on' + type, func); 118 } 119 } 120 }
代碼行38和48是源代碼的基礎上增長的代碼,使其支持水平滾動 的功能spa