home *** CD-ROM | disk | FTP | other *** search
/ Dream 42 / Amiga_Dream_42.iso / RiscPC / Internet / Web / web10.spk / !Webster_Docs_structures < prev    next >
Encoding:
Text File  |  1995-05-24  |  2.6 KB  |  154 lines

  1. Structures & Variables
  2. ----------------------
  3.  
  4. Links
  5. -----
  6. +0 ptr to next OR 0
  7. +4 ptr to href FIELD
  8. +8 flags
  9.    0 = link has an image map
  10. +12..+32 iconhandles or icons for this link
  11.  
  12. Form
  13. ----
  14.  
  15. +0 ptr to next form
  16. +4 ptr to contents
  17. +8 method 0 - POST
  18.           1 - GET 
  19.           2 - sendmail
  20. +12.. Action
  21.  
  22. Form Contents
  23. -------------
  24. Type 0 - Text Field
  25. +0 ptr to next Content
  26. +4 type
  27. +8 Icon handle
  28. +12.. name$,default_value$
  29.  
  30. Type 1 - Check box / Radio
  31. +0 ptr to next Content
  32. +4 type
  33. +8 Icon Handle
  34. +12.. name$,value_if_checked$
  35.  
  36. Type 2 = Submit
  37. +0 ptr to next Content
  38. +4 type
  39. +8 Icon Handle
  40.  
  41. Type 3 = Reset
  42. +0 ptr to next Content
  43. +4 type
  44. +8 Icon Handle
  45.  
  46. Type 4 = Option
  47. +0 ptr to next Content
  48. +4 type
  49. +8 Value Icon Handle
  50. +12 Menu Icon Handle
  51. +16 ptr to menu
  52. +20.. NAME
  53.  
  54. Type 5 = Option, Multiple Selections
  55. +0 ptr to next Content
  56. +4 type
  57. +8 Value Icon Handle
  58. +12 Menu Icon Handle
  59. +16 ptr to menu
  60. +20.. NAME
  61.  
  62. Type 6 = TextArea 
  63. +0 ptr to next Content
  64. +4 type
  65. +8 icon%
  66. +12 Rows
  67. +16 Cols
  68. +20 ptr to data lines
  69. +24 .. name$
  70.  
  71. Type 7 = ImageMap       - Not yet sendable
  72. +0 ptr to next Content
  73. +4 type
  74. +8 Value Icon Handle
  75. +12.. NAME
  76.  
  77. Misc
  78. ----
  79. Intermediate structure for <OPTION> value parts of
  80. <SELECT>..</SELECT>
  81.  
  82. +0 ptr to next
  83. +4 FLAG bit 0 = Selected, 1 = Shaded
  84. +8... CONTENT
  85.  
  86. Lists
  87. -----
  88. +0 ptr to next
  89. +4  spare
  90. +8  ptr to name
  91. +12 ptr to url
  92. +16 ptr to goto string (History list only)
  93. +20 Windows scroll value (History list only)
  94. +24 Windows height (History list only)
  95.  
  96. Method flags - mf%()
  97. --------------------
  98. 0 - Ignore
  99. 1 - Standard Fetcher
  100. 2 - Command line
  101. 3 - Open Edit Window
  102. 4 - Open Save Window
  103. 5 - Standard Fetcher with an Extended URL
  104.  
  105. Cache variables
  106. ---------------
  107. cs%() - Cache Status
  108.  
  109. -1 - Unused     cache%()=9999
  110.  0 - Available  cache%()=Age of entry (from 1)
  111.  1 - Fetching   cache%()=- task handle
  112.  2 - Fetching   cache%()=- Fetch Message Referance
  113.                 csp%()= Handle of file to contain Result
  114.                         1024* Handle of file holding URL (if an Extended URL)
  115.                         
  116.  3 - inuse      cache%()=0
  117.  
  118. csp%() More Cache Status info 
  119.  
  120. cache%() - Cache time, See above
  121.  
  122. cachet$() - Filetype
  123.  
  124. cache$() - The cached URL (in Capitals when fetched)
  125.  
  126. List Types
  127. ----------
  128.  
  129. 0 - UL
  130. 1 - OL
  131. 2 - DIR
  132. 3 - MENU
  133.  
  134. Image alignment flags
  135. ---------------------
  136. 0 - left
  137. 1 - right
  138. 2 - top, texttop
  139. 3 - bottom, baseline
  140. 4 - middle, absmiddle
  141.  
  142. Choices flags (in MF%)
  143. 1 - Window shift thingy
  144. 2 - Keep Main window on screen
  145. 4 - Can Toggle to screen width
  146. 8 - Single Click Follows links
  147.  
  148. Run Types
  149. 0 - Nothing
  150. 1 - Filer_Run
  151. 2 - Load into Webster
  152. 3 - COmmand line
  153. 4 - Save Window
  154.