Recently wrote a chess layout page, because of the need for user interaction, so in different browser interaction, found that in the 360 compatibility Mode page layout is correct, but in Chrome and Firefox is the equivalent of no execution layout of the script, this is why? Later found in Ie10 above the version are not, and later found a variety of methods, and finally discovered that the original is to write JS plus script control div location and size must be added units: that is not to write:
var Object=document.getelementbyid ("background");
Object.style.height=qipan_h;
Object.style.width=qipan_w;
object.style.left= (Width-qipan_w)/2;
Object.style.position= "Absolut
Be sure to change to this:
var Object=document.getelementbyid ("background");
Object.style.height=qipan_h+ "px";
Object.style.width=qipan_w+ "px";
object.style.left= (Width-qipan_w)/2+ "px";
object.style.position= "Absolute";
Web development written JavaScript scripts do not execute in Chrome but 360 can