Subversion Repositories SmartDukaan

Rev

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

Rev 18075 Rev 18076
Line 13... Line 13...
13
        });
13
        });
14
 
14
 
15
      }
15
      }
16
    }       
16
    }       
17
 
17
 
-
 
18
        var footertop = $(window).height();
-
 
19
        setInterval(function() {
-
 
20
        if(parseInt(footertop)!=parseInt($(window).height())){
-
 
21
        $("div.pmfooter").hide();
-
 
22
        $(".filters").hide();
-
 
23
        }else{
-
 
24
        $("div.pmfooter").show();
-
 
25
        $(".filters").show();
-
 
26
        }
-
 
27
        },100);
-
 
28
 
18
        var new_msg="";
29
        var new_msg="";
19
        var typingTimer;                
30
        var typingTimer;                
20
        var doneTypingInterval = 1000; 
31
        var doneTypingInterval = 1000; 
21
        $('#searchforbrand').keyup(function(){
32
        $('#searchforbrand').keyup(function(){
22
            clearTimeout(typingTimer);
33
            clearTimeout(typingTimer);
Line 144... Line 155...
144
    height: 30px;
155
    height: 30px;
145
    color: #555;
156
    color: #555;
146
    background-color: #f5f5f5;
157
    background-color: #f5f5f5;
147
    padding:4px;
158
    padding:4px;
148
}
159
}
-
 
160
.inner-addon .glyphicon {
-
 
161
  position: absolute;
-
 
162
  padding: 10px;
-
 
163
  pointer-events: none;
-
 
164
}
-
 
165
.left-addon .glyphicon  { left:  0px;}
-
 
166
.left-addon input  { padding-left:  30px; }
149
</style>
167
</style>
150
 
168
 
151
<?php //echo strtok($_SERVER["REQUEST_URI"],'?');?>
169
<?php //echo strtok($_SERVER["REQUEST_URI"],'?');?>
152
<?php if(isset($searchfor) && !empty($searchfor)):?>
170
<?php if(isset($searchfor) && !empty($searchfor)):?>
153
<div id= "moreitem">    
171
<div id= "moreitem">    
154
    <a href="<?php echo $_SERVER['HTTP_REFERER'];?>"><span class="glyphicon glyphicon-arrow-left"></span></a> Search result for <?php echo $searchfor;?> items.
172
    <a href="<?php echo $_SERVER['HTTP_REFERER'];?>"><span class="glyphicon glyphicon-arrow-left"></span></a> Search result for <?php echo $searchfor;?> items.
155
</div>
173
</div>
156
<?php endif;?>
174
<?php endif;?>
157
<?php if($id==6 && isset($subcategorieschosen) && $_COOKIE['subcategorieschosen'] == 20):?>
175
<?php if($id==6 && isset($subcategorieschosen) && $_COOKIE['subcategorieschosen'] == 20):?>
158
    <div style='padding-top:2px;'>
176
    <div class= "inner-addon left-addon" style='padding-top:5px;position: relative;'>
-
 
177
        <i class="glyphicon glyphicon-search"></i>
159
        <center><input type="text" id= "searchforbrand" placeholder="Search brands or models" class="form-control"></center>
178
        <input type="text" id= "searchforbrand" placeholder="Search brands or models" style = "width:100%;" class="input-block-level">
160
    </div>
179
    </div>
161
<?php endif;?>
180
<?php endif;?>
162
 
181
 
163
 
182
 
164
<div class="text-center hidden" id="searchloader">
183
<div class="text-center hidden" id="searchloader">