Subversion Repositories SmartDukaan

Rev

Rev 7846 | Rev 7850 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7846 Rev 7849
Line 656... Line 656...
656
		    }
656
		    }
657
		});
657
		});
658
	}
658
	}
659
});
659
});
660
 
660
 
661
function displayCod(d1, d2)	{
661
function displayCod(item_id)	{
662
	$.colorbox({
662
	$.colorbox({
663
		width: "400px",
663
		width: "400px",
664
		height: "350px",
664
		height: "350px",
665
		inline: true,
665
		inline: true,
666
		href: "<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'>"
666
		href: "<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'>"
667
			+"<li>Prepaid delivery date is " + d1 + "</li>"+
667
			+"<li>Prepaid delivery date is " + $('#days_' + item_id) + "</li>"+
668
			"<li>COD delivery date is " + d2 + "</li>"+
668
			"<li>" + $('#coddays_' + item_id) + "</li>"+
669
    "</ul>",
669
    "</ul>",
670
    onComplete: function(){
670
    onComplete: function(){
671
	trackEventWithGA('Widget', 'COD Know More is clicked', '');
671
	trackEventWithGA('Widget', 'COD Know More is clicked', '');
672
		}
672
		}
673
	});
673
	});