Copy Code code as follows:
<script language= "JavaScript" type= "Text/javascript" >
Test browser type//
var Browser = new Object ();
browser.ua = Window.navigator.userAgent.toLowerCase ();
browser.ie =/msie/.test (browser.ua);
Browser.moz =/gecko/.test (browser.ua);
/****************/
------------------used to load a file-------------//
var Jsloader = {
Load:function (sURL, Fcallback)
{
var _script = document.createelement ("script");
_script.setattribute ("type", "Text/javascript");
_script.setattribute ("src", surl);
document.getElementsByTagName ("Head") [0].appendchild (_script);
if (browser.ie)
{
_script.onreadystatechange = function ()
{
if (this.readystate== "Loaded" | | | this.readystate== "complete")
{
Fcallback ();
}
};
}
else if (BROWSER.MOZ)
{
_script.onload = function ()
{
Fcallback ();
};
}
Else
{
Fcallback ();
}
}
};
var arrdata = new Array ();
var odomain = "http://js.2008.qq.com/medal/";
Jsloader.load (Odomain + "Jp_zongbang.js", function () {
for (var i = 0;i < arrdata["Jp_zongbang"].jplist.length;i++) {
document.write (arrdata["Jp_zongbang"].jplist[i) + "<br>");
}
})
</script>
The method, this method is my QQ in the study of the JS code found, can be achieved, but used not long, it was found, may be found by the QQ company, took a certain measure!
Many people say you can use the online code directly set, basically is <iframe src= "" ></iframe>
Format, I also intend to use this in the beginning, but soon found no, because our boss means to make the following style:
And the use of the words can not achieve a custom style, if let me manually input, it is more impossible, let me 24 hours staring at the computer? No way can only use thieves, but thieves need to use a lot of regular, really headache, finally no way or use JS to help solve.
Thief's news source, steal to steal, or Baidu good:
See it! This is the news source I want to use. The key section of the code that analyzes the page is as follows:
Current 1/2 page
12 Next read the full text