Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.3 KiB

  1. <html>
  2. <style>
  3. a:link {font: 8pt/10pt verdana; color: #FF6633}
  4. a:visited {font: 8pt/10pt verdana; color: #0099FF}
  5. a:active {font: 8pt/10pt verdana; color: white}
  6. </style>
  7. <head>
  8. <script>
  9. function fixSize() {
  10. var hideTop = 80 * 2
  11. var hideLeft = 200 * 2
  12. var ch = document.body.clientHeight
  13. var cw = document.body.clientWidth
  14. if (hideTop > ch) {
  15. document.all.heading.visibility = "hidden"
  16. document.all.FileList.style.pixelTop = 0
  17. document.all.panel.style.pixelTop = 0
  18. } else {
  19. document.all.heading.visibility = "visible"
  20. document.all.FileList.style.top = (document.all.heading.offsetHeight - 0) + "px"
  21. document.all.panel.style.top = (document.all.heading.offsetHeight) + "px"
  22. document.all.rule.style.width = (cw > 65 ? cw - 65 : 0) + "px"
  23. }
  24. if (hideLeft > cw) {
  25. document.all.panel.visibility = "hidden"
  26. document.all.FileList.style.pixelLeft = 0
  27. } else {
  28. document.all.panel.visibility = "visible"
  29. document.all.FileList.style.pixelLeft = document.all.panel.style.pixelWidth
  30. }
  31. document.all.FileList.style.pixelWidth = cw - document.all.FileList.style.pixelLeft
  32. document.all.FileList.style.pixelHeight = ch - document.all.FileList.style.pixelTop
  33. document.all.panel.style.pixelHeight = ch - document.all.panel.style.pixelTop
  34. }
  35. </script>
  36. </head>
  37. <body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0 scroll=no bgcolor=black onload="fixSize()">
  38. <div ID="heading" style="position: absolute; width: 100%; height: 80px; background: URL(res://cdfview.dll/ccsports.gif) no-repeat">
  39. <p style="margin-left: 80px; margin-top: 10px">
  40. <table>
  41. <tr>
  42. <td nowrap>
  43. <font style="font: 16pt/16pt verdana; font-weight: bold; color: #0099FF">
  44. sports
  45. </font>
  46. </td>
  47. </tr>
  48. </table>
  49. <hr ID="rule" style="position: absolute; top: 34px; left: 65px" size=1px color=#808080>
  50. </div>
  51. <div ID="panel" style="position: absolute; top: 80px; width: 200px; background: black; overflow: auto">
  52. <p style="margin-left: 20px; margin-top: 8px; margin-right: 8px">
  53. <font style="font: 8pt/10pt verdana; font-weight: normal; color: white">
  54. To view a channel's content, click its logo to make available offline.
  55. <br><br>
  56. To update content, go to the Favorites menu and select Synchronize.
  57. <br><br>
  58. To see the latest channels for this category, go to the <a href="http://www.iechannelguide.com/guide/en/en_us.asp">Microsoft Channel Guide</a>.
  59. </font>
  60. </div>
  61. <object id="FileList" resizeable="XY"
  62. classid="clsid:131A6951-7F78-11D0-A979-00C04FD705A2"
  63. style="position: absolute; left: 200px; top: 80px; width: 100%; height: 100%">
  64. <param name="BorderColor" value="0">
  65. </object>
  66. <script language="JavaScript">
  67. window.onresize = fixSize;
  68. </script>
  69. </body>
  70. </html>