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

  1. -- card: 52228 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 20042
  5. -- name: 
  6.  
  7.  
  8. -- part 61 (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 62 (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 63 (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 124 (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 205678", "iris open"
  111. end mouseUp
  112.  
  113.  
  114. -- part 125 (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 208630", "iris open"
  129. end mouseUp
  130.  
  131.  
  132. -- part 126 (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 207384", "iris open"
  147. end mouseUp
  148.  
  149.  
  150. -- part contents for background part 6
  151. ----- text -----
  152. Item Map
  153.  
  154. -- part contents for background part 1
  155. ----- text -----
  156. Cooking
  157.  
  158. -- part contents for background part 7
  159. ----- text -----
  160. 04029207
  161.  
  162. -- part contents for background part 10
  163. ----- text -----
  164.  
  165. 10081109
  166. 07058951
  167.  
  168. -- part contents for background part 9
  169. ----- text -----
  170.  
  171. Herbs
  172. Starting a Small Restaurant
  173.  
  174. -- part contents for background part 11
  175. ----- text -----
  176. Menu
  177.  
  178. -- part contents for card part 61
  179. ----- text -----
  180.  
  181. Herbs 
  182. Starting a Small Restaurant
  183.  
  184. -- part contents for card part 63
  185. ----- text -----
  186. ≈∏ Cross References ≈∏
  187.  
  188. -- part contents for background part 16
  189. ----- text -----
  190. ‚Ä¢ WHOLE EARTH
  191.  ‚Ä¢ HEALTH
  192.   ‚Ä¢ PREPARING FOOD
  193.  
  194. -- part contents for background part 24
  195. ----- text -----
  196.  
  197. card id 97487 of stack PLACE
  198. card id 82704 of stack LIVELIHOOD
  199.  
  200. -- part contents for card part 124
  201. ----- text -----
  202. Joy of Cooking
  203.  
  204. -- part contents for card part 125
  205. ----- text -----
  206. Easy Basics for Good Cooking
  207.  
  208. -- part contents for card part 126
  209. ----- text -----
  210. The New Laurel‚Äôs Kitchen
  211.  
  212. -- part contents for background part 20
  213. ----- text -----
  214. stack "WHOLE EARTH"
  215. stack "HEALTH"
  216. card id 27017
  217.  
  218. -- part contents for background part 17
  219. ----- text -----
  220. card id 27017
  221.  
  222. -- part contents for background part 18
  223. ----- text -----
  224. card id 52205
  225.  
  226. -- part contents for background part 19
  227. ----- text -----
  228. card id 52562