テーブルのヘッダを常に表示させるjQueryプラグインを作ってみた

source : jquery.smTheadfixed.js
source : jquery.smTheadfixed.min.js


No. Name Country 10/11 11/12 12/13 13/14 14/15 Pts
1Real Madrid CFESP33.64236.17129.54239.6004.642143.597
2FC BarcelonaESP36.64234.17127.54228.6004.642131.597
3FC Bayern MünchenGER24.13333.05036.58529.9424.600128.310
4Chelsea FCENG26.67133.05030.28528.3574.628122.991
5SL BenficaPOR25.76023.36628.35030.9834.550113.009
6Manchester United FCENG36.67116.05021.28526.3570.628100.991
7Club Atlético de MadridESP9.64234.17113.54237.6004.64299.597
8Valencia CFESP21.64225.17122.54226.6000.64296.597
9FC Schalke 04GER30.13320.05022.58518.9424.60096.310
10Arsenal FCENG22.67122.05021.28521.3574.62891.991
11FC PortoPOR31.76012.36622.35017.9834.55089.009
12Borussia DortmundGER10.13310.05033.58524.9424.60083.310
13Paris Saint-GermainFRA14.1509.10027.35026.7004.45081.750
14AC MilanITA18.31422.27119.88318.8330.46679.767
15FC ZenitRUS18.18319.95014.95018.0834.66675.832
16Manchester City FCENG16.67120.05010.28522.3574.62873.991
17Tottenham Hotspur FCENG24.67110.05019.28518.3570.62872.991
18FC Basel 1893SUI10.18020.20017.67520.4404.42072.915
19FC Shakhtar DonetskUKR26.0169.55018.90012.5664.40071.432
20Bayer 04 LeverkusenGER16.13319.05012.58518.9424.60071.310
21Olympique LyonnaisFRA19.15019.10014.35016.7000.45069.750
22JuventusITA8.3142.27125.88325.8334.46666.767
23FC Internazionale MilanoITA21.31420.27116.8832.8330.46661.767
24SSC NapoliITA9.31421.2718.88318.8330.46658.767
25FC Rubin KazanRUS12.1839.95019.95013.0830.66655.832
26AFC AjaxNED15.23314.7209.84211.1834.38355.361
27Olympiacos FCGRE2.52017.52010.88019.2204.48054.620
28Olympique de MarseilleFRA20.15021.1006.3505.7000.45053.750
29PSV EindhovenNED20.23318.7205.8426.1830.38351.361
30SC BragaPOR25.76012.3668.3503.4830.55050.509
31PFC CSKA MoskvaRUS16.18317.9503.4508.0834.66650.332
32Sevilla FCESP12.6425.6713.54226.6000.64249.097
33Sporting Clube de PortugalPOR13.76022.3666.3501.9834.55049.009
34Galatasaray AŞTUR2.4201.02024.04016.3404.44048.260
35Athletic ClubESP3.64227.1717.5424.6004.64247.597
36FC Dynamo KyivUKR19.0167.55010.9009.5660.40047.432
37AZ AlkmaarNED7.23318.7202.34217.1830.38345.861
38SS LazioITA2.3149.27120.88312.8330.46645.767
39Villarreal CFESP26.6428.1713.5424.6000.64243.597
40FC Metalist KharkivUKR10.01619.55011.9001.5660.40043.432
41FC Viktoria PlzeňCZE1.70010.05015.70012.6001.42541.475
42FC TwenteNED17.23317.7204.8421.1830.38341.361
43RSC AnderlechtBEL5.92014.0209.3006.2804.52040.040
44Hannover 96GER3.13319.05013.5852.9420.60039.310
45Liverpool FCENG15.6713.05012.2853.3574.62838.991
46Málaga CFESP3.6424.17125.5424.6000.64238.597
47FC KøbenhavnDEN18.3404.6206.6607.7600.22037.600
48FC Spartak MoskvaRUS20.1833.4507.9503.5830.66635.832
49KRC GenkBEL2.4209.02011.30012.2800.52035.540
50PAOK FCGRE10.52011.5202.38010.2200.48035.120