Subversion Repositories SmartDukaan

Rev

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

Rev 11325 Rev 11517
Line 1... Line 1...
1
 
1
 
-
 
2
window.onload=function(){
2
var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
3
	var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
3
if(document.getElementsByClassName('cart-cont')[0] != undefined){
4
	if(document.getElementsByClassName('cart-cont')[0] != undefined){
-
 
5
 
4
    document.getElementsByClassName('cart-cont')[0].style.minHeight = pheight - 235 +'px';  
6
	    document.getElementsByClassName('cart-cont')[0].style.minHeight = pheight - 235 +'px';  
-
 
7
	}
5
}
8
};
6
 
9
 
7
function clearmsg(){
10
function clearmsg(){
8
  if(document.getElementById('coupon-msg').style.display == 'block')
11
  if(document.getElementById('coupon-msg').style.display == 'block')
9
    document.getElementById('coupon-msg').style.display = 'none';
12
    document.getElementById('coupon-msg').style.display = 'none';
10
}
13
}