Hi,
please go to js/gk.scripts.js and find
- Code: Select all
// popup cart
var cart_over = false;
var cart_opened = false;
if(document.id('gkItems')){
var cart_fx = new Fx.Tween(document.id('gkCart'), {property: 'top', duration:350}).set(-600);
document.id('gkItems').addEvent('click', function() {
cart_fx.start((cart_opened) ? -600 : 38);
cart_opened = !cart_opened;
});
document.id('gkCart').addEvent('mouseenter',function(){cart_over = true;});
document.id('gkCart').addEvent('mouseleave',function(){cart_over = false;});
$(document.body).addEvent('click', function(){
if(cart_opened && !cart_over) cart_fx.start(-600);
});
}
and change it to:
- Code: Select all
// popup cart
var cart_over = false;
var cart_opened = false;
if(document.id('gkItems')){
var cart_fx = new Fx.Tween(document.id('gkCart'), {property: 'top', duration:350}).set(-1600);
document.id('gkItems').addEvent('click', function() {
cart_fx.start((cart_opened) ? -1600 : 38);
cart_opened = !cart_opened;
});
document.id('gkCart').addEvent('mouseenter',function(){cart_over = true;});
document.id('gkCart').addEvent('mouseleave',function(){cart_over = false;});
$(document.body).addEvent('click', function(){
if(cart_opened && !cart_over) cart_fx.start(-1600);
});
}
then please go to gk_stuff.css find
- Code: Select all
#gk-cart {
display: block;
width: 400px;
background: white;
border: 1px solid #D1D1D1;
position: absolute;
top: -600px;
left: 50%;
margin-left: -220px;
z-index: 20000;
padding: 20px;
}
and change to:
- Code: Select all
#gk-cart {
display: block;
width: 400px;
background: white;
border: 1px solid #D1D1D1;
position: absolute;
top: -1600px;
left: 50%;
margin-left: -220px;
z-index: 20000;
padding: 20px;
}
This should fix your issue.