What is Youyan? The following is an official description:
Simple and friendly social comment box!
Website comment boxes are no longer cold user names and emails, but comments from real users on Weibo and social networks, increasing the communication atmosphere and fun.
Use the followingCodeYou can use it on the website:
<! -- Uy begin --> <Div id = "uyan_frame"> </div> <SCRIPT type = "text/JavaScript" id = "uyscript" src = "http://v1.uyan.cc/js/iframe.js? Uyuserid = 1596047 "async =" "> </SCRIPT> <! -- Uy end -->
I was studying the use of this system today. Can I use it in my blog? After research, I wrote the following code to load the comment system (See below)
<Div id = "uyan_frame"> </div> <SCRIPT type = "text/JavaScript"> var $ comment_form = $ ("# comment_form"); $ comment_form.hide (); vaR $ uyan_frame = $ ('# uyan_frame'); $ uyan_frame.insertafter ($ comment_form); $uyan_frame.css ("margin-top", "12px ") vaR $ comments = $ ("# comments"); var $ A = $ comments. prev ("A"); $ comments. hide (); $. hide (); if ($ comment_form.length = 0) {$ uyan_frame.hide () ;}</SCRIPT> <! -- Uy begin --> <SCRIPT type = "text/JavaScript" id = "uyscript" src = "http://v1.uyan.cc/js/iframe.js? Uyuserid = 1596047 "async =" "> </SCRIPT> <! -- Uy end -->
After use, I found the problem:
As you manage your website by domain name, you cannot view the relevant domain name in the background management settings because the domain name of www.cnblogs.com used in the blog Park is not xxxx.cnblogs.com.
We can see that
Use the: http://liydotnet.cnblogs.com/archive/2012/03/29/2424091.html address to view the bookArticleYou can see different results.