;jQuery(function($){ function ready(){ $('').appendTo('head'); $( '
' + '
' + '
' + '

0

' + '
' + '

Your Basket

' + 'Sign Up' + 'Sign In' + '

In your basket: 0 item

' + '

Go to checkout

' + '
' + '
' + '
' + '
' ).appendTo(document.body); if(!!('ontouchstart' in window)){//check for touch device //behaviour and events for touch device $('#shop-slide-out-container .shop-slide-out').tabSlideOut({ tabHandle: '.handle', //class of the element that will be your tab tabLocation: 'right', //side of screen where tab lives, top, right, bottom, or left speed: 300, //speed of animation action: 'click', //options: 'click' or 'hover', action to trigger animation topPos: '140px', //position from the top rightPos: '0', fixedPosition: true, //options: true makes it stick(fixed position) on scroll onLoadSlideOut: false, toogleHandle: true, }).show(); } else { //behaviour and events for pointing device like mouse $('#shop-slide-out-container .shop-slide-out').tabSlideOut({ tabHandle: '.handle', //class of the element that will be your tab tabLocation: 'right', //side of screen where tab lives, top, right, bottom, or left speed: 300, //speed of animation action: 'hover', //options: 'click' or 'hover', action to trigger animation topPos: '140px', //position from the top rightPos: '0', fixedPosition: true, //options: true makes it stick(fixed position) on scroll onLoadSlideOut: false, toogleHandle: true, }).show(); } $('.fancy-iframe').fancybox({ maxWidth : 400, // these will not work if auto size and fit to view are true maxHeight : 520, // these will not work if auto size and fit to view are true type : 'iframe', padding : 2, autoResize : true, autoCenter : true, openEffect : 'elastic', openSpeed : 400, closeEffect : 'elastic', closeSpeed : 500, closeClick : true, closeBtn : true, fitToView : true, autoSize : true, live : false }); } if(!$.fn.fancybox){ $('').appendTo('head'); $('').appendTo('head'); $.getScript('http://life.fourthelement.com/skin/frontend/default/feshop/js/fancybox2/js/jquery.fancybox2-fix.js', ready); } else { ready(); } });