Project

General

Profile

« Previous | Next » 

Revision 4392

highlight the cart contents on reload

View differences:

header.jsp
49 49
	function highlight() {
50 50
		//Effect.Pulsate('importantThings', { pulses: 1, duration: 2 });
51 51
		//Effect.Fade('importantThings');
52
		Effect.Shake('importantThings');
52
		new Effect.Highlight('importantThings', { startcolor: '#ffff99', endcolor: '#ffffff' });
53
		//Effect.Shake('importantThings');
53 54
	}
54 55
</script>		
55 56
	
......
89 90
						Map fields = 
90 91
							SessionService.getRegisteredSession(request.getSession().getId()).getDocumentCart().getFields();
91 92
						%>
92
						<a href="cart.jsp" target="_top">
93
							Cart 
94
						</a>	
95
							<div id="importantThings">
96
								(Items: <%=docids.length %>, Fields: <%=fields.size() %>)
97
							</div>
93
						<div id="importantThings">
94
							<a href="cart.jsp" target="_top">
95
								Cart 
96
							</a>	
97
							
98
							(Items: <%=docids.length %>, Fields: <%=fields.size() %>)
99
						</div>
98 100
					</td>
99 101
				</tr>
100 102
				<tr>

Also available in: Unified diff