with-frames.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
  2. <html>
  3. <head>
  4. <title>Kawa manual</title>
  5. <link rel="up" href="../index.html">
  6. <link rel="top" href="../../index.html">
  7. <script type="text/javascript">
  8. var sliderBgcolor = "#60ECEC";
  9. function setHash(pathname) {
  10. var contextLength = location.pathname.indexOf("with-frames");
  11. if (contextLength <= pathname.length)
  12. pathname = pathname.substring(contextLength);
  13. history.replaceState(null, null, "#"+pathname);
  14. };
  15. function framesetLoaded() {
  16. var hash=top.location.hash;
  17. var main=top.main;
  18. if (hash && main) {
  19. // FUTURE: load specified file into main frame
  20. }
  21. }
  22. function framesetUnloaded() {
  23. var request = new XMLHttpRequest();
  24. request.open("GET","(WINDOW-CLOSED)");
  25. request.send(null);
  26. }
  27. </script>
  28. </head>
  29. <frameset cols="280,*" onload="top.framesetLoaded()" onunload="framesetUnloaded()">
  30. <frame name="slider" src="ToC.xhtml">
  31. <frame name="main" src="index.xhtml">
  32. </frameset>
  33. </html>