Copyright statement: original works can be reproduced. During reprinting, you must mark the original publication, author information, and this statement in hyperlink form. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan
-Ma yongzhan, myz, mayongzhan
In the face of the extremely XX revision of csdn, XX is complete. Change it.
Csdn adjusted the left and right sides. The left side is the article, and the right side is the navigation. I am X. You have to change the configuration. Can you manually adjust it?
After the left and right changes, document. Ready does not need to be added. Comment out.
Go to the compatible homepage and content page of the announcement.
Remove the style modification from the favorites button
Adjusted the CSS to adapt to the csdn modification.
For details, see red letter.
# Subscriptionlist {display: none ;}
# Csdnblog_allwrap {width: 1000px ;}
# Csdnblog_sidebar {width: 200px ;}
# Csdnblog_sidebar Div. gutter {width: 100%; margin: 0px ;}
. Aboutauthor {padding: 0px; border-left: 0px; border-bottom: 0px; border-top: 0px; border-Right: 1px dotted # AAA ;}
# Csdnblog_content {width: 800px ;}
# Csdnblog_content Div. gutter {}
. Publiclist_sidebar ul Li {margin: 0px; padding: 0px ;}
. Publiclist_sidebar ul Li a {margin: 0px; padding: 0px ;}
. User_article H1 IMG {display: none ;}
. User_article P {text-indent: 0em ;}
. Blogstory P {text-indent: 0em ;}
. Aboutauthor {width: 200px ;}
<Script language = "JavaScript" type = "text/JavaScript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js">
</SCRIPT>
<SCRIPT type = "text/JavaScript" src = "/syntaxhighlighter/jquery. highlighter. js"> </SCRIPT>
<Script language = "JavaScript" type = "text/JavaScript">
$ JQ = jquery;
$ JQ ("DD: Contains ('Access times, ranking'): First" Login .html ("");
$ JQ ("DT: Contains ('Id: '): First span" ).html ("");
$ JQ ("DT: Contains ('Article '): First" ).html ("");
$ JQ ("DD: Contains ('original'): First" ).html ("");
$ JQ ("DD: Contains ('translation'): First" ).html ("");
$ JQ ("DD: Contains ('reprinted '): First" ).html ("");
$ JQ ("DD: Contains ('comments'): First" ).html ("");
$ JQ ("# search_ddlsearchscope> Option [value! = 'All'] "). ATTR (" selected "," true ");
// $ JQ (document). Ready (function (){
VaR blogtitle = $ JQ ('. user_article> H1 ');
VaR blognextprev = $ JQ ("# post //. ascx_viewpost_previusandnextentriesdown ");
If (blognextprev.html ()! = NULL ){
Blogtitle.html(blogtitle.html () + "<div> & nbsp; </div> <div>" + blognextprev.html () + "</div> ");
}
If ($ JQ ('# csdnblog_content>. gutter> script'). length! = 0 ){
VaR csdntempscriptsrc = $ JQ ('# csdnblog_content>. gutter> script') [0]. SRC;
If (csdntempscriptsrc = 'HTTP: // blog.csdn.net/js/printnotice.js' | csdntempscriptsrc = '/JS/printnotice. js '){
$ JQ ("script ~ . Default_contents: First ").css ('display', 'None ');
}
}
//});
</SCRIPT>