- fu">
- <script>
- function scrolltogether(object,divname1){
- setTimeout (function(){document.getElementById(divname1).scrollLeft = object.scrollLeft;},35);
- }
- </script>
- <div id="divscroll" style="position:relative;width:989px;height:20px;overFlow-x:scroll;overFlow-y:hidden;margin-bottom: 1px;" onscroll="javascript:scrolltogether(this,'sfg_data_container');">
- <table height="1" border="0" align="left" cellpadding="0" cellspacing="1" id="tablescroll">
- <tr height="1"><td></td></tr>
- </table>
- </div>
- <div class="sfg_data_div" id="sfg_data_container" style="overflow-x: auto; width: 989px; _padding-bottom: 16px;" onscroll="javascript:scrolltogether(this,'divscroll');">
- <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="sfg_data_tb" class="sfg_data_tb" style="table-layout:fixed;_margin-bottom: 16px;">
- <thead>
- <tr>
- <td width="50px"><a href="#" onclick="openPageCompSiteCompare();">对比>></a></td>
- <td width="180px" name="100">推介网站</td>
- <td width="70px">是否广告</td>
- <td width="100px" class="sfg_sort_col" name="0">流入量</td>
- <td width="100px" class="sfg_sort_col" name="8">二跳量</td>
- <td width="100px" class="sfg_sort_col" name="2">二跳率</td>
- <td width="100px" class="sfg_sort_col" name="1">总浏览量</td>
- <td width="100px" class="sfg_sort_col" name="6">用户数</td>
- <td width="100px" class="sfg_sort_col" name="3">平均浏览页面</td>
- <td width="100px" class="sfg_sort_col" name="4">平均停留时间</td>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- </div>
- //该片段来自于http://www.codesnippet.cn/detail/0304201512094.html
来源: http://www.codesnippet.cn/detail/0304201512094.html