Changeset 27743 for extensions/MyPiwiShop/template/button_basket.tpl
- Timestamp:
- Mar 12, 2014, 11:28:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/MyPiwiShop/template/button_basket.tpl
r27568 r27743 1 {footer_script}{literal}2 (function($) {3 $(document).ready(function(){4 5 /* var $Pbask = $('#basket').offset(),6 $w_tit = $('#tit').width(),7 $h_tit = $('#tit').height(),8 $top = $Pbask.top - $h_tit,9 $left = $Pbask.left - $w_tit;10 11 $('#basket').hover(function(){12 $(this).next().css({'position':'absolute','top':$top,'left':$left}).stop( true, true ).fadeToggle()13 //console.debug($(this).next())14 //$('#tit').css({'position':'absolute','top':$top,'left':$left}).show();15 })16 $('#basket').mouseleave(function(){17 $('#tit').hide();18 })*/19 20 })21 })(jQuery);22 {/literal}{/footer_script}23 24 25 26 27 28 1 {strip} 29 2 {combine_css path=$MPS_PATH|cat:'template/style.css'} 30 <a class="pwg-state-default pwg-button-basket noslide" href="https://www.paypal.com/cgi-bin/webscr?cmd=_cart&business={$mps_conf.PPid}&display=1&submit=voir+le+panier" target="_blank"><span id="basket" class="pwg-icon" style="background:url('{$ROOT_URL}{$MPS_PATH}template/bhover.png') center center no-repeat;"> </span> 31 <div id="tit"><p>{'show your basket'|@translate}</p></div> 3 <a class="pwg-state-default pwg-button-basket noslide" href="https://www.paypal.com/cgi-bin/webscr?cmd=_cart&business={$mps_conf.PPid}&display=1&submit=voir+le+panier" target="_blank" title="{'View cart'|@translate}"><span id="basket" class="pwg-icon" style="background:url('{$ROOT_URL}{$MPS_PATH}template/bhover.png') center center no-repeat;"> </span> 32 4 </a> 33 5 34 </a>35 6 {/strip} 36 7
Note: See TracChangeset
for help on using the changeset viewer.