home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / smarts / ipf / docsplit.ipf next >
Encoding:
Text File  |  1996-02-21  |  3.9 KB  |  109 lines

  1.  
  2. <include prologsc.tde>
  3.  
  4. .* $FILE_NAME$.ipf -- an online document in a split-window format
  5.  
  6. :userdoc.
  7. :prolog.
  8. :title.$TITLE$
  9. :eprolog.
  10. .*----------------------------------------------------------------
  11. :h1 id=chap1 height=100% width=100% x=right y=top.Chapter 1
  12. :i1.Chapter 1
  13. :p.
  14. This is the first chapter of my online book.
  15. .***********************************
  16. :h2 scroll=none titlebar=both id=topic1 x=left y=top width=$LEFT_WIDTH$% height=100%
  17. group=1 clear.Topic 1
  18. :i1.Topic 1
  19. .* This is a dummy panel for all the panels in a topic.
  20. :link reftype=hd refid='t1desc1' auto child group=200.
  21. :link reftype=hd refid='t1suba' auto dependent group=201.
  22. .*---
  23. :h2 id=t1desc1 hide x=left y=top width=100% height=100% group=200
  24. scroll=horizontal rules=none titlebar=none nosearch noprint.Topic 1
  25. :p.
  26. :hp2.Topic 1:ehp2.
  27. :p.
  28. Select an item&colon.
  29. :sl compact.
  30. :li.:link reftype=hd refid=t1suba vpx=right vpy=top vpcx=$RIGHT_WIDTH$% vpcy=100%
  31. dependent group=2.Subject A:elink.
  32. :li.:link reftype=hd refid=t1subb vpx=right vpy=top vpcx=$RIGHT_WIDTH1$% vpcy=100%
  33. dependent group=3.Subject B:elink.
  34. :li.:link reftype=hd refid=t1subc vpx=right vpy=top vpcx=$RIGHT_WIDTH2$% vpcy=100%
  35. dependent group=4.Subject C:elink.
  36. :li.:link reftype=hd refid=t1subd vpx=right vpy=bottom vpcx=$RIGHT_WIDTH$% vpcy=50%
  37. dependent group=5.Subject D:elink.
  38. :esl.
  39. :p.
  40. When you close this panel, any open Topic 1 Subject panels
  41. are also closed because the links to the Subject panels are dependent upon
  42. this panel.
  43. .*-----
  44. :h2 id=t1suba hide x=$LEFT_WIDTH$% y=top width=$RIGHT_WIDTH$% height=100% group=201.Topic 1 - Subject A
  45. :p.
  46. This is Subject A of Topic 1, Chapter 1.  
  47. :p.
  48. There is an automatic link from the left-hand panel to this one.
  49. .*---
  50. :h2 id=t1subb x=right y=top width=$RIGHT_WIDTH1$% height=100% hide.Topic 1 - Subject B
  51. :p.
  52. This is Subject B of Topic 1, Chapter 1.
  53. .*---
  54. :h2 id=t1subc x=right y=top width=$RIGHT_WIDTH2$% height=100% hide.Topic 1 - Subject C
  55. :p.
  56. This is Subject C of Topic 1, Chapter 1.
  57. .*---
  58. :h2 id=t1subd x=right y=bottom width=$RIGHT_WIDTH$% height=50% hide.Topic 1 - Subject D
  59. :p.
  60. This is Subject D of Topic 1, Chapter 1.
  61. .***********************************
  62. :h2 scroll=none titlebar=both id=topic2 x=left y=top width=$LEFT_WIDTH$% height=100%
  63. group=1 clear.Topic 2
  64. :i1.Topic 2
  65. .* This is a dummy panel for all the panels in a topic.
  66. :link reftype=hd refid='t2desc1' auto child group=200.
  67. :link reftype=hd refid='t2suba' auto dependent group=201.
  68. .*---
  69. :h2 id=t2desc1 hide x=left y=top width=100% height=100% group=200
  70. scroll=horizontal rules=none titlebar=none nosearch noprint.Topic 2
  71. :p.
  72. :hp2.Topic 1:ehp2.
  73. :p.
  74. Select an item&colon.
  75. :sl compact.
  76. :li.:link reftype=hd refid=t2suba vpx=right vpy=top vpcx=$RIGHT_WIDTH$% vpcy=100%
  77. dependent group=2.Subject A:elink.
  78. :li.:link reftype=hd refid=t2subb vpx=right vpy=top vpcx=$RIGHT_WIDTH1$% vpcy=100%
  79. dependent group=3.Subject B:elink.
  80. :li.:link reftype=hd refid=t2subc vpx=right vpy=top vpcx=$RIGHT_WIDTH2$% vpcy=100%
  81. dependent group=4.Subject C:elink.
  82. :li.:link reftype=hd refid=t2subd vpx=right vpy=bottom vpcx=$RIGHT_WIDTH$% vpcy=50%
  83. dependent group=5.Subject D:elink.
  84. :esl.
  85. :p.
  86. When you close this panel, any open Topic 2 Subject panels
  87. are also closed because the links to the Subject panels are dependent upon
  88. this panel.
  89. .*-----
  90. :h2 id=t2suba hide x=$LEFT_WIDTH$% y=top width=$RIGHT_WIDTH$% height=100% group=201.Topic 2 - Subject A
  91. :p.
  92. This is Subject A of Topic 2, Chapter 1.
  93. .*---
  94. :h2 id=t2subb x=right y=top width=$RIGHT_WIDTH1$% height=100% hide.Topic 2 - Subject B
  95. :p.
  96. This is Subject B of Topic 2, Chapter 1.
  97. .*---
  98. :h2 id=t2subc x=right y=top width=$RIGHT_WIDTH2$% height=100% hide.Topic 2 - Subject C
  99. :p.
  100. This is Subject C of Topic 2, Chapter 1.
  101. .*---
  102. :h2 id=t2subd x=right y=bottom width=$RIGHT_WIDTH$% height=50% hide.Topic 2 - Subject D
  103. :p.
  104. This is Subject D of Topic 2, Chapter 1.
  105. .******************************************
  106. :euserdoc.
  107.  
  108.  
  109.