博客后台设置保留文件
Posted longchengruoxi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了博客后台设置保留文件相关的知识,希望对你有一定的参考价值。
页面定制CSS代码:
#cnblogs_post_body h3, .myTitleGreen background: #2B6695 !important; border-radius: 6px 6px 6px 6px !important; box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: #FFFFFF; font-family: "微软雅黑" , "宋体" , "黑体" ,Arial; font-size: 17px; font-weight: bold; height: 25px; line-height: 25px; margin: 15px 0 !important; padding: 5px 0 5px 20px; text-shadow: 2px 2px 3px #222222;
页首html代码:
<script type="text/javascript" color="255,0,255" opacity=‘0.7‘ zIndex="-2" count="150" src="https://files.cnblogs.com/files/lfri/canvas-nest.js"></script>
页脚Html代码:
<script language="javascript" type="text/javascript"> //生成目录索引列表 function GenerateContentList() var jquery_h3_list = $(‘#cnblogs_post_body h3‘);//如果你的章节标题不是h3,只需要将这里的h3换掉即可 if(jquery_h3_list.length>0) var content = ‘<a name="_labelTop"></a>‘; content += ‘<div id="navCategory">‘; content += ‘<p style="font-size:18px"><b>阅读目录</b></p>‘; content += ‘<ul>‘; for(var i =0;i<jquery_h3_list.length;i++) var go_to_top = ‘<div style="text-align: right"><a href="#_labelTop">回到顶部</a><a name="_label‘ + i + ‘"></a></div>‘; $(jquery_h3_list[i]).before(go_to_top); var li_content = ‘<li><a href="#_label‘ + i + ‘">‘ + $(jquery_h3_list[i]).text() + ‘</a></li>‘; content += li_content; content += ‘</ul>‘; content += ‘</div>‘; if($(‘#cnblogs_post_body‘).length != 0 ) $($(‘#cnblogs_post_body‘)[0]).prepend(content); GenerateContentList(); </script> /* 鼠标点击求赞文字特效 */ <script type="text/javascript"> var a_idx = 0; jQuery(document).ready(function($) $("body").click(function(e) var a = new Array("?富强?","?民主?","?文明?","?和谐?","?自由?","?平等?","?公正?","?法治?","?爱国?","?敬业?","?诚信?","?友善?"); var $i = $("<span></span>").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css( "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 20, "left": x, "position": "absolute", "font-weight": "bold", "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")" ); $("body").append($i); $i.animate( "top": y - 180, "opacity": 0 , 1500, function() $i.remove(); ); ); ); </script>
以上是关于博客后台设置保留文件的主要内容,如果未能解决你的问题,请参考以下文章
安卓系统的开发人员选项中的“不保留活动”,和“后台进程限制”中的“不允许后台进程”或“只允许一个后