|
|
@ -103,6 +103,21 @@ function showAd(){ |
|
|
|
$('.panel_ad_list_mode').click(function(){ |
|
|
|
$('.panel_ad_list_mode').click(function(){ |
|
|
|
showAd(); |
|
|
|
showAd(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function getUrlPath(){ |
|
|
|
|
|
|
|
var thisUrl = window.location.href; |
|
|
|
|
|
|
|
var pathArr = thisUrl.split('/'); |
|
|
|
|
|
|
|
return pathArr[pathArr.length - 1]; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var thisPath = getUrlPath(); |
|
|
|
|
|
|
|
if(thisPath != undefined){ |
|
|
|
|
|
|
|
$('#memuA'+thisPath).css('background-color','#2c3138'); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$('#memuA').css('background-color','#f2f2f2'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<script src="/static/codemirror/lib/codemirror.js?v={{config.version}}"></script> |
|
|
|
<script src="/static/codemirror/lib/codemirror.js?v={{config.version}}"></script> |
|
|
|