| Line 1... |
Line 1... |
| 1 |
function toggle(containerId){
|
1 |
function toggle(containerId){
|
| 2 |
var divC = document.getElementById(containerId);
|
2 |
var divC = document.getElementById(containerId);
|
| 3 |
if (divC.style.display == 'none') {
|
3 |
if (divC.style.display == 'none') {
|
| 4 |
divC.style.display = 'block';
|
4 |
divC.style.display = 'block';
|
| 5 |
} else if (divC.style.display == 'block'){
|
5 |
} else if (divC.style.display == 'block'){
|
| 6 |
divC.style.display = 'none';
|
6 |
divC.style.display = 'none';
|
| 7 |
}
|
7 |
}
|
| 8 |
else {
|
8 |
else {
|
| 9 |
divC.style.display = 'none';
|
9 |
divC.style.display = 'none';
|
| - |
|
10 |
}
|
| - |
|
11 |
}
|
| - |
|
12 |
|
| - |
|
13 |
function checkEmiObject (value) {
|
| - |
|
14 |
if (value==undefined) {
|
| - |
|
15 |
return "1";
|
| 10 |
}
|
16 |
} else {
|
| - |
|
17 |
return "2";
|
| 11 |
}
|
18 |
}
|
| - |
|
19 |
}
|
| 12 |
|
20 |
|
| 13 |
$(function(){
|
21 |
$(function(){
|
| 14 |
function CollapsibleWidget(container) {
|
22 |
function CollapsibleWidget(container) {
|
| 15 |
|
23 |
|
| 16 |
this.widgetContainer = container;
|
24 |
this.widgetContainer = container;
|
| 17 |
this.collapsbiles = $(container).children('.common-widget-control-bar, .common-widget-content-area');
|
25 |
this.collapsbiles = $(container).children('.common-widget-control-bar, .common-widget-content-area');
|
| 18 |
this.isCollapsed = null;
|
26 |
this.isCollapsed = null;
|
| 19 |
|
27 |
|
| 20 |
this.collapse = function() {
|
28 |
this.collapse = function() {
|
| 21 |
$(this.collapsbiles).each(function() {
|
29 |
$(this.collapsbiles).each(function() {
|
| 22 |
$(this).slideUp();
|
30 |
$(this).slideUp();
|
| 23 |
});
|
31 |
});
|
| 24 |
this.isCollapsed = true;
|
32 |
this.isCollapsed = true;
|
| 25 |
};
|
33 |
};
|
| 26 |
|
34 |
|
| 27 |
this.open = function() {
|
35 |
this.open = function() {
|
| 28 |
$(this.collapsbiles).each(function() {
|
36 |
$(this.collapsbiles).each(function() {
|
| 29 |
$(this).slideDown();
|
37 |
$(this).slideDown();
|
| 30 |
});
|
38 |
});
|
| 31 |
this.isCollapsed = false;
|
39 |
this.isCollapsed = false;
|
| 32 |
};
|
40 |
};
|
| 33 |
|
41 |
|
| 34 |
this.test = function() {
|
42 |
this.test = function() {
|
| 35 |
};
|
43 |
};
|
| 36 |
}
|
44 |
}
|
| 37 |
|
45 |
|
| 38 |
ResearchWidget.prototype = new CollapsibleWidget();
|
46 |
ResearchWidget.prototype = new CollapsibleWidget();
|
| 39 |
ResearchWidget.prototype.constructor = CollapsibleWidget;
|
47 |
ResearchWidget.prototype.constructor = CollapsibleWidget;
|
| 40 |
|
48 |
|
| 41 |
function ResearchWidget(container) {
|
49 |
function ResearchWidget(container) {
|
| 42 |
CollapsibleWidget.call(this, container);
|
50 |
CollapsibleWidget.call(this, container);
|
| 43 |
}
|
51 |
}
|
| 44 |
|
52 |
|
| 45 |
function updateCompareCount() {
|
53 |
function updateCompareCount() {
|
| 46 |
$('#research_compare_count').html($('#myresearch input[type="checkbox"]:checked').length);
|
54 |
$('#research_compare_count').html($('#myresearch input[type="checkbox"]:checked').length);
|
| 47 |
}
|
55 |
}
|
| 48 |
|
56 |
|
| 49 |
/** Sidebar Widgets **/
|
57 |
/** Sidebar Widgets **/
|
| 50 |
|
58 |
|
| 51 |
$('#otg_know_more,.otg_know_more').click(function(){
|
59 |
$('#otg_know_more,.otg_know_more').click(function(){
|
| 52 |
$.colorbox({
|
60 |
$.colorbox({
|
| 53 |
width: "490px",
|
61 |
width: "490px",
|
| 54 |
height: "420px",
|
62 |
height: "420px",
|
| 55 |
inline: true,
|
63 |
inline: true,
|
| 56 |
href: "<h3 style='text-align: center; margin: 18px; font-size: 14px;'>On Time Guarantee, We Pay if we Delay</h3>" +
|
64 |
href: "<h3 style='text-align: center; margin: 18px; font-size: 14px;'>On Time Guarantee, We Pay if we Delay</h3>" +
|
| 57 |
"<p style='text-align: justify; margin-left: 12px; margin-right: 12px; margin-bottom: 9px; line-height: 22px;'>Saholic stands for 100% on time delivery. We ensure all your orders reach your doorstep on or "+
|
65 |
"<p style='text-align: justify; margin-left: 12px; margin-right: 12px; margin-bottom: 9px; line-height: 22px;'>Saholic stands for 100% on time delivery. We ensure all your orders reach your doorstep on or "+
|
| 58 |
"before the promised delivery date. In the rare case that we deliver an order later than promised "+
|
66 |
"before the promised delivery date. In the rare case that we deliver an order later than promised "+
|
| 59 |
"we will compensate you.This Guarantee is Valid on"+
|
67 |
"we will compensate you.This Guarantee is Valid on"+
|
| 60 |
"</p>" +
|
68 |
"</p>" +
|
| 61 |
"<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'><li>All Mobiles, Cameras, Laptops, Tablets and Accessories above Rs. 2000 in value."+
|
69 |
"<ul style='list-style: disc none none; margin-left: 25px; text-align: justify; margin-right:12px; line-height: 22px;'><li>All Mobiles, Cameras, Laptops, Tablets and Accessories above Rs. 2000 in value."+
|
| 62 |
"</li>"+
|
70 |
"</li>"+
|
| 63 |
"<li>Orders Placed using Credit/Debit Card, Net Banking, EMI, Prepaid Cash Cards."+
|
71 |
"<li>Orders Placed using Credit/Debit Card, Net Banking, EMI, Prepaid Cash Cards."+
|
| 64 |
"</li>"+
|
72 |
"</li>"+
|
| 65 |
"</ul>"+
|
73 |
"</ul>"+
|
| 66 |
"<p style='text-align: justify; line-height: 22px; margin: 12px;'>Compensation for delay is in the form of Gift Vouchers at the rate of Rs. 50 per business day. " +
|
74 |
"<p style='text-align: justify; line-height: 22px; margin: 12px;'>Compensation for delay is in the form of Gift Vouchers at the rate of Rs. 50 per business day. " +
|
| 67 |
"GV can be applied to ANY product on Saholic.com without limitation.</p>"+
|
75 |
"GV can be applied to ANY product on Saholic.com without limitation.</p>"+
|
| 68 |
"<span class='right'><a target='_blank' href='/static/on-time-guarantee' style='margin-right: 12px; color: #006699';>Detailed Terms & Conditions</a></span>",
|
76 |
"<span class='right'><a target='_blank' href='/static/on-time-guarantee' style='margin-right: 12px; color: #006699';>Detailed Terms & Conditions</a></span>",
|
| 69 |
onComplete: function(){
|
77 |
onComplete: function(){
|
| 70 |
trackEventWithGA('Widget', 'OTG Know More is clicked', '');
|
78 |
trackEventWithGA('Widget', 'OTG Know More is clicked', '');
|
| 71 |
}
|
79 |
}
|
| 72 |
});
|
80 |
});
|
| 73 |
});
|
81 |
});
|
| 74 |
|
82 |
|
| 75 |
$('#cod_know_more,.cod_know_more').click(function(){
|
83 |
$('#cod_know_more,.cod_know_more').click(function(){
|
| 76 |
$.colorbox({
|
84 |
$.colorbox({
|
| 77 |
width: "400px",
|
85 |
width: "400px",
|
| 78 |
height: "200px",
|
86 |
height: "200px",
|
| 79 |
inline: true,
|
87 |
inline: true,
|
| 80 |
href: "<ul style='list-style:inside; margin-left: 25px; margin-right:12px; font-size:15px; line-height: 22px;'>"
|
88 |
href: "<ul style='list-style:inside; margin-left: 25px; margin-right:12px; font-size:15px; line-height: 22px;'>"
|
| 81 |
+ "Expected Delivery Date for "
|
89 |
+ "Expected Delivery Date for "
|
| 82 |
+"<li list-style:inside>Prepaid orders is " + $("#shipping_time .red").html() + "</li>"+
|
90 |
+"<li list-style:inside>Prepaid orders is " + $("#shipping_time .red").html() + "</li>"+
|
| 83 |
"<li list-style:inside>" + $("#shipping_time .cod").html() + "</li>"+
|
91 |
"<li list-style:inside>" + $("#shipping_time .cod").html() + "</li>"+
|
| 84 |
"</ul>",
|
92 |
"</ul>",
|
| 85 |
onComplete: function(){
|
93 |
onComplete: function(){
|
| 86 |
trackEventWithGA('Widget', 'COD Know More is clicked', '');
|
94 |
trackEventWithGA('Widget', 'COD Know More is clicked', '');
|
| 87 |
}
|
95 |
}
|
| 88 |
});
|
96 |
});
|
| 89 |
});
|
97 |
});
|
| 90 |
|
98 |
|
| 91 |
|
99 |
|
| 92 |
$('#shoppingExpInfo').click(function(){
|
100 |
$('#shoppingExpInfo').click(function(){
|
| 93 |
$.colorbox({
|
101 |
$.colorbox({
|
| 94 |
width: "550px",
|
102 |
width: "550px",
|
| 95 |
height: "320px",
|
103 |
height: "320px",
|
| 96 |
inline: true,
|
104 |
inline: true,
|
| 97 |
href: "<h3>Shopping with Saholic.com is completely safe</h3><br />" +
|
105 |
href: "<h3>Shopping with Saholic.com is completely safe</h3><br />" +
|
| 98 |
"<b>1.</b> We are part of Spice Group - India's # 1 Mobile retailer.<br /><br />" +
|
106 |
"<b>1.</b> We are part of Spice Group - India's # 1 Mobile retailer.<br /><br />" +
|
| 99 |
"<b>2.</b> We procure directly from the Manufacturers - Hence we only sell genuine products with full Manufacturer Warranty.<br /><br />" +
|
107 |
"<b>2.</b> We procure directly from the Manufacturers - Hence we only sell genuine products with full Manufacturer Warranty.<br /><br />" +
|
| 100 |
"<b>3.</b> We provide free Next Day Delivery to most locations - You can check the delivery time to your location by entering your pin code on the product page.<br /><br />" +
|
108 |
"<b>3.</b> We provide free Next Day Delivery to most locations - You can check the delivery time to your location by entering your pin code on the product page.<br /><br />" +
|
| 101 |
"<b>4.</b> We use the best Internet Security technology - Your payment is 100% secure.<br />",
|
109 |
"<b>4.</b> We use the best Internet Security technology - Your payment is 100% secure.<br />",
|
| 102 |
onComplete: function(){
|
110 |
onComplete: function(){
|
| 103 |
trackEventWithGA('Widget', 'Safe shopping sticky banner is clicked', '');
|
111 |
trackEventWithGA('Widget', 'Safe shopping sticky banner is clicked', '');
|
| 104 |
}
|
112 |
}
|
| 105 |
});
|
113 |
});
|
| 106 |
});
|
114 |
});
|
| 107 |
|
115 |
|
| 108 |
$('#promotion-diwali').click(function(){
|
116 |
$('#promotion-diwali').click(function(){
|
| 109 |
$.colorbox({
|
117 |
$.colorbox({
|
| 110 |
width: "550px",
|
118 |
width: "550px",
|
| 111 |
height: "280px",
|
119 |
height: "280px",
|
| 112 |
inline: true,
|
120 |
inline: true,
|
| 113 |
href: "<h3 style='font-size:15px; text-align:center; font-weight:bold; margin-left:15px; margin-top:5px;margin-bottom:10px'>Terms and Conditions</h3>" +
|
121 |
href: "<h3 style='font-size:15px; text-align:center; font-weight:bold; margin-left:15px; margin-top:5px;margin-bottom:10px'>Terms and Conditions</h3>" +
|
| 114 |
"<ul style='text-align: justify; padding-right: 10px; width: 93%; padding-left: 16px; line-height: 25px;'>"+
|
122 |
"<ul style='text-align: justify; padding-right: 10px; width: 93%; padding-left: 16px; line-height: 25px;'>"+
|
| 115 |
"<li>The offer is valid on all accessories.</li>"+
|
123 |
"<li>The offer is valid on all accessories.</li>"+
|
| 116 |
"<li>A discount of 10% (upto a maximum of Rs.500) will be applicable.</li>"+
|
124 |
"<li>A discount of 10% (upto a maximum of Rs.500) will be applicable.</li>"+
|
| 117 |
"<li>The discount can be enjoyed upon using the coupon code: <b>saholicdiwali</b></li>"+
|
125 |
"<li>The discount can be enjoyed upon using the coupon code: <b>saholicdiwali</b></li>"+
|
| 118 |
"<li> The offer is also valid on Cash on Delivery (COD) orders.</li>"+
|
126 |
"<li> The offer is also valid on Cash on Delivery (COD) orders.</li>"+
|
| 119 |
"<li>Only one order per person will be accepted.</li>"+
|
127 |
"<li>Only one order per person will be accepted.</li>"+
|
| 120 |
"<li>The offer is valid till November 12, 2013 or till stocks last.</li>"+
|
128 |
"<li>The offer is valid till November 12, 2013 or till stocks last.</li>"+
|
| 121 |
"<li>Saholic reserves the right to end promotion without any notice.</li>"+
|
129 |
"<li>Saholic reserves the right to end promotion without any notice.</li>"+
|
| 122 |
"</ul>",
|
130 |
"</ul>",
|
| 123 |
onComplete: function(){
|
131 |
onComplete: function(){
|
| 124 |
trackEventWithGA('Widget', 'Saholic Diwali sticky banner is clicked', '');
|
132 |
trackEventWithGA('Widget', 'Saholic Diwali sticky banner is clicked', '');
|
| 125 |
}
|
133 |
}
|
| 126 |
});
|
134 |
});
|
| 127 |
});
|
135 |
});
|
| 128 |
|
136 |
|
| 129 |
|
137 |
|
| 130 |
|
138 |
|
| 131 |
$('.insuranceInfo').click(function(){
|
139 |
$('.insuranceInfo').click(function(){
|
| 132 |
$.colorbox({
|
140 |
$.colorbox({
|
| 133 |
width: "520px",
|
141 |
width: "520px",
|
| 134 |
height: "280px",
|
142 |
height: "280px",
|
| 135 |
inline: true,
|
143 |
inline: true,
|
| 136 |
href: "<h3 style='font-size:15px; text-align:center; font-weight:bold; margin-left:15px; margin-top:5px;margin-bottom:10px'>Exclusively at Saholic</h3>" +
|
144 |
href: "<h3 style='font-size:15px; text-align:center; font-weight:bold; margin-left:15px; margin-top:5px;margin-bottom:10px'>Exclusively at Saholic</h3>" +
|
| 137 |
"<ul style='text-align: justify; padding-right: 10px; width: 93%; padding-left: 16px; line-height: 25px;'>"+
|
145 |
"<ul style='text-align: justify; padding-right: 10px; width: 93%; padding-left: 16px; line-height: 25px;'>"+
|
| 138 |
"<li>Only Saholic brings to you an option to protect your smartphone against theft and burglary.</li>"+
|
146 |
"<li>Only Saholic brings to you an option to protect your smartphone against theft and burglary.</li>"+
|
| 139 |
"<li>While buying your favourite mobile from Saholic, you can opt for 1 year WorldWide theft insurance.</li>"+
|
147 |
"<li>While buying your favourite mobile from Saholic, you can opt for 1 year WorldWide theft insurance.</li>"+
|
| 140 |
"<li>Introductory offer - You can opt for insurance by paying an all inclusive nominal fee of 1.5% of price of your mobile.</li>"+
|
148 |
"<li>Introductory offer - You can opt for insurance by paying an all inclusive nominal fee of 1.5% of price of your mobile.</li>"+
|
| 141 |
"<a target='_blank' href='/static/insurance-terms' style='float: right; text-decoration: none;color:#006699';>Detailed Terms and Conditions</a>"+
|
149 |
"<a target='_blank' href='/static/insurance-terms' style='float: right; text-decoration: none;color:#006699';>Detailed Terms and Conditions</a>"+
|
| 142 |
"</ul>",
|
150 |
"</ul>",
|
| 143 |
onComplete: function(){
|
151 |
onComplete: function(){
|
| 144 |
trackEventWithGA('Widget', 'Insurance sticky banner is clicked', '');
|
152 |
trackEventWithGA('Widget', 'Insurance sticky banner is clicked', '');
|
| 145 |
}
|
153 |
}
|
| 146 |
});
|
154 |
});
|
| 147 |
});
|
155 |
});
|
| 148 |
|
- |
|
| 149 |
|
- |
|
| 150 |
|
- |
|
| 151 |
|
156 |
|
| 152 |
$('.emiInfo').click(function(){
|
157 |
$('.emiInfo').click(function(){
|
| - |
|
158 |
jQuery.ajax({
|
| - |
|
159 |
type : "GET",
|
| - |
|
160 |
url : "/emi-info",
|
| - |
|
161 |
cache: false,
|
| - |
|
162 |
success : function(json){
|
| - |
|
163 |
var emiPopUp = jQuery("#emi_pop_up_upper");
|
| - |
|
164 |
var emiPopUpLower = jQuery("#emi_pop_up_lower");
|
| - |
|
165 |
var parsedData = JSON.parse(json);
|
| - |
|
166 |
var emiPopUpTd=[];
|
| - |
|
167 |
var emiPopUpLowerTd=[];
|
| - |
|
168 |
jQuery("#emi_pop_up_upper tr.emi_pop_up_emirow").remove();
|
| - |
|
169 |
jQuery("#emi_pop_up_lower tr.emi_pop_up_emirow_lower").remove();
|
| - |
|
170 |
emiPopUp.find("tr.emi_pop_up_mk_tenure").after('<tr class="emi_pop_up_emirow"></tr>');
|
| - |
|
171 |
emiPopUpLower.find("tr.emi_pop_up_mk_tenure_lower").after('<tr class="emi_pop_up_emirow_lower"></tr>');
|
| - |
|
172 |
for (var i=0; i<parsedData.Value.length; i++){
|
| - |
|
173 |
emiPopUpTd.push('<tr class="emi_pop_up_emirow"><td><span style="font-size:11px;font-weight:normal;">' +parsedData.Value[i].Bank+ '</span></td>');
|
| - |
|
174 |
if (checkEmiObject(parsedData.Value[i].T3Months)==1){
|
| - |
|
175 |
emiPopUpTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
176 |
}
|
| - |
|
177 |
else{
|
| - |
|
178 |
emiPopUpTd.push('<td><span style="font-size:11px" class="rupee-icon"><b>' +parsedData.Value[i].T3Months+ '</b></span></td>');
|
| - |
|
179 |
}
|
| - |
|
180 |
if (checkEmiObject(parsedData.Value[i].T6Months)==1){
|
| - |
|
181 |
emiPopUpTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
182 |
}
|
| - |
|
183 |
else{
|
| - |
|
184 |
emiPopUpTd.push('<td><span style="font-size:11px" class="rupee-icon"><b>' +parsedData.Value[i].T6Months+ '</b></span></td>');
|
| - |
|
185 |
}
|
| - |
|
186 |
if (checkEmiObject(parsedData.Value[i].T9Months)==1){
|
| - |
|
187 |
emiPopUpTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
188 |
}
|
| - |
|
189 |
else{
|
| - |
|
190 |
emiPopUpTd.push('<td><span style="font-size:11px" class="rupee-icon"><b>' +parsedData.Value[i].T9Months+ '</b></span></td>');
|
| - |
|
191 |
}
|
| - |
|
192 |
if (checkEmiObject(parsedData.Value[i].T12Months)==1){
|
| - |
|
193 |
emiPopUpTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
194 |
}
|
| - |
|
195 |
else{
|
| - |
|
196 |
emiPopUpTd.push('<td><span style="font-size:11px" class="rupee-icon"><b>' +parsedData.Value[i].T12Months+ '</b></span></td>');
|
| - |
|
197 |
}
|
| - |
|
198 |
if (checkEmiObject(parsedData.Value[i].T18Months)==1){
|
| - |
|
199 |
emiPopUpTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td></tr>');
|
| - |
|
200 |
}
|
| - |
|
201 |
else{
|
| - |
|
202 |
emiPopUpTd.push('<td><span style="font-size:11px" class="rupee-icon"><b>' +parsedData.Value[i].T18Months+ '</b></span></td></tr>');
|
| - |
|
203 |
}
|
| - |
|
204 |
|
| - |
|
205 |
}
|
| - |
|
206 |
emiPopUp.find("tr.emi_pop_up_emirow").after(emiPopUpTd.join(""));
|
| - |
|
207 |
for (var i=0; i<parsedData.BankCharges.length; i++){
|
| - |
|
208 |
emiPopUpLowerTd.push('<tr class="emi_pop_up_emirow_lower"><td><span style="font-size:11px;font-weight:normal;">' +parsedData.BankCharges[i].Bank+ '</span></td>');
|
| - |
|
209 |
if (checkEmiObject(parsedData.BankCharges[i].T3Months)==1){
|
| - |
|
210 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
211 |
}
|
| - |
|
212 |
else{
|
| - |
|
213 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +parsedData.BankCharges[i].T3Months+'%'+ '</b></span></td>');
|
| - |
|
214 |
}
|
| - |
|
215 |
if (checkEmiObject(parsedData.BankCharges[i].T6Months)==1){
|
| - |
|
216 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
217 |
}
|
| - |
|
218 |
else{
|
| - |
|
219 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +parsedData.BankCharges[i].T6Months+'%'+ '</b></span></td>');
|
| - |
|
220 |
}
|
| - |
|
221 |
if (checkEmiObject(parsedData.BankCharges[i].T9Months)==1){
|
| - |
|
222 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
223 |
}
|
| - |
|
224 |
else{
|
| - |
|
225 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +parsedData.BankCharges[i].T9Months+'%'+ '</b></span></td>');
|
| - |
|
226 |
}
|
| - |
|
227 |
if (checkEmiObject(parsedData.BankCharges[i].T12Months)==1){
|
| - |
|
228 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td>');
|
| - |
|
229 |
}
|
| - |
|
230 |
else{
|
| - |
|
231 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +parsedData.BankCharges[i].T12Months+'%'+ '</b></span></td>');
|
| - |
|
232 |
}
|
| - |
|
233 |
if (checkEmiObject(parsedData.Value[i].T18Months)==1){
|
| - |
|
234 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +'-'+ '</b></span></td></tr>');
|
| - |
|
235 |
}
|
| - |
|
236 |
else{
|
| - |
|
237 |
emiPopUpLowerTd.push('<td><span style="font-size:11px"><b>' +parsedData.BankCharges[i].T18Months+'%'+'</b></span></td></tr>');
|
| - |
|
238 |
}
|
| - |
|
239 |
}
|
| - |
|
240 |
emiPopUpLower.find("tr.emi_pop_up_emirow_lower").after(emiPopUpLowerTd.join(""));
|
| - |
|
241 |
}
|
| - |
|
242 |
});
|
| 153 |
$.colorbox({
|
243 |
$.colorbox({
|
| 154 |
width: "590px",
|
- |
|
| 155 |
height: "480px",
|
- |
|
| 156 |
inline: true,
|
- |
|
| 157 |
href: "<h3 style='font-size: 15px; text-align: center; font-weight: bold; margin-left: 15px; margin-bottom: 10px; margin-top: 7px;'>Completely Free EMI For 3 Months</h3>" +
|
- |
|
| 158 |
"<div style='display: none; padding-left: 5px;' class='bank-logo'><img src='/images/hdfc-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 159 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: none; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9, 12 and 18 months.Completely free for 3 months<br><a onclick='toggle(\"emi-table-hdfc\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
- |
|
| 160 |
"<div id='emi-table-hdfc' style='padding-left: 5px; display: none;'>"+
|
- |
|
| 161 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 162 |
"<thead>"+
|
- |
|
| 163 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 164 |
"</thead>"+
|
- |
|
| 165 |
"<tbody>"+
|
- |
|
| 166 |
"<tr>"+
|
- |
|
| 167 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 168 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 169 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 170 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 171 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>18 Months</th>"+
|
- |
|
| 172 |
"</tr>"+
|
- |
|
| 173 |
"<tr>"+
|
- |
|
| 174 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 175 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>4.22%</td>"+
|
- |
|
| 176 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>7.04%</td>"+
|
- |
|
| 177 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>9.67%</td>"+
|
- |
|
| 178 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>15.36%</td>"+
|
- |
|
| 179 |
"</tr>"+
|
- |
|
| 180 |
"</tbody>"+
|
- |
|
| 181 |
"</table>"+
|
- |
|
| 182 |
"<br>"+
|
- |
|
| 183 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 184 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 185 |
"<br>"+
|
- |
|
| 186 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li>"+
|
- |
|
| 187 |
"</ul>"+
|
- |
|
| 188 |
"<br>"+
|
- |
|
| 189 |
"</div>"+
|
- |
|
| 190 |
"<div style='display: inline-block; padding-left: 5px;' class='bank-logo'><img src='/images/citi-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 191 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: inline-block; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3 and 6 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-citi\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
244 |
inline:true,
|
| 192 |
"<div id='emi-table-citi' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 193 |
"<table width='70%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 194 |
"<thead>"+
|
- |
|
| 195 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='2'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 196 |
"</thead>"+
|
- |
|
| 197 |
"<tbody>"+
|
- |
|
| 198 |
"<tr>"+
|
- |
|
| 199 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 35%;'>3 Months</th>"+
|
- |
|
| 200 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 35%;'>6 Months</th>"+
|
- |
|
| 201 |
"</tr>"+
|
- |
|
| 202 |
"<tr>"+
|
- |
|
| 203 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 204 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray; text-align: center;'>4.22%</td>"+
|
- |
|
| 205 |
"</tr>"+
|
- |
|
| 206 |
"</tbody>"+
|
- |
|
| 207 |
"</table>"+
|
- |
|
| 208 |
"<br>"+
|
- |
|
| 209 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 210 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 211 |
"<br>"+
|
- |
|
| 212 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li>"+
|
- |
|
| 213 |
"</ul>"+
|
- |
|
| 214 |
"<br>"+
|
- |
|
| 215 |
"</div>"+
|
- |
|
| 216 |
"<div style='display: inline-block; padding-left: 5px;' class='bank-logo'><img src='/images/icici-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 217 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: inline-block; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9 ,12 and 18 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-icici\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
- |
|
| 218 |
"<div id='emi-table-icici' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 219 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 220 |
"<thead>"+
|
- |
|
| 221 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 222 |
"</thead>"+
|
- |
|
| 223 |
"<tbody>"+
|
- |
|
| 224 |
"<tr>"+
|
- |
|
| 225 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 226 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 227 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 228 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 229 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>18 Months</th>"+
|
- |
|
| 230 |
"</tr>"+
|
- |
|
| 231 |
"<tr>"+
|
- |
|
| 232 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 233 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%</td>"+
|
- |
|
| 234 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 235 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>11.53%</td>"+
|
- |
|
| 236 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>16.72%</td>"+
|
- |
|
| 237 |
"</tr>"+
|
- |
|
| 238 |
"</tbody>"+
|
- |
|
| 239 |
"</table>"+
|
- |
|
| 240 |
"<br>"+
|
- |
|
| 241 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 242 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 243 |
"<br>"+
|
- |
|
| 244 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li><br><li>Minimum payment amount required to convert into EMI is Rs 1500.</li>"+
|
- |
|
| 245 |
"</ul>"+
|
- |
|
| 246 |
"<br>"+
|
- |
|
| 247 |
"</div>"+
|
- |
|
| 248 |
"<div style='display: inline-block; padding-left: 5px;' class='bank-logo'><img src='/images/sbi-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 249 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: inline-block; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9 ,12 and 18 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-sbi\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
- |
|
| 250 |
"<div id='emi-table-sbi' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 251 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 252 |
"<thead>"+
|
- |
|
| 253 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 254 |
"</thead>"+
|
- |
|
| 255 |
"<tbody>"+
|
- |
|
| 256 |
"<tr>"+
|
- |
|
| 257 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 258 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 259 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 260 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 261 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>18 Months</th>"+
|
- |
|
| 262 |
"</tr>"+
|
- |
|
| 263 |
"<tr>"+
|
- |
|
| 264 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 265 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%</td>"+
|
- |
|
| 266 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 267 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>11.53%</td>"+
|
- |
|
| 268 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>16.72%</td>"+
|
- |
|
| 269 |
"</tr>"+
|
- |
|
| 270 |
"</tbody>"+
|
- |
|
| 271 |
"</table>"+
|
- |
|
| 272 |
"<br>"+
|
- |
|
| 273 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 274 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 275 |
"<br>"+
|
- |
|
| 276 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li><br><li>Minimum payment amount required to convert into EMI is Rs 1000.</li>"+
|
- |
|
| 277 |
"</ul>"+
|
- |
|
| 278 |
"<br>"+
|
- |
|
| 279 |
"</div>"+
|
- |
|
| 280 |
"<div style='display: inline-block; padding-left: 5px;' class='bank-logo'><img src='/images/kotak-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 281 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: inline-block; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9 and 12 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-kotak\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
245 |
href:"#emiPopUp",
|
| 282 |
"<div id='emi-table-kotak' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 283 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 284 |
"<thead>"+
|
- |
|
| 285 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 286 |
"</thead>"+
|
- |
|
| 287 |
"<tbody>"+
|
- |
|
| 288 |
"<tr>"+
|
- |
|
| 289 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 290 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 291 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 292 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 293 |
"</tr>"+
|
- |
|
| 294 |
"<tr>"+
|
- |
|
| 295 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 296 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%</td>"+
|
- |
|
| 297 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 298 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>11.53%</td>"+
|
- |
|
| 299 |
"</tr>"+
|
- |
|
| 300 |
"</tbody>"+
|
- |
|
| 301 |
"</table>"+
|
- |
|
| 302 |
"<br>"+
|
- |
|
| 303 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 304 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 305 |
"<br>"+
|
- |
|
| 306 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li><br><li>Minimum payment amount required to convert into EMI is Rs 500.</li>"+
|
- |
|
| 307 |
"</ul>"+
|
- |
|
| 308 |
"<br>"+
|
- |
|
| 309 |
"</div>"+
|
- |
|
| 310 |
"<div style='display: inline-block; padding-left: 5px;' class='bank-logo'><img src='/images/hsbc-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 311 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: inline-block; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9 and 12 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-hsbc\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
246 |
width:"600px",
|
| 312 |
"<div id='emi-table-hsbc' style='padding-left: 5px;display:none;'>"+
|
- |
|
| 313 |
"<table width='70%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 314 |
"<thead>"+
|
- |
|
| 315 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 316 |
"</thead>"+
|
- |
|
| 317 |
"<tbody>"+
|
- |
|
| 318 |
"<tr>"+
|
- |
|
| 319 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 320 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 321 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 322 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 323 |
"</tr>"+
|
- |
|
| 324 |
"<tr>"+
|
- |
|
| 325 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 326 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%</td>"+
|
- |
|
| 327 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 328 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>11.53%</td>"+
|
- |
|
| 329 |
"</tr>"+
|
- |
|
| 330 |
"</tbody>"+
|
- |
|
| 331 |
"</table>"+
|
- |
|
| 332 |
"<br>"+
|
- |
|
| 333 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 334 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 335 |
"<br>"+
|
- |
|
| 336 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li><br><li>Minimum payment amount required to convert into EMI is Rs 1500.</li>"+
|
- |
|
| 337 |
"</ul>"+
|
- |
|
| 338 |
"<br>"+
|
- |
|
| 339 |
"</div>"+
|
- |
|
| 340 |
"<div style='display: none; padding-left: 5px;' class='bank-logo'><img src='/images/std-chartered-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 341 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: none; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 3, 6, 9 and 12 months.Completely free for 3 months<br><a onclick='javascript:toggle(\"emi-table-std-chart\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
247 |
height:"410px",
|
| 342 |
"<div id='emi-table-std-chart' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 343 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 344 |
"<thead>"+
|
- |
|
| 345 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 346 |
"</thead>"+
|
- |
|
| 347 |
"<tbody>"+
|
- |
|
| 348 |
"<tr>"+
|
- |
|
| 349 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>3 Months</th>"+
|
- |
|
| 350 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 351 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 352 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 353 |
"</tr>"+
|
- |
|
| 354 |
"<tr>"+
|
- |
|
| 355 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>Free</td>"+
|
- |
|
| 356 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%</td>"+
|
- |
|
| 357 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 358 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>11.53%</td>"+
|
- |
|
| 359 |
"</tr>"+
|
- |
|
| 360 |
"</tbody>"+
|
- |
|
| 361 |
"</table>"+
|
- |
|
| 362 |
"<br>"+
|
- |
|
| 363 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 364 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 365 |
"<br>"+
|
- |
|
| 366 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li><br><li>Minimum payment amount required to convert into EMI is Rs 500.</li>"+
|
- |
|
| 367 |
"</ul>"+
|
- |
|
| 368 |
"<br>"+
|
- |
|
| 369 |
"</div>"+
|
- |
|
| 370 |
"<div style='display: none; padding-left: 5px;' class='bank-logo'><img src='/images/indusind-icon.png' style='vertical-align: middle;'></div>"+
|
- |
|
| 371 |
"<div class='emi-text' style='text-align: justify; height: 49px; padding-left: 3px; width: 397px; display: none; vertical-align: top;'><p style='height: 38px; width: 420px;'>Available for 6, 9 and 12 months. <br><a onclick='javascript:toggle(\"emi-table-indus\");' style='cursor: pointer; text-decoration: none;color:#006699;'>See Full Details</a></p></div>"+
|
248 |
|
| 372 |
"<div id='emi-table-indus' style='padding-left: 5px;display: none;'>"+
|
- |
|
| 373 |
"<table width='85%' cellspacing='0' cellpadding='0' border='0' id='emiwidget' style='padding-top: 2px; padding-bottom: 2px; border-top-width: 0px; border-left-width: 0px;padding-left: 5px'>"+
|
- |
|
| 374 |
"<thead>"+
|
- |
|
| 375 |
"<th style='border:1px solid gray;text-align: center;background-color: #F1F1F1;' colspan='5'>All Inclusive Processing Fee*</th>"+
|
- |
|
| 376 |
"</thead>"+
|
- |
|
| 377 |
"<tbody>"+
|
- |
|
| 378 |
"<tr>"+
|
- |
|
| 379 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>6 Months</th>"+
|
- |
|
| 380 |
"<td style='border-width: 0px 0px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>9 Months</th>"+
|
- |
|
| 381 |
"<td style='border-width: 0px 1px 1px 1px; border-style: solid; border-color: gray;text-align: center; width: 9%;'>12 Months</th>"+
|
- |
|
| 382 |
"</tr>"+
|
- |
|
| 383 |
"<tr>"+
|
- |
|
| 384 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>5.58%%</td>"+
|
- |
|
| 385 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 0px solid gray; text-align: center;'>8.47%</td>"+
|
- |
|
| 386 |
"<td style='border-bottom: 1px solid gray; border-left: 1px solid gray; border-right: 1px solid gray;text-align: center;'>11.53%</td>"+
|
- |
|
| 387 |
"</tr>"+
|
- |
|
| 388 |
"</tbody>"+
|
- |
|
| 389 |
"</table>"+
|
- |
|
| 390 |
"<br>"+
|
- |
|
| 391 |
"<ul style='list-style : disc none none; padding-left: 20px; text-align:justify; line-height: 13px; padding-right: 10px; width: 83%;'>"+
|
- |
|
| 392 |
"<li>Select EMI on Make Payment Page to see Monthly EMI payable and Total Amount Payable.</li>"+
|
- |
|
| 393 |
"<br>"+
|
- |
|
| 394 |
"<li>No charges will be levied by the bank.</li><br><li>Credit limit of full amount is needed and blocked at the time of buying on EMI.</li><br><li>As you pay the installments, correspondingly your credit limit increases.</li>"+
|
- |
|
| 395 |
"</ul>"+
|
- |
|
| 396 |
"<br>"+
|
- |
|
| 397 |
"</div>"+
|
- |
|
| 398 |
"<br><br>",
|
- |
|
| 399 |
onComplete: function(){
|
249 |
onComplete: function(){
|
| - |
|
250 |
$('#emiPopUp').show();
|
| - |
|
251 |
},
|
| - |
|
252 |
onCleanup: function(){
|
| 400 |
trackEventWithGA('Widget', 'Emi info widget is clicked', '');
|
253 |
$('#emiPopUp').hide();
|
| 401 |
}
|
254 |
}
|
| 402 |
});
|
255 |
});
|
| - |
|
256 |
trackEventWithGA('Widget', 'Emi info widget is clicked', '');
|
| 403 |
});
|
257 |
});
|
| 404 |
|
258 |
|
| 405 |
$('a.mk_best_deal_detail').live('click', function(){
|
259 |
$('a.mk_best_deal_detail').live('click', function(){
|
| 406 |
var offerLinkHtml = '';
|
260 |
var offerLinkHtml = '';
|
| 407 |
if(OFFER_HELP_LINK!='$OFFER_DETAIL_LINK') {
|
261 |
if(OFFER_HELP_LINK!='$OFFER_DETAIL_LINK') {
|
| 408 |
offerLinkHtml = '<a target="_blank" href="' +OFFER_HELP_LINK + '" style="z-index: 1; float: right; bottom: 0px; right: 0px; margin: 15px; position: relative;">More</a></span>';
|
262 |
offerLinkHtml = '<a target="_blank" href="' +OFFER_HELP_LINK + '" style="z-index: 1; float: right; bottom: 0px; right: 0px; margin: 15px; position: relative;">More</a></span>';
|
| 409 |
}
|
263 |
}
|
| 410 |
$.colorbox({
|
264 |
$.colorbox({
|
| 411 |
width: "550px",
|
265 |
width: "550px",
|
| 412 |
height: "300px",
|
266 |
height: "300px",
|
| 413 |
inline: true,
|
267 |
inline: true,
|
| 414 |
href: '<h3 style="text-align: left; padding: 10px;">Offer Details</h3>' +
|
268 |
href: '<h3 style="text-align: left; padding: 10px;">Offer Details</h3>' +
|
| 415 |
'<p style="text-align: justify; line-height: 22px; margin: 12px;">' + OFFER_HELP_TEXT +
|
269 |
'<p style="text-align: justify; line-height: 22px; margin: 12px;">' + OFFER_HELP_TEXT +
|
| 416 |
'</p><span class="right">' + offerLinkHtml
|
270 |
'</p><span class="right">' + offerLinkHtml
|
| 417 |
});
|
271 |
});
|
| 418 |
});
|
272 |
});
|
| 419 |
|
273 |
|
| 420 |
|
274 |
|
| 421 |
$('#pickupstoreInfo').click(function(){
|
275 |
$('#pickupstoreInfo').click(function(){
|
| 422 |
$.colorbox({
|
276 |
$.colorbox({
|
| 423 |
width: "550px",
|
277 |
width: "550px",
|
| 424 |
height: "370px",
|
278 |
height: "370px",
|
| 425 |
inline: true,
|
279 |
inline: true,
|
| 426 |
href: "<h3>Frequently Asked Questions</h3><br />" +
|
280 |
href: "<h3>Frequently Asked Questions</h3><br />" +
|
| 427 |
"<b style='color: black; cursor: default;'>Q)</b> What is 'Buy Online & Pickup in Store' ?<br /><br />" +
|
281 |
"<b style='color: black; cursor: default;'>Q)</b> What is 'Buy Online & Pickup in Store' ?<br /><br />" +
|
| 428 |
"<b style='color: black; cursor: default;'>A)</b> Buy Online from Saholic.Com and pickup your product from the nearest Spice Hotspot Retail Store.<br /><br />" +
|
282 |
"<b style='color: black; cursor: default;'>A)</b> Buy Online from Saholic.Com and pickup your product from the nearest Spice Hotspot Retail Store.<br /><br />" +
|
| 429 |
"<b style='color: black; cursor: default;'>Q)</b> How do i avail this facility ?<br /><br />" +
|
283 |
"<b style='color: black; cursor: default;'>Q)</b> How do i avail this facility ?<br /><br />" +
|
| 430 |
"<b style='color: black; cursor: default;'>A)</b> Simply select Pickup In Store On the Shipping Page and select your nearest store. Please note this facility is available only in Delhi/NCR.</a><br /><br />"+
|
284 |
"<b style='color: black; cursor: default;'>A)</b> Simply select Pickup In Store On the Shipping Page and select your nearest store. Please note this facility is available only in Delhi/NCR.</a><br /><br />"+
|
| 431 |
"<b style='color: black; cursor: default;'>Q)</b> When will the product be available for pickup ?<br /><br />" +
|
285 |
"<b style='color: black; cursor: default;'>Q)</b> When will the product be available for pickup ?<br /><br />" +
|
| 432 |
"<b style='color: black; cursor: default;'>A)</b> You can enter your pin code on the Product Page to find estimated time to deliver. After placing the order we will also give you the estimated date for pickup.</a><br /><br />",
|
286 |
"<b style='color: black; cursor: default;'>A)</b> You can enter your pin code on the Product Page to find estimated time to deliver. After placing the order we will also give you the estimated date for pickup.</a><br /><br />",
|
| 433 |
|
287 |
|
| 434 |
onComplete: function(){
|
288 |
onComplete: function(){
|
| 435 |
var ev = "Product Page";
|
289 |
var ev = "Product Page";
|
| 436 |
var label = window.location.pathname;
|
290 |
var label = window.location.pathname;
|
| 437 |
if (label=="" || label=="#")
|
291 |
if (label=="" || label=="#")
|
| 438 |
{
|
292 |
{
|
| Line 451... |
Line 305... |
| 451 |
} else if (label.substr(label.lastIndexOf('-') + 1).length==7 && typeof label.substr(label.lastIndexOf('-') + 1) =="number") {
|
305 |
} else if (label.substr(label.lastIndexOf('-') + 1).length==7 && typeof label.substr(label.lastIndexOf('-') + 1) =="number") {
|
| 452 |
ev = "Product Page";
|
306 |
ev = "Product Page";
|
| 453 |
}
|
307 |
}
|
| 454 |
trackEventWithGA('Pickup in Store LightBox', ev, label);
|
308 |
trackEventWithGA('Pickup in Store LightBox', ev, label);
|
| 455 |
}
|
309 |
}
|
| 456 |
});
|
310 |
});
|
| 457 |
});
|
311 |
});
|
| 458 |
|
312 |
|
| 459 |
$('.common-widget-top-bar').live('click', function(e, callback){
|
313 |
$('.common-widget-top-bar').live('click', function(e, callback){
|
| 460 |
var isColapsed = $(this).data('is_colapsed') == true ? true : false;
|
314 |
var isColapsed = $(this).data('is_colapsed') == true ? true : false;
|
| 461 |
var widgetBox = $(this).siblings('.common-widget-content-area');
|
315 |
var widgetBox = $(this).siblings('.common-widget-content-area');
|
| 462 |
var controlBox = $(this).siblings('.common-widget-control-bar');
|
316 |
var controlBox = $(this).siblings('.common-widget-control-bar');
|
| 463 |
var controlBoxArrowImg = $(this).find('img');
|
317 |
var controlBoxArrowImg = $(this).find('img');
|
| 464 |
|
318 |
|
| 465 |
if (isColapsed) {
|
319 |
if (isColapsed) {
|
| 466 |
if(controlBox.length > 0) {
|
320 |
if(controlBox.length > 0) {
|
| 467 |
$(controlBox).slideDown('fast', function(){
|
321 |
$(controlBox).slideDown('fast', function(){
|
| 468 |
$(widgetBox).slideDown('fast', callback);
|
322 |
$(widgetBox).slideDown('fast', callback);
|
| 469 |
$(controlBoxArrowImg).attr('src', '/images/IconDownArrow_UnselectedTab.png');
|
323 |
$(controlBoxArrowImg).attr('src', '/images/IconDownArrow_UnselectedTab.png');
|
| Line 478... |
Line 332... |
| 478 |
$(controlBoxArrowImg).attr('src', '/images/IconRightArrow_UnselectedTab.png');
|
332 |
$(controlBoxArrowImg).attr('src', '/images/IconRightArrow_UnselectedTab.png');
|
| 479 |
});
|
333 |
});
|
| 480 |
}
|
334 |
}
|
| 481 |
$(this).data('is_colapsed', !isColapsed);
|
335 |
$(this).data('is_colapsed', !isColapsed);
|
| 482 |
});
|
336 |
});
|
| 483 |
|
337 |
|
| 484 |
/**
|
338 |
/**
|
| 485 |
* Update count of products checked for comparison
|
339 |
* Update count of products checked for comparison
|
| 486 |
**/
|
340 |
**/
|
| 487 |
$('#myresearch input[type="checkbox"]').live('click', function(){
|
341 |
$('#myresearch input[type="checkbox"]').live('click', function(){
|
| 488 |
updateCompareCount();
|
342 |
updateCompareCount();
|
| 489 |
});
|
343 |
});
|
| 490 |
|
344 |
|
| 491 |
$("#research_compare").live('click', function(){
|
345 |
$("#research_compare").live('click', function(){
|
| 492 |
var seldata = "";
|
346 |
var seldata = "";
|
| 493 |
var prodnames = "";
|
347 |
var prodnames = "";
|
| 494 |
var tot = 1;
|
348 |
var tot = 1;
|
| 495 |
var saprt = "";
|
349 |
var saprt = "";
|
| 496 |
var par = $('#myresearch').find('input[type=checkbox]:checked');
|
350 |
var par = $('#myresearch').find('input[type=checkbox]:checked');
|
| 497 |
var haveSameProductType = true;
|
351 |
var haveSameProductType = true;
|
| 498 |
var productType = null;
|
352 |
var productType = null;
|
| 499 |
|
353 |
|
| 500 |
$(par).each(function(){
|
354 |
$(par).each(function(){
|
| 501 |
|
355 |
|
| 502 |
if(productType != null && productType != $(this).attr('producttype')) {
|
356 |
if(productType != null && productType != $(this).attr('producttype')) {
|
| 503 |
haveSameProductType = false;
|
357 |
haveSameProductType = false;
|
| 504 |
}
|
358 |
}
|
| 505 |
productType = $(this).attr('producttype');
|
359 |
productType = $(this).attr('producttype');
|
| 506 |
|
360 |
|
| 507 |
if(tot == 1) {
|
361 |
if(tot == 1) {
|
| 508 |
prodnames += $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
|
362 |
prodnames += $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
|
| 509 |
seldata += "p" + tot + "=" + $(this).val();
|
363 |
seldata += "p" + tot + "=" + $(this).val();
|
| 510 |
} else {
|
364 |
} else {
|
| 511 |
seldata += "&p" + tot + "=" + $(this).val();
|
365 |
seldata += "&p" + tot + "=" + $(this).val();
|
| 512 |
prodnames += "-vs-" + $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
|
366 |
prodnames += "-vs-" + $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
|
| 513 |
}
|
367 |
}
|
| 514 |
tot ++;
|
368 |
tot ++;
|
| 515 |
});
|
369 |
});
|
| 516 |
|
370 |
|
| 517 |
if(! haveSameProductType) {
|
371 |
if(! haveSameProductType) {
|
| 518 |
alert("Only products of same category can be compared");
|
372 |
alert("Only products of same category can be compared");
|
| 519 |
} else if(tot > 6) {
|
373 |
} else if(tot > 6) {
|
| 520 |
alert("Can compare upto five products only.");
|
374 |
alert("Can compare upto five products only.");
|
| 521 |
} else if(tot > 2) {
|
375 |
} else if(tot > 2) {
|
| 522 |
window.location = "/compare-" + productType.replace(/ +/g, '-').toLowerCase() + "/" + prodnames + "?" + seldata+"&fromsrc=comparison_widget";
|
376 |
window.location = "/compare-" + productType.replace(/ +/g, '-').toLowerCase() + "/" + prodnames + "?" + seldata+"&fromsrc=comparison_widget";
|
| 523 |
} else {
|
377 |
} else {
|
| 524 |
alert("Please select atleast two products");
|
378 |
alert("Please select atleast two products");
|
| 525 |
}
|
379 |
}
|
| 526 |
});
|
380 |
});
|
| 527 |
|
381 |
|
| 528 |
$("#research_delete").live('click', function(){
|
382 |
$("#research_delete").live('click', function(){
|
| 529 |
var research_tot = $("#research_total").val();
|
383 |
var research_tot = $("#research_total").val();
|
| 530 |
var seldata = [];
|
384 |
var seldata = [];
|
| 531 |
var tot = 0;
|
385 |
var tot = 0;
|
| 532 |
var saprt = "";
|
386 |
var saprt = "";
|
| Line 552... |
Line 406... |
| 552 |
if(t === 0) {
|
406 |
if(t === 0) {
|
| 553 |
$("#research_default").css("display", "block");
|
407 |
$("#research_default").css("display", "block");
|
| 554 |
}
|
408 |
}
|
| 555 |
});
|
409 |
});
|
| 556 |
});
|
410 |
});
|
| 557 |
|
411 |
|
| 558 |
//Updating the count
|
412 |
//Updating the count
|
| 559 |
$('#research_compare_count').html($('#myresearch input[type="checkbox"]:checked').length - seldata.length);
|
413 |
$('#research_compare_count').html($('#myresearch input[type="checkbox"]:checked').length - seldata.length);
|
| 560 |
|
414 |
|
| 561 |
if ($('#myresearch input[type="checkbox"]').length - seldata.length <= 0) {
|
415 |
if ($('#myresearch input[type="checkbox"]').length - seldata.length <= 0) {
|
| 562 |
$("#myresearch").children(".common-widget-top-bar").trigger('click');
|
416 |
$("#myresearch").children(".common-widget-top-bar").trigger('click');
|
| 563 |
}
|
417 |
}
|
| 564 |
}
|
418 |
}
|
| 565 |
});
|
419 |
});
|
| 566 |
} else {
|
420 |
} else {
|
| 567 |
alert("Please select atleast one product");
|
421 |
alert("Please select atleast one product");
|
| 568 |
}
|
422 |
}
|
| 569 |
});
|
423 |
});
|
| 570 |
|
424 |
|
| 571 |
// No uid cookie
|
425 |
// No uid cookie
|
| 572 |
if (!$.cookie("uid")) {
|
426 |
if (!$.cookie("uid")) {
|
| 573 |
// No uid in storage
|
427 |
// No uid in storage
|
| 574 |
if (!$.Storage.get("uid")) {
|
428 |
if (!$.Storage.get("uid")) {
|
| 575 |
if (!$.Storage.get("resitems")) {
|
429 |
if (!$.Storage.get("resitems")) {
|
| Line 610... |
Line 464... |
| 610 |
load_research_items();
|
464 |
load_research_items();
|
| 611 |
}
|
465 |
}
|
| 612 |
else {
|
466 |
else {
|
| 613 |
load_research_widget();
|
467 |
load_research_widget();
|
| 614 |
}
|
468 |
}
|
| 615 |
|
469 |
|
| 616 |
if (!$.Storage.get("histitems")) {
|
470 |
if (!$.Storage.get("histitems")) {
|
| 617 |
$.Storage.set("histitems", "[]");
|
471 |
$.Storage.set("histitems", "[]");
|
| 618 |
merge_history_items();
|
472 |
merge_history_items();
|
| 619 |
}
|
473 |
}
|
| 620 |
else {
|
474 |
else {
|
| 621 |
load_history_widget();
|
475 |
load_history_widget();
|
| 622 |
}
|
476 |
}
|
| 623 |
}
|
477 |
}
|
| 624 |
}
|
478 |
}
|
| 625 |
}
|
479 |
}
|
| 626 |
|
480 |
|
| 627 |
function load_research_items(){
|
481 |
function load_research_items(){
|
| 628 |
jQuery.ajax({
|
482 |
jQuery.ajax({
|
| 629 |
type: "GET",
|
483 |
type: "GET",
|
| 630 |
url: "/myresearch",
|
484 |
url: "/myresearch",
|
| 631 |
cache: false,
|
485 |
cache: false,
|
| 632 |
success: function(json) {
|
486 |
success: function(json) {
|
| 633 |
$.Storage.set("resitems", json);
|
487 |
$.Storage.set("resitems", json);
|
| 634 |
load_research_widget();
|
488 |
load_research_widget();
|
| 635 |
}
|
489 |
}
|
| 636 |
});
|
490 |
});
|
| 637 |
}
|
491 |
}
|
| 638 |
|
492 |
|
| 639 |
function load_research_widget(){
|
493 |
function load_research_widget(){
|
| 640 |
var myResearchWidgetContainer = $("#myresearch");
|
494 |
var myResearchWidgetContainer = $("#myresearch");
|
| 641 |
|
495 |
|
| 642 |
if($(myResearchWidgetContainer).length == 0) {
|
496 |
if($(myResearchWidgetContainer).length == 0) {
|
| 643 |
return;
|
497 |
return;
|
| 644 |
}
|
498 |
}
|
| 645 |
var resitems = $.Storage.get("resitems");
|
499 |
var resitems = $.Storage.get("resitems");
|
| 646 |
|
500 |
|
| 647 |
if (resitems == "[]") {
|
501 |
if (resitems == "[]") {
|
| 648 |
var emptyResWidgetHtml = '<table border="0" width="100%" cellspacing="1" cellpadding="0" id="research_default">\
|
502 |
var emptyResWidgetHtml = '<table border="0" width="100%" cellspacing="1" cellpadding="0" id="research_default">\
|
| 649 |
<tbody>\
|
503 |
<tbody>\
|
| 650 |
<tr><td align="center"><b>Add items to compare list</b></td></tr>\
|
504 |
<tr><td align="center"><b>Add items to compare list</b></td></tr>\
|
| 651 |
</tbody>\
|
505 |
</tbody>\
|
| 652 |
</table>';
|
506 |
</table>';
|
| 653 |
$(myResearchWidgetContainer).find(".common-widget-content-area").html(emptyResWidgetHtml);
|
507 |
$(myResearchWidgetContainer).find(".common-widget-content-area").html(emptyResWidgetHtml);
|
| 654 |
$(myResearchWidgetContainer).children(".common-widget-top-bar").trigger('click');
|
508 |
$(myResearchWidgetContainer).children(".common-widget-top-bar").trigger('click');
|
| 655 |
return;
|
509 |
return;
|
| 656 |
}
|
510 |
}
|
| 657 |
var params = "/" + resitems;
|
511 |
var params = "/" + resitems;
|
| 658 |
|
512 |
|
| 659 |
jQuery.ajax({
|
513 |
jQuery.ajax({
|
| 660 |
type : "GET",
|
514 |
type : "GET",
|
| 661 |
url : "/myresearch" + params,
|
515 |
url : "/myresearch" + params,
|
| 662 |
cache: true,
|
516 |
cache: true,
|
| 663 |
success : function(html) {
|
517 |
success : function(html) {
|
| 664 |
$("#myresearch").html(html);
|
518 |
$("#myresearch").html(html);
|
| 665 |
updateCompareCount();
|
519 |
updateCompareCount();
|
| 666 |
|
520 |
|
| 667 |
// Product Title
|
521 |
// Product Title
|
| 668 |
$("#myresearch table td div a.truncate").each(function() {
|
522 |
$("#myresearch table td div a.truncate").each(function() {
|
| 669 |
$(this).truncate({addtitle : true});
|
- |
|
| 670 |
});
|
- |
|
| 671 |
|
- |
|
| 672 |
// Product Price
|
- |
|
| 673 |
$("#myresearch table td div div.price").each(function() {
|
- |
|
| 674 |
$(this).truncate({addtitle : true});
|
523 |
$(this).truncate({addtitle : true});
|
| 675 |
});
|
524 |
});
|
| 676 |
|
525 |
|
| 677 |
// Product Details
|
526 |
// Product Price
|
| 678 |
$("#myresearch table td div div.text").each(function() {
|
527 |
$("#myresearch table td div div.price").each(function() {
|
| 679 |
$(this).truncate( {addtitle : true});
|
528 |
$(this).truncate({addtitle : true});
|
| 680 |
});
|
529 |
});
|
| - |
|
530 |
|
| - |
|
531 |
// Product Details
|
| - |
|
532 |
$("#myresearch table td div div.text").each(function() {
|
| - |
|
533 |
$(this).truncate( {addtitle : true});
|
| - |
|
534 |
});
|
| 681 |
}
|
535 |
}
|
| 682 |
});
|
536 |
});
|
| 683 |
}
|
537 |
}
|
| 684 |
});
|
538 |
});
|
| 685 |
|
539 |
|
| 686 |
function displayCod(item_id) {
|
540 |
function displayCod(item_id) {
|
| Line 690... |
Line 544... |
| 690 |
inline: true,
|
544 |
inline: true,
|
| 691 |
href: "<ul style='list-style:inside; margin-left: 25px; text-align: justify; margin-right:12px; font-size:15px; line-height: 22px;'>"
|
545 |
href: "<ul style='list-style:inside; margin-left: 25px; text-align: justify; margin-right:12px; font-size:15px; line-height: 22px;'>"
|
| 692 |
+ "Expected Delivery Date for "
|
546 |
+ "Expected Delivery Date for "
|
| 693 |
+"<li list-style:inside>Prepaid orders is " + $('#days_' + item_id).html() + "</li>"+
|
547 |
+"<li list-style:inside>Prepaid orders is " + $('#days_' + item_id).html() + "</li>"+
|
| 694 |
"<li list-style:inside>Cash On Delivery orders is " + $('#coddays_' + item_id).html() + "</li>"+
|
548 |
"<li list-style:inside>Cash On Delivery orders is " + $('#coddays_' + item_id).html() + "</li>"+
|
| 695 |
"</ul>",
|
549 |
"</ul>",
|
| 696 |
onComplete: function(){
|
550 |
onComplete: function(){
|
| 697 |
trackEventWithGA('Widget', 'COD Know More is clicked', '');
|
551 |
trackEventWithGA('Widget', 'COD Know More is clicked', '');
|
| 698 |
}
|
552 |
}
|
| 699 |
});
|
553 |
});
|
| 700 |
}
|
554 |
}
|