1/** 2 * @copyright Commercial License By LeoTheme.Com 3 * @email leotheme.com 4 * @visit http://www.leotheme.com 5 */ 6$(document).ready(function() { 7 if (typeof enable_js_lang != 'undefined') 8 { 9 10 $('ul#first-currencies li:not(.selected)').css('opacity', 0.3); 11 $('ul#first-currencies li:not(.selected)').hover(function(){ 12 $(this).css('opacity', 1); 13 }, function(){ 14 $(this).css('opacity', 0.3); 15 }); 16 } 17 18 if (typeof enable_js_currency != 'undefined') 19 { 20 21 $("#setCurrency").mouseover(function(){ 22 $(this).addClass("countries_hover"); 23 $(".currencies_ul").addClass("currencies_ul_hover"); 24 }); 25 $("#setCurrency").mouseout(function(){ 26 $(this).removeClass("countries_hover"); 27 $(".currencies_ul").removeClass("currencies_ul_hover"); 28 }); 29 } 30 31 if (typeof js_country != 'undefined') 32 { 33 34 $("#countries").mouseover(function(){ 35 $(this).addClass("countries_hover"); 36 $(".countries_ul").addClass("countries_ul_hover"); 37 }); 38 $("#countries").mouseout(function(){ 39 $(this).removeClass("countries_hover"); 40 $(".countries_ul").removeClass("countries_ul_hover"); 41 }); 42 } 43}) 44 45function setCurrency(id_currency) 46{ 47 $.ajax({ 48 type: 'POST', 49 headers: { "cache-control": "no-cache" }, 50 url: prestashop['urls']['base_url'] + 'index.php' + '?rand=' + new Date().getTime(), 51 data: 'controller=change-currency&id_currency='+ parseInt(id_currency), 52 success: function(msg) 53 { 54 location.reload(true); 55 } 56 }); 57} 58 59
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.