Project

General

Profile

« Previous | Next » 

Revision 5785

apply accordian listeners to cart and search results separately

View differences:

index.jsp
286 286
			}
287 287
			// collapsible search results - show and hide the next div
288 288
			$(function() {
289
				$('.accordian').click(function() {
289
				$('#searchResults').find('.accordian').click(function() {
290 290
					var ref = $(this);
291 291
					$(this).parent().next().slideToggle(
292 292
						"slow",
......
312 312

  
313 313
	// start the busy indicator
314 314
	$("#cartResults").busy(
315
			{
316
				position	: 'left', 
317
				offset		: -30, 
318
				hide		: true, 
319
				img			: "<%=STYLE_COMMON_URL%>/jquery/busy/busy.gif" 
320
			});
315
		{
316
			position	: 'left', 
317
			offset		: -30, 
318
			hide		: true, 
319
			img			: "<%=STYLE_COMMON_URL%>/jquery/busy/busy.gif" 
320
		});
321 321
	
322 322
	// for looking up the cart
323 323
	var params = 
......
339 339
			}
340 340
			// collapsible search results - show and hide the next div
341 341
			$(function() {
342
				$('.accordian').click(function() {
342
				$('#cartResults').find('.accordian').click(function() {
343 343
					var ref = $(this);
344 344
					$(this).parent().next().slideToggle(
345 345
						"slow",

Also available in: Unified diff