Subversion Repositories SmartDukaan

Rev

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

Rev 10723 Rev 10863
Line 1... Line -...
1
<!-- <div class="recharge-head">Recharge</div>
-
 
2
<div class="offers clearfix">
-
 
3
        <a href="<?php //echo base_url().'recharge'?>" class="recharge-btn btn" onclick="changeRecharge('1');">Mobile</a>
-
 
4
        <a href="<?php //echo base_url().'recharge'?>" onclick="changeRecharge('2');" class="offer-btn btn">DTH</a>
-
 
5
     </div>< -->
1
<!--offers-->
6
<?php
2
<?php
7
if(isset($home_featured_product) and !empty($home_featured_product) and count($home_featured_product)>0){ 
3
if(isset($home_featured_product) and !empty($home_featured_product) and count($home_featured_product)>0){ 
8
?>
4
?>
9
<div class="recommended-pd">
5
<div class="recommended-pd">
10
        <div class="head">
6
        <div class="head">
Line 125... Line 121...
125
 
121
 
126
              deltaX = Math.abs(point.pageX - pointStartX);
122
              deltaX = Math.abs(point.pageX - pointStartX);
127
 
123
 
128
              deltaY = Math.abs(point.pageY - pointStartY);
124
              deltaY = Math.abs(point.pageY - pointStartY);
129
 
125
 
130
              if (deltaX >
126
              if (deltaX >= deltaY) {
131
              = deltaY) {
-
 
132
 
-
 
133
                e.preventDefault();
127
                e.preventDefault();
134
 
128
 
135
                // alert("horizontal");
129
                // alert("horizontal");
136
 
130
 
137
              } else {
131
              } else {
Line 275... Line 269...
275
        }, 100);
269
        }, 100);
276
 
270
 
277
      }
271
      }
278
    }
272
    }
279
 
273
 
280
  } else if (ua.indexOf("BlackBerry") >= 0 || ua.indexOf("BB10") >
274
  } else if (ua.indexOf("BlackBerry") >= 0 || ua.indexOf("BB10") >= 0) {
281
  = 0) {
-
 
282
 
275
 
283
    var a = document.getElementsByClassName('rec-hldr');
276
    var a = document.getElementsByClassName('rec-hldr');
284
 
277
 
285
    for (var i = 0; i < a.length; i++) {
278
    for (var i = 0; i < a.length; i++) {
286
 
279