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

  1. -- card: 53245 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 20042
  5. -- name: 
  6.  
  7.  
  8. -- part 34 (field)
  9. -- low flags: 81
  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 35 (field)
  46. -- low flags: 81
  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 36 (field)
  83. -- low flags: 81
  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 77 (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 202708", "iris open"
  111. end mouseUp
  112.  
  113.  
  114. -- part 78 (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 201500", "iris open"
  129. end mouseUp
  130.  
  131.  
  132. -- part contents for background part 6
  133. ----- text -----
  134. Item Map
  135.  
  136. -- part contents for background part 1
  137. ----- text -----
  138. Kitchen Supplies
  139.  
  140. -- part contents for background part 7
  141. ----- text -----
  142. 04029401
  143.  
  144. -- part contents for background part 11
  145. ----- text -----
  146. Menu
  147.  
  148. -- part contents for card part 36
  149. ----- text -----
  150. ≈∏ Cross References ≈∏
  151.  
  152. -- part contents for background part 16
  153. ----- text -----
  154. ‚Ä¢ WHOLE EARTH
  155.  ‚Ä¢ HEALTH
  156.   ‚Ä¢ PREPARING FOOD
  157.  
  158. -- part contents for card part 77
  159. ----- text -----
  160. Williams-Sonoma Catalog for Cooks
  161.  
  162. -- part contents for card part 78
  163. ----- text -----
  164. Jessica‚Äôs Biscuit Cookbook Catalog
  165.  
  166. -- part contents for background part 20
  167. ----- text -----
  168. stack "WHOLE EARTH"
  169. stack "HEALTH"
  170. card id 27017
  171.  
  172. -- part contents for background part 17
  173. ----- text -----
  174. card id 27017
  175.  
  176. -- part contents for background part 18
  177. ----- text -----
  178. card id 52562
  179.  
  180. -- part contents for background part 19
  181. ----- text -----
  182. card id 52205