Subversion Repositories SmartDukaan

Rev

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

Rev 7850 Rev 7865
Line 73... Line 73...
73
	});
73
	});
74
 
74
 
75
	$('#cod_know_more,.cod_know_more').click(function(){
75
	$('#cod_know_more,.cod_know_more').click(function(){
76
		$.colorbox({
76
		$.colorbox({
77
    		width: "400px",
77
    		width: "400px",
78
    		height: "350px",
78
    		height: "30px",
79
    		inline: true,
79
    		inline: true,
80
    		href: "<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'>"
80
    		href: "<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'>"
81
    			+"<li>Prepaid delivery date is " + $("#shipping_time .red").html() + "</li>"+
81
    			+"<li>Expected delivery date for Prepaid orders is " + $("#shipping_time .red").html() + "</li>"+
82
    			"<li>" + $("#shipping_time .cod").html() + "</li>"+
82
    			"<li>" + $("#shipping_time .cod").html() + "</li>"+
83
        "</ul>",
83
        "</ul>",
84
        onComplete: function(){
84
        onComplete: function(){
85
		trackEventWithGA('Widget', 'COD Know More is clicked', '');
85
		trackEventWithGA('Widget', 'COD Know More is clicked', '');
86
			}
86
			}
Line 659... Line 659...
659
});
659
});
660
 
660
 
661
function displayCod(item_id)	{
661
function displayCod(item_id)	{
662
	$.colorbox({
662
	$.colorbox({
663
		width: "400px",
663
		width: "400px",
664
		height: "350px",
664
		height: "30px",
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 " + $('#days_' + item_id).html() + "</li>"+
667
			+"<li>Expected delivery date for Prepaid orders is " + $('#days_' + item_id).html() + "</li>"+
668
			"<li>" + $('#coddays_' + item_id).html() + "</li>"+
668
			"<li>" + $('#coddays_' + item_id).html() + "</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
		}