Revision 4388
Added by ben leinfelder almost 16 years ago
first-assessment-resultset.xsl | ||
---|---|---|
100 | 100 |
{ method: 'post', |
101 | 101 |
parameters: Form.serialize(submitFormObj), |
102 | 102 |
evalScripts: true, |
103 |
onSuccess: function(transport) {alert('Cart changes saved: ' + operation); window.document.getElementById("iframeheaderclass").src=window.document.getElementById("iframeheaderclass").src;}, |
|
103 |
onSuccess: function(transport) { |
|
104 |
//alert('Cart changes saved: ' + operation); |
|
105 |
window.document.getElementById("iframeheaderclass").src=window.document.getElementById("iframeheaderclass").src;}, |
|
104 | 106 |
onFailure: function(transport) {alert('failure making ajax call');} |
105 | 107 |
}); |
106 | 108 |
|
... | ... | |
141 | 143 |
|
142 | 144 |
} |
143 | 145 |
hideDiv = function(divId) { |
144 |
Element.hide(divId); |
|
146 |
Effect.Fade(divId); |
|
147 |
//Element.hide(divId); |
|
145 | 148 |
} |
146 | 149 |
showDiv = function(divId) { |
147 |
Element.show(divId); |
|
150 |
Effect.Appear(divId) |
|
151 |
//Element.show(divId); |
|
148 | 152 |
} |
149 | 153 |
]]> |
150 | 154 |
</script> |
... | ... | |
158 | 162 |
|
159 | 163 |
Download Selected as: |
160 | 164 |
<a> |
161 |
<xsl:attribute name="href">#</xsl:attribute> |
|
162 |
<xsl:attribute name="onClick">javascript:downloadMergedResponseData('assessmentForm', 'fieldForm')</xsl:attribute> |
|
165 |
<xsl:attribute name="href">javascript:downloadMergedResponseData('assessmentForm', 'fieldForm')</xsl:attribute> |
|
163 | 166 |
<xsl:text>Datafile (.csv)</xsl:text> |
164 | 167 |
</a> |
165 | 168 |
<br/> |
166 | 169 |
Edit Cart: |
167 | 170 |
<a> |
168 |
<xsl:attribute name="href">#</xsl:attribute> |
|
169 |
<xsl:attribute name="onClick">javascript:editCart('assessmentForm', 'add')</xsl:attribute> |
|
171 |
<xsl:attribute name="href">javascript:editCart('assessmentForm', 'add')</xsl:attribute> |
|
170 | 172 |
<xsl:text>Add Selected</xsl:text> |
171 | 173 |
</a> |
172 | 174 |
/ |
173 | 175 |
<a> |
174 |
<xsl:attribute name="href">#</xsl:attribute> |
|
175 |
<xsl:attribute name="onClick">javascript:editCart('assessmentForm', 'remove')</xsl:attribute> |
|
176 |
<xsl:attribute name="href">javascript:editCart('assessmentForm', 'remove')</xsl:attribute> |
|
176 | 177 |
<xsl:text>Remove Selected</xsl:text> |
177 | 178 |
</a> |
178 | 179 |
|
... | ... | |
320 | 321 |
</tr> |
321 | 322 |
|
322 | 323 |
<tr> |
323 |
<td colspan="6"> |
|
324 |
<td> |
|
325 |
</td> |
|
326 |
<td colspan="5"> |
|
327 |
Details ( |
|
324 | 328 |
<a> |
325 |
<xsl:attribute name="href">#</xsl:attribute> |
|
326 |
<xsl:attribute name="onClick">javascript:read('readForm', '<xsl:value-of select="./docid" />', '<xsl:value-of select="$divId" />')</xsl:attribute> |
|
327 |
<xsl:text>View</xsl:text> |
|
329 |
<xsl:attribute name="href">javascript:read('readForm', '<xsl:value-of select="./docid" />', '<xsl:value-of select="$divId" />')</xsl:attribute> |
|
330 |
<xsl:text>+</xsl:text> |
|
328 | 331 |
</a> |
329 | 332 |
/ |
330 | 333 |
<a> |
331 |
<xsl:attribute name="href">#</xsl:attribute> |
|
332 |
<xsl:attribute name="onClick">javascript:hideDiv('<xsl:value-of select="$divId" />')</xsl:attribute> |
|
333 |
<xsl:text>Hide</xsl:text> |
|
334 |
<xsl:attribute name="href">javascript:hideDiv('<xsl:value-of select="$divId" />')</xsl:attribute> |
|
335 |
<xsl:text>-</xsl:text> |
|
334 | 336 |
</a> |
335 |
|
|
336 |
<div> |
|
337 |
) |
|
338 |
</td> |
|
339 |
</tr> |
|
340 |
|
|
341 |
<tr> |
|
342 |
<td colspan="6"> |
|
343 |
<div style="display:none;"> |
|
337 | 344 |
<xsl:attribute name="id"> |
338 | 345 |
<xsl:value-of select="$divId" /> |
339 | 346 |
</xsl:attribute> |
Also available in: Unified diff
added Scriptaculous effects to many of the ajax calls.
neat-o!