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.

alt-design-frameset.html 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
  2. <html>
  3. <head>
  4. <title>Alt Design Frameset</title>
  5. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  6. <script type="text/javascript">
  7. <!--
  8. browserName = navigator.appName;
  9. var isHigh = true;
  10. function lengthenCol() {
  11. if (isHigh) { return; }
  12. fset = document.getElementById("altDesignFramesetRows");
  13. fset.setAttribute("rows", "95%,*");
  14. logowin = top.frames[0];
  15. if (logowin == null) {
  16. alert(
  17. "Requires Navigator >= 7, Mozilla >= 1.2.1 or IE >= 6");
  18. return;
  19. }
  20. logodoc = logowin.document;
  21. lbutton = logodoc.getElementById("lengthenButton");
  22. lbutton.setAttribute("value", "^");
  23. isHigh = true;
  24. }
  25. function shortenCol() {
  26. if ( ! isHigh) { return; }
  27. fset = document.getElementById("altDesignFramesetRows");
  28. fset.setAttribute("rows", "20%,*");
  29. logowin = top.frames[0];
  30. if (logowin == null) {
  31. alert(
  32. "Requires Navigator >= 7, Mozilla >= 1.2.1 or IE >= 6");
  33. return;
  34. }
  35. logodoc = logowin.document;
  36. lbutton = logodoc.getElementById("lengthenButton");
  37. lbutton.setAttribute("value", "v");
  38. isHigh = false;
  39. }
  40. function toggleColHeights() {
  41. if (isHigh) {
  42. shortenCol();
  43. } else {
  44. lengthenCol()
  45. }
  46. }
  47. function displayCode(src) {
  48. top.frames[2].location = src;
  49. shortenCol();
  50. }
  51. function displayHtml(src) {
  52. top.frames[1].location = src;
  53. lengthenCol();
  54. }
  55. function displayAlert(msg) {
  56. alert(msg);
  57. }
  58. -->
  59. </script>
  60. </head>
  61. <frameset id="altDesignFramesetCols" cols="180,*">
  62. <frame id="logoFrame" class="logo" style="padding: 0px; margin: 0px:
  63. border: 0px;" src="logo.html" scrolling="no">
  64. <frameset id="altDesignFramesetRows" rows="95%,*">
  65. <frame id="contents" src="properties/introduction.html">
  66. <frame id= "codeDisplayFrame"
  67. class= "codeDisplay"
  68. src= "codeframe.html" >
  69. </frameset>
  70. </frameset>
  71. </html>