Issue background:
Before the time to change the site's IP address, changed to 127 beginning. But when co-development, others use localhost.
Results in the use of comments when the IFRAME is not self-adaptive, looked at the source code V9 itself has written the IFrame adaptive method, and in the previous project a little bit of a problem.
So, what's the problem?
Problem clue:
In the Firebug console accidentally found reported a mistake, said Js.html can't find, and js.html address is the beginning of localhost
Js.html is a V9JS station group across the domain of a file (do not know what meaning), in the V9 root directory
Here's the code:
<HTML><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /><Head><title>V9 JS Station group cross-domain</title></Head><Bodyonload= "A ()"><Scripttype= "Text/javascript">functionA () {varQ=Location.search.replace ('?',"'). Split ('|'); if(Top.document.getElementById ('Comment_iframe')) Top.document.getElementById ('Comment_iframe'). Height=(q[0] ?q[0] : '0'); if(Top.document.getElementById ('Comment')) Top.document.getElementById ('Comment'). InnerHTML=(q[1] ?q[1] : '0');}</Script></Body></HTML>
Problem solving:
Found js.html inside used to Comment_iframe, that is, the review iframe, so the path back to Localhost,ok!
Phpcms Comment Box iframe not adaptive problem