Project

General

Profile

« Previous | Next » 

Revision 4388

added Scriptaculous effects to many of the ajax calls.
neat-o!

View differences:

cart.jsp
44 44
<script language="Javascript" type="text/JavaScript"
45 45
	src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js">
46 46
</script>	
47
<script language="Javascript" type="text/JavaScript"
48
	src="<%=STYLE_COMMON_URL%>/effects.js">
49
</script>
47 50
<script language="Javascript">
48 51
		
49 52
		function listAssessments(){
......
59 62
			var queryString = 
60 63
				generateAssessmentListString(docids);
61 64
					
62
			callAjax(metacatURL, queryString, "first-assessment", "ajaxCartResults");			
65
			callAjax(metacatURL, queryString, "first-assessment", "ajaxCartResults");
66
			
67
			Effect.Appear('ajaxCartResults');
68
			//Effect.BlindDown('ajaxCartResults');
63 69
		}
70
		
64 71
   </script>
65 72
</head>
66 73
<body onload="listAssessments()">
......
72 79
<table width="100%" border="0" cellspacing="0" cellpadding="0">
73 80
	<tr>
74 81
		<th>
75
			Shopping Cart
82
			Cart
76 83
			<form method="POST" action="<%=SERVLET_URL%>" target="_top" id="searchForm">
77 84
				<input name="qformat" value="first-assessment" type="hidden"> 
78 85
				<input name="action" value="squery" type="hidden"> 	
......
103 110
	</tr>
104 111
	<tr>
105 112
		<td>
106
			<div id="ajaxCartResults">Loading Cart...</div>
113
			<div id="ajaxCartResults" style="display:none;">Loading Cart...</div>
107 114
		</td>
108 115
	</tr>
109 116
</table>

Also available in: Unified diff