Asp.net+js Real time Olympic gold medal list code 1th/2 Page _ Practical Tips

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.