home *** CD-ROM | disk | FTP | other *** search
/ The Electronic Whole Earth Catalog / ElectronicWholeEarthCatalog.img / HEALTH / card_70020.txt < prev    next >
Text File  |  1989-02-07  |  5KB  |  250 lines

  1. -- card: 70020 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 20042
  5. -- name: 
  6.  
  7.  
  8. -- part 75 (field)
  9. -- low flags: 01
  10. -- high flags: 0004
  11. -- rect: left=46 top=268 right=324 bottom=249
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 9
  17. -- style flags: 0
  18. -- line height: 12
  19. -- part name: xrefs
  20. ----- HyperTalk script -----
  21. -- cd fld "xrefs" script
  22. on mouseup
  23.   -- go to xref card depending which line was clicked on
  24.  
  25.   -- calculate which line
  26.   -- doesn't work if word-wrap occurred
  27.   put 1 + (the clickV - the top of target) div the textHeight of target into clickedLine
  28.   if line clickedLine of target is not empty then
  29.     put line clickedLine of field "xrefAccs" into targAcc
  30.     put line clickedLine of field "xrefDest" into targDestID
  31.  
  32.     if targDestID is not empty then
  33.       set cursor to busy
  34.       lookup targDestID, "zoom open"
  35.     else if targAcc is not empty then
  36.       set cursor to busy
  37.       lookup targAcc, "zoom open"
  38.     end if
  39.   end if
  40. end mouseup
  41.  
  42.  
  43.  
  44.  
  45. -- part 76 (field)
  46. -- low flags: 01
  47. -- high flags: 0004
  48. -- rect: left=246 top=268 right=324 bottom=447
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 0
  52. -- font id: 3
  53. -- text size: 9
  54. -- style flags: 0
  55. -- line height: 12
  56. -- part name: xrefs2
  57. ----- HyperTalk script -----
  58. -- cd fld "xrefs2" script
  59. on mouseup
  60.   -- go to xref card depending which line was clicked on
  61.  
  62.   -- calculaate which line
  63.   -- doesn't work if word-wrap occurred
  64.   put 1 + (the clickV - the top of target) div the textHeight of target into clickedLine
  65.   if line clickedLine of target is not empty then
  66.     put line clickedLine of field "xrefAccs2" into targAcc
  67.     put line clickedLine of field "xrefDest2" into targDestID
  68.  
  69.     if targDestID is not empty then
  70.       set cursor to busy
  71.       lookup targDestID, "zoom open"
  72.     else if targAcc is not empty then
  73.       set cursor to busy
  74.       lookup targAcc, "zoom open"
  75.     end if
  76.   end if
  77. end mouseup
  78.  
  79.  
  80.  
  81.  
  82. -- part 77 (field)
  83. -- low flags: 01
  84. -- high flags: 0002
  85. -- rect: left=159 top=260 right=277 bottom=333
  86. -- title width / last selected line: 0
  87. -- icon id / first selected line: 0 / 0
  88. -- text alignment: 0
  89. -- font id: 3
  90. -- text size: 12
  91. -- style flags: 256
  92. -- line height: 16
  93. -- part name: xrefHeading
  94.  
  95.  
  96. -- part 158 (field)
  97. -- low flags: 01
  98. -- high flags: 0004
  99. -- rect: left=46 top=64 right=97 bottom=240
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 0
  103. -- font id: 3
  104. -- text size: 10
  105. -- style flags: 0
  106. -- line height: 13
  107. -- part name: iMap
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   lookup "card id 59301", "iris open"
  111. end mouseUp
  112.  
  113.  
  114. -- part 159 (field)
  115. -- low flags: 01
  116. -- high flags: 0004
  117. -- rect: left=46 top=103 right=136 bottom=240
  118. -- title width / last selected line: 0
  119. -- icon id / first selected line: 0 / 0
  120. -- text alignment: 0
  121. -- font id: 3
  122. -- text size: 10
  123. -- style flags: 0
  124. -- line height: 13
  125. -- part name: iMap
  126. ----- HyperTalk script -----
  127. on mouseUp
  128.   lookup "card id 209455", "iris open"
  129. end mouseUp
  130.  
  131.  
  132. -- part 160 (field)
  133. -- low flags: 01
  134. -- high flags: 0004
  135. -- rect: left=46 top=142 right=175 bottom=240
  136. -- title width / last selected line: 0
  137. -- icon id / first selected line: 0 / 0
  138. -- text alignment: 0
  139. -- font id: 3
  140. -- text size: 10
  141. -- style flags: 0
  142. -- line height: 13
  143. -- part name: iMap
  144. ----- HyperTalk script -----
  145. on mouseUp
  146.   lookup "card id 211744", "iris open"
  147. end mouseUp
  148.  
  149.  
  150. -- part 161 (field)
  151. -- low flags: 01
  152. -- high flags: 0004
  153. -- rect: left=46 top=181 right=214 bottom=240
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 0 / 0
  156. -- text alignment: 0
  157. -- font id: 3
  158. -- text size: 10
  159. -- style flags: 0
  160. -- line height: 13
  161. -- part name: iMap
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   lookup "card id 210735", "iris open"
  165. end mouseUp
  166.  
  167.  
  168. -- part contents for background part 6
  169. ----- text -----
  170. Item Map
  171.  
  172. -- part contents for background part 1
  173. ----- text -----
  174. Dental Care
  175.  
  176. -- part contents for background part 7
  177. ----- text -----
  178. 04034306
  179.  
  180. -- part contents for background part 10
  181. ----- text -----
  182.  
  183. 04034146
  184. 04029116
  185.  
  186. -- part contents for background part 9
  187. ----- text -----
  188.  
  189. Where There Is No Doctor
  190. Nutrition and Physical Degeneration
  191.  
  192. -- part contents for background part 11
  193. ----- text -----
  194. Menu
  195.  
  196. -- part contents for card part 75
  197. ----- text -----
  198.  
  199. Where There Is No Doctor
  200. Nutrition and Physical Degeneration
  201.  
  202. -- part contents for card part 77
  203. ----- text -----
  204. ≈∏ Cross References ≈∏
  205.  
  206. -- part contents for background part 16
  207. ----- text -----
  208. ‚Ä¢ WHOLE EARTH
  209.  ‚Ä¢ HEALTH
  210.   ‚Ä¢ REMEDIES
  211.  
  212. -- part contents for background part 24
  213. ----- text -----
  214.  
  215. card id 35010 of stack HEALTH
  216. card id 3477 of stack HEALTH
  217.  
  218. -- part contents for card part 158
  219. ----- text -----
  220. Guide to Dental Health
  221.  
  222. -- part contents for card part 159
  223. ----- text -----
  224. How to Save Your Teeth
  225.  
  226. -- part contents for card part 160
  227. ----- text -----
  228. Dental Emergency Kit
  229.  
  230. -- part contents for card part 161
  231. ----- text -----
  232. Where There Is No Dentist
  233.  
  234. -- part contents for background part 20
  235. ----- text -----
  236. stack "WHOLE EARTH"
  237. stack "HEALTH"
  238. card id 33875
  239.  
  240. -- part contents for background part 17
  241. ----- text -----
  242. card id 33875
  243.  
  244. -- part contents for background part 18
  245. ----- text -----
  246. card id 69704
  247.  
  248. -- part contents for background part 19
  249. ----- text -----
  250. card id 70985