$(function(){ function getURLParameter(name) { return decodeURI( (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,""])[1] ); } var path = getURLParameter("path"); if (path != "") { $("#menu li a").each(function() { if ($(this).attr('href').indexOf('path=' + path) > -1) { $(this).css("bac…
2013-03-18 23:29 · php · opencart