设置一个button
<button id="closeBtn" onclick="CloseClick()" type="button" style="background:url(close.png);background-size: 15px,15px;border-style: none;
position: absolute;right: 15px;
top:15px;width:15px;height:15px;z-index: 1001"></button>
设置字体颜色以及换行:
<text id="infoText" type="text" style="position: absolute;right: 15px;
bottom:30px;width:auto;height:15px;z-index: 1001"><font color="yellow">傻逼</br>大傻逼</font></text>
html中调用父体html中的函数可以使用如下api访问到:
window.parent.TODO()