|
| 1 | +<html xmlns:v="urn:schemas-microsoft-com:vml" |
| 2 | +xmlns:o="urn:schemas-microsoft-com:office:office" |
| 3 | +xmlns:x="urn:schemas-microsoft-com:office:excel" |
| 4 | +xmlns="http://www.w3.org/TR/REC-html40"> |
| 5 | + |
| 6 | +<head> |
| 7 | +<meta name="Excel Workbook Frameset"> |
| 8 | +<meta http-equiv=Content-Type content="text/html; charset=utf-8"> |
| 9 | +<meta name=ProgId content=Excel.Sheet> |
| 10 | +<meta name=Generator content="Microsoft Excel 15"> |
| 11 | +<link rel=File-List href="songlist.fld/filelist.xml"> |
| 12 | +<![if !supportTabStrip]> |
| 13 | +<link id="shLink" href="songlist.fld/sheet001.htm"> |
| 14 | + |
| 15 | +<link id="shLink"> |
| 16 | + |
| 17 | +<script language="JavaScript"> |
| 18 | +<!-- |
| 19 | + var g_iIEVer=0; |
| 20 | + |
| 21 | + var c_lTabs=1; |
| 22 | + |
| 23 | + var c_rgszSh=new Array(c_lTabs); |
| 24 | + c_rgszSh[0] = "Sheet1"; |
| 25 | + |
| 26 | + |
| 27 | + var c_rgszClr=new Array(8); |
| 28 | + c_rgszClr[0]="window"; |
| 29 | + c_rgszClr[1]="buttonface"; |
| 30 | + c_rgszClr[2]="windowframe"; |
| 31 | + c_rgszClr[3]="windowtext"; |
| 32 | + c_rgszClr[4]="threedlightshadow"; |
| 33 | + c_rgszClr[5]="threedhighlight"; |
| 34 | + c_rgszClr[6]="threeddarkshadow"; |
| 35 | + c_rgszClr[7]="threedshadow"; |
| 36 | + |
| 37 | + var g_iShCur; |
| 38 | + var g_rglTabX=new Array(c_lTabs); |
| 39 | + |
| 40 | +function fnBuildFrameset() |
| 41 | +{ |
| 42 | + var szHTML="<frameset rows=\"*,18\" border=0 width=0 frameborder=no framespacing=0>"+ |
| 43 | + "<frame src=\""+document.all.item("shLink")[0].href+"\" name=\"frSheet\" noresize>"+ |
| 44 | + "<frameset cols=\"54,*\" border=0 width=0 frameborder=no framespacing=0>"+ |
| 45 | + "<frame src=\"\" name=\"frScroll\" marginwidth=0 marginheight=0 scrolling=no>"+ |
| 46 | + "<frame src=\"\" name=\"frTabs\" marginwidth=0 marginheight=0 scrolling=no>"+ |
| 47 | + "</frameset></frameset><plaintext>"; |
| 48 | + |
| 49 | +document.open("text/html","replace"); |
| 50 | +document.write(szHTML); |
| 51 | +document.close(); |
| 52 | + |
| 53 | + fnBuildTabStrip(); |
| 54 | +} |
| 55 | + |
| 56 | +function fnBuildTabStrip() |
| 57 | +{ |
| 58 | + var szHTML= |
| 59 | + "<html><head><style>.clScroll {font:8pt Courier New;color:"+c_rgszClr[2]+";cursor:default;line-height:10pt;}"+ |
| 60 | + ".clScroll2 {font:10pt Arial;color:"+c_rgszClr[2]+";cursor:default;line-height:11pt;}</style></head>"+ |
| 61 | + "<body onclick=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" onselectstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+" topmargin=0 leftmargin=0><table cellpadding=0 cellspacing=0 width=100%>"+ |
| 62 | + "<tr><td colspan=6 height=1 bgcolor="+c_rgszClr[2]+"></td></tr>"+ |
| 63 | + "<tr><td style=\"font:1pt\"> <td>"+ |
| 64 | + "<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(0);\" onmouseout=\"parent.fnMouseOutScroll(0);\"><a>«</a></td>"+ |
| 65 | + "<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(0);\" ondblclick=\"parent.fnScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(1);\" onmouseout=\"parent.fnMouseOutScroll(1);\"><a><</a></td>"+ |
| 66 | + "<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(1);\" ondblclick=\"parent.fnScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(2);\" onmouseout=\"parent.fnMouseOutScroll(2);\"><a>></a></td>"+ |
| 67 | + "<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(3);\" onmouseout=\"parent.fnMouseOutScroll(3);\"><a>»</a></td>"+ |
| 68 | + "<td style=\"font:1pt\"> <td></tr></table></body></html>"; |
| 69 | + |
| 70 | +frames['frScroll'].document.open("text/html","replace"); |
| 71 | +frames['frScroll'].document.write(szHTML); |
| 72 | +frames['frScroll'].document.close(); |
| 73 | + |
| 74 | + szHTML = |
| 75 | + "<html><head>"+ |
| 76 | + "<style>A:link,A:visited,A:active {text-decoration:none;"+"color:"+c_rgszClr[3]+";}"+ |
| 77 | + ".clTab {cursor:hand;background:"+c_rgszClr[1]+";font:8pt Arial;padding-left:3px;padding-right:3px;text-align:center;}"+ |
| 78 | + ".clBorder {background:"+c_rgszClr[2]+";font:1pt;}"+ |
| 79 | + "</style></head><body onload=\"parent.fnInit();\" onselectstart=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+ |
| 80 | + " topmargin=0 leftmargin=0><table id=tbTabs cellpadding=0 cellspacing=0>"; |
| 81 | + |
| 82 | + var iCellCount=(c_lTabs+1)*2; |
| 83 | + |
| 84 | + var i; |
| 85 | + for (i=0;i<iCellCount;i+=2) |
| 86 | + szHTML+="<col width=1><col>"; |
| 87 | + |
| 88 | + var iRow; |
| 89 | + for (iRow=0;iRow<6;iRow++) { |
| 90 | + |
| 91 | + szHTML+="<tr>"; |
| 92 | + |
| 93 | + if (iRow==5) |
| 94 | + szHTML+="<td colspan="+iCellCount+"></td>"; |
| 95 | + else { |
| 96 | + if (iRow==0) { |
| 97 | + for(i=0;i<iCellCount;i++) |
| 98 | + szHTML+="<td height=1 class=\"clBorder\"></td>"; |
| 99 | + } else if (iRow==1) { |
| 100 | + for(i=0;i<c_lTabs;i++) { |
| 101 | + szHTML+="<td height=1 nowrap class=\"clBorder\"> </td>"; |
| 102 | + szHTML+= |
| 103 | + "<td id=tdTab height=1 nowrap class=\"clTab\" onmouseover=\"parent.fnMouseOverTab("+i+");\" onmouseout=\"parent.fnMouseOutTab("+i+");\">"+ |
| 104 | + "<a href=\""+document.all.item("shLink")[i].href+"\" target=\"frSheet\" id=aTab> "+c_rgszSh[i]+" </a></td>"; |
| 105 | + } |
| 106 | + szHTML+="<td id=tdTab height=1 nowrap class=\"clBorder\"><a id=aTab> </a></td><td width=100%></td>"; |
| 107 | + } else if (iRow==2) { |
| 108 | + for (i=0;i<c_lTabs;i++) |
| 109 | + szHTML+="<td height=1></td><td height=1 class=\"clBorder\"></td>"; |
| 110 | + szHTML+="<td height=1></td><td height=1></td>"; |
| 111 | + } else if (iRow==3) { |
| 112 | + for (i=0;i<iCellCount;i++) |
| 113 | + szHTML+="<td height=1></td>"; |
| 114 | + } else if (iRow==4) { |
| 115 | + for (i=0;i<c_lTabs;i++) |
| 116 | + szHTML+="<td height=1 width=1></td><td height=1></td>"; |
| 117 | + szHTML+="<td height=1 width=1></td><td></td>"; |
| 118 | + } |
| 119 | + } |
| 120 | + szHTML+="</tr>"; |
| 121 | + } |
| 122 | + |
| 123 | + szHTML+="</table></body></html>"; |
| 124 | + |
| 125 | +frames['frTabs'].document.open("text/html","replace"); |
| 126 | +frames['frTabs'].document.charset=document.charset; |
| 127 | +frames['frTabs'].document. write(szHTML); |
| 128 | +frames['frTabs'].document.close(); |
| 129 | + |
| 130 | +} |
| 131 | + |
| 132 | +function fnInit() |
| 133 | +{ |
| 134 | + if (parent.window.g_iIEVer>=4) { |
| 135 | + if (document.readyState=="complete" |
| 136 | + && frames['frTabs'].document.readyState=="complete") |
| 137 | + { |
| 138 | + g_rglTabX[0]=0; |
| 139 | + var i; |
| 140 | + for (i=1;i<=c_lTabs;i++) |
| 141 | + with (frames['frTabs'].document.all.tbTabs.rows[1].cells[fnTabToCol(i-1)]) |
| 142 | + g_rglTabX[i]=offsetLeft+offsetWidth-6; |
| 143 | + } |
| 144 | + else |
| 145 | + window.setTimeout("fnInit()",150); |
| 146 | + } |
| 147 | +} |
| 148 | + |
| 149 | +function fnGetIEVer() |
| 150 | +{ |
| 151 | + var stzAgent=navigator.userAgent; |
| 152 | + var iVer=parseInt(navigator.appVersion); |
| 153 | + if (stzAgent.indexOf("MSIE")!=-1 && iVer<4) |
| 154 | + g_iIEVer=3; |
| 155 | + else if (stzAgent.indexOf("MSIE 4")!=-1) |
| 156 | + g_iIEVer=4; |
| 157 | + else |
| 158 | + g_iIEVer=5; |
| 159 | +} |
| 160 | + |
| 161 | +function fnTabToCol(iTab) |
| 162 | +{ |
| 163 | + return 2*iTab+1; |
| 164 | +} |
| 165 | + |
| 166 | +function fnNextTab(fDir) |
| 167 | +{ |
| 168 | + var iNextTab=-1; |
| 169 | + var i; |
| 170 | + |
| 171 | + with (frames['frTabs'].document.body) { |
| 172 | + if (fDir==0) { |
| 173 | + if (scrollLeft>0) { |
| 174 | + for (i=0;i<c_lTabs&&g_rglTabX[i]<scrollLeft;i++); |
| 175 | + if (i<c_lTabs) |
| 176 | + iNextTab=i-1; |
| 177 | + } |
| 178 | + } else { |
| 179 | + if (g_rglTabX[c_lTabs]+6>offsetWidth+scrollLeft) { |
| 180 | + for (i=0;i<c_lTabs&&g_rglTabX[i]<=scrollLeft;i++); |
| 181 | + if (i<c_lTabs) |
| 182 | + iNextTab=i; |
| 183 | + } |
| 184 | + } |
| 185 | + } |
| 186 | + return iNextTab; |
| 187 | +} |
| 188 | + |
| 189 | +function fnScrollTabs(fDir) |
| 190 | +{ |
| 191 | + var iNextTab=fnNextTab(fDir); |
| 192 | + |
| 193 | + if (iNextTab>=0) { |
| 194 | + frames['frTabs'].scroll(g_rglTabX[iNextTab],0); |
| 195 | + return true; |
| 196 | + } else |
| 197 | + return false; |
| 198 | +} |
| 199 | + |
| 200 | +function fnFastScrollTabs(fDir) |
| 201 | +{ |
| 202 | + if (c_lTabs>16) |
| 203 | + frames['frTabs'].scroll(g_rglTabX[fDir?c_lTabs-1:0],0); |
| 204 | + else |
| 205 | + if (fnScrollTabs(fDir)>0) window.setTimeout("fnFastScrollTabs("+fDir+");",5); |
| 206 | +} |
| 207 | + |
| 208 | +function fnSetTabProps(iTab,fActive) |
| 209 | +{ |
| 210 | + var iCol=fnTabToCol(iTab); |
| 211 | + var i; |
| 212 | + |
| 213 | + if (iTab>=0) { |
| 214 | + with (frames['frTabs'].document.all) { |
| 215 | + with (tbTabs) { |
| 216 | + for (i=0;i<=4;i++) { |
| 217 | + with (rows[i]) { |
| 218 | + if (i==0) |
| 219 | + cells[iCol].style.background=c_rgszClr[fActive?0:2]; |
| 220 | + else if (i>0 && i<4) { |
| 221 | + if (fActive) { |
| 222 | + cells[iCol-1].style.background=c_rgszClr[2]; |
| 223 | + cells[iCol].style.background=c_rgszClr[0]; |
| 224 | + cells[iCol+1].style.background=c_rgszClr[2]; |
| 225 | + } else { |
| 226 | + if (i==1) { |
| 227 | + cells[iCol-1].style.background=c_rgszClr[2]; |
| 228 | + cells[iCol].style.background=c_rgszClr[1]; |
| 229 | + cells[iCol+1].style.background=c_rgszClr[2]; |
| 230 | + } else { |
| 231 | + cells[iCol-1].style.background=c_rgszClr[4]; |
| 232 | + cells[iCol].style.background=c_rgszClr[(i==2)?2:4]; |
| 233 | + cells[iCol+1].style.background=c_rgszClr[4]; |
| 234 | + } |
| 235 | + } |
| 236 | + } else |
| 237 | + cells[iCol].style.background=c_rgszClr[fActive?2:4]; |
| 238 | + } |
| 239 | + } |
| 240 | + } |
| 241 | + with (aTab[iTab].style) { |
| 242 | + cursor=(fActive?"default":"hand"); |
| 243 | + color=c_rgszClr[3]; |
| 244 | + } |
| 245 | + } |
| 246 | + } |
| 247 | +} |
| 248 | + |
| 249 | +function fnMouseOverScroll(iCtl) |
| 250 | +{ |
| 251 | + frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[5]; |
| 252 | +} |
| 253 | + |
| 254 | +function fnMouseOutScroll(iCtl) |
| 255 | +{ |
| 256 | + frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[2]; |
| 257 | +} |
| 258 | + |
| 259 | +function fnMouseOverTab(iTab) |
| 260 | +{ |
| 261 | + if (iTab!=g_iShCur) { |
| 262 | + var iCol=fnTabToCol(iTab); |
| 263 | + with (frames['frTabs'].document.all) { |
| 264 | + tdTab[iTab].style.background=c_rgszClr[5]; |
| 265 | + } |
| 266 | + } |
| 267 | +} |
| 268 | + |
| 269 | +function fnMouseOutTab(iTab) |
| 270 | +{ |
| 271 | + if (iTab>=0) { |
| 272 | + var elFrom=frames['frTabs'].event.srcElement; |
| 273 | + var elTo=frames['frTabs'].event.toElement; |
| 274 | + |
| 275 | + if ((!elTo) || |
| 276 | + (elFrom.tagName==elTo.tagName) || |
| 277 | + (elTo.tagName=="A" && elTo.parentElement!=elFrom) || |
| 278 | + (elFrom.tagName=="A" && elFrom.parentElement!=elTo)) { |
| 279 | + |
| 280 | + if (iTab!=g_iShCur) { |
| 281 | + with (frames['frTabs'].document.all) { |
| 282 | + tdTab[iTab].style.background=c_rgszClr[1]; |
| 283 | + } |
| 284 | + } |
| 285 | + } |
| 286 | + } |
| 287 | +} |
| 288 | + |
| 289 | +function fnSetActiveSheet(iSh) |
| 290 | +{ |
| 291 | + if (iSh!=g_iShCur) { |
| 292 | + fnSetTabProps(g_iShCur,false); |
| 293 | + fnSetTabProps(iSh,true); |
| 294 | + g_iShCur=iSh; |
| 295 | + } |
| 296 | +} |
| 297 | + fnGetIEVer(); |
| 298 | + fnBuildFrameset(); |
| 299 | +//--> |
| 300 | +</script> |
| 301 | +<![endif]><!--[if gte mso 9]><xml> |
| 302 | + <x:ExcelWorkbook> |
| 303 | + <x:ExcelWorksheets> |
| 304 | + <x:ExcelWorksheet> |
| 305 | + <x:Name>Sheet1</x:Name> |
| 306 | + <x:WorksheetSource HRef="songlist.fld/sheet001.htm"/> |
| 307 | + </x:ExcelWorksheet> |
| 308 | + </x:ExcelWorksheets> |
| 309 | + <x:Stylesheet HRef="songlist.fld/stylesheet.css"/> |
| 310 | + <x:WindowHeight>17440</x:WindowHeight> |
| 311 | + <x:WindowWidth>28040</x:WindowWidth> |
| 312 | + <x:WindowTopX>5560</x:WindowTopX> |
| 313 | + <x:WindowTopY>660</x:WindowTopY> |
| 314 | + <x:ProtectStructure>False</x:ProtectStructure> |
| 315 | + <x:ProtectWindows>False</x:ProtectWindows> |
| 316 | + </x:ExcelWorkbook> |
| 317 | +</xml><![endif]--> |
| 318 | +</head> |
| 319 | + |
| 320 | +<frameset rows="*,39" border=0 width=0 frameborder=no framespacing=0> |
| 321 | + <frame src="songlist.fld/sheet001.htm" name="frSheet"> |
| 322 | + <frame src="songlist.fld/tabstrip.htm" name="frTabs" marginwidth=0 marginheight=0> |
| 323 | + <noframes> |
| 324 | + <body> |
| 325 | + <p>This page uses frames, but your browser doesn't support them.</p> |
| 326 | + </body> |
| 327 | + </noframes> |
| 328 | +</frameset> |
| 329 | +</html> |
0 commit comments