Clicking on the code that Baidu likes to display content
since Baidu launched Baidu sharing and Baidu likes, basically everyone has started to use it, after all, everyone wants their site to be good for the search engine. And the impression and sharing on the search engine results page can be reflected. But in general, unless the contents are attractive enough, or contain enough content, the reader will click on that favorite button. For some readers who are only just for things, he likes the next address in the article. The source code recommended to you today requires the user to click the like button to display the content, and the source code does not affect the search engine's normal grasp of the web page.
[code].lt; script id=.quot; bdlike_shell.quot;.Gt;.Lt; /script.gt;
.lt; script.gt. Aidu.com/static/js/like_shell.js? T=.quot; new Date ().GetHours ();
.lt; /script.gt;
.lt; script type=.quot. FFAD50; border-style:dotted; padding-top:3px; padding-left:3px; padding-right:3px; padding-bottom:3px; width:400px; text-align:center; \.quot;.Gt; the following content requires you to click the like button below to display. .lt; div style=\.quot; margin:auto; \.quot; class=\.quot; bdlikebutton\.quot;.Gt;.Lt; \div.gt;.Lt; /div.gt; > $>.
>);
.lt; /script.gt;
.lt;! - like after the display of content code --.gt; [/code]
effect is the effect above, clicking on the above like will naturally display the code, this code is based on jQuery to run Oh, so you also need to correctly introduce the jQuery plug-in. So.
[code].lt; div class=.quot; likeURL.quot;.Gt; hidden content.Lt; div.gt; [/code]
wrap up the hidden contents with a class likeURL.