只要您引用js文件,那么IteBrowser-JavaScript将绑定在您的页面上(是页面,不是网站),调用方法如下:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>...</title>
<!--[if lte IE8]>
<script src="itebrowser-js/itebrowser.main.js"></script><!--IteBrowser By Rocky(This is WaterMark)-->
<script>
window.onload = function(){
var itebrowser = new IteBrowser();
itebrowser.run(getElementsByClassName("itebrowser-container"));
}
</script>
<div class="itebrowser-container"></div>
<![endif]-->
</head>
<body>
...
</body>
</html>
把<script src="itebrowser-js/dist/itebrowser.js"></script>
删除即可。
var Author = "Rocky";
var license = "Mit License";
var forum = "This Repository's Issues(https://github.com/IteBrowser/IteBrowser-JS/issues)";