zoukankan      html  css  js  c++  java
  • Alexa网站排名调用代码中国站长站提供

         在需要显示调用排名数据的地方放置以下含有调用指定ID的表格或其他的块元素。[非常重要,不指定将不能正常显示]
    例如:<div id=alexa>Loading...</div>或者<td id=alexa>Loading...</td>等。
    在页面最后放上下面提供的数据调用代码,这样才能正确显示并且不会影响页面载入速度。


    下面是几种显示效果

    显示效果一:     本站ALEXA全球排名:3,407 名,今日排名:5412 名,对比昨日:下降 2429 位
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/Show_Alexa.asp?Url=你的网站地址></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/Show_Alexa.asp?Code=u&Url=你的网站地址></script>

    显示效果二:     本站ALEXA全球排名:3,407 名
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Url=你的网站地址&Type=R></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Code=u&Url=你的网站地址&Type=R></script>

    显示效果三:     本站ALEXA三月全球排名:3407 名
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Url=你的网站地址&Type=Q></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Code=u&Url=你的网站地址&Type=Q></script>

    显示效果四:     本站ALEXA一月全球排名:3074 名
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Url=你的网站地址&Type=W></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Code=u&Url=你的网站地址&Type=W></script>

    显示效果五:     本站ALEXA一周全球排名:3987 名
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Url=你的网站地址&Type=M></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Code=u&Url=你的网站地址&Type=M></script>

    显示效果六:     本站ALEXA当日全球排名:5412 名
    GB2312调用    程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Url=你的网站地址&Type=D></script>
    UTF-8调用      程序代码
    程序代码<script src=http://alexa.chinaz.com/show_alexa.asp?Code=u&Url=你的网站地址&Type=D></script>
  • 相关阅读:
    Selenium2用最简xpath查找元素
    如何锁定Android系统CPU的频率
    github FATAL:unable to access 'https://github.com/...: Failed to connect to github.com:443; No error
    解压.tar.gz出错gzip: stdin: not in gzip format tar: /Child returned status 1 tar: Error is not recoverable: exiting now
    Shell脚本完成hadoop的集群安装
    Linux压缩与归档
    selenium2-元素管理方式及解析
    selenium2-框架思想介绍
    11.AutoMapper 之值转换器(Value Transformers)
    10.AutoMapper 之自定义值解析器(Custom Value Resolvers)
  • 原文地址:https://www.cnblogs.com/lzhdim/p/1400243.html
Copyright © 2011-2022 走看看