<html>
<head>
<title>Android Development Toolkit update site.</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>@import url("web/site.css");</style>
<script type="text/javascript">
var returnval = 0;
var stylesheet, xmlFile, cache, doc;
function init(){
// NSCP 7.1+ / Mozilla 1.4.1+ / Safari
// Use the standard DOM Level 2 technique, if it is supported
if (document.implementation && document.implementation.createDocument) {
xmlFile = document.implementation.createDocument("", "", null);
stylesheet = document.implementation.createDocument("", "", null);
if (xmlFile.load){
xmlFile.load("site.xml");
stylesheet.load("web/site.xsl");
} else {
alert("Document could not be loaded by browser.");
}
xmlFile.addEventListener("load", transform, false);
stylesheet.addEventListener("load", transform, false);
}
//IE 6.0+ solution
else if (window.ActiveXObject) {
xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
xmlFile.async = false;
xmlFile.load("site.xml");
stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
stylesheet.async = false;
stylesheet.load("web/site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
}
// separate transformation function for IE 6.0+
function transformData(){
var processor = cache.createProcessor();
processor.input = xmlFile;
processor.transform();
data.innerHTML = processor.output;
}
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){
returnval+=1;
if (returnval==2){
var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
</script>
</head>
<body onload="init();">
<!--[insert static HTML here]-->
<div id="data"><!-- this is where the transformed data goes --></div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
Android ADT 12
共12个文件
jar:8个
css:1个
xsl:1个
5星 · 超过95%的资源 需积分: 14 199 下载量 85 浏览量
2011-07-20
10:31:08
上传
评论 2
收藏 5.39MB ZIP 举报
温馨提示
Android ADT 12,最新版本ADT插件。 ADT 12.0.0 is designed for use with SDK Tools r12. If you haven't already installed SDK Tools r12 into your SDK, use the Android SDK and AVD Manager to do so
资源推荐
资源详情
资源评论
收起资源包目录
ADT-12.0.0.zip (12个子文件)
web
site.css 719B
site.xsl 7KB
features
com.android.ide.eclipse.traceview_12.0.0.v201106281929-138431.jar 5KB
com.android.ide.eclipse.hierarchyviewer_12.0.0.v201106281929-138431.jar 5KB
com.android.ide.eclipse.ddms_12.0.0.v201106281929-138431.jar 5KB
com.android.ide.eclipse.adt_12.0.0.v201106281929-138431.jar 5KB
plugins
com.android.ide.eclipse.traceview_12.0.0.v201106281929-138431.jar 123KB
com.android.ide.eclipse.hierarchyviewer_12.0.0.v201106281929-138431.jar 328KB
com.android.ide.eclipse.ddms_12.0.0.v201106281929-138431.jar 2.13MB
com.android.ide.eclipse.adt_12.0.0.v201106281929-138431.jar 3.05MB
index.html 2KB
site.xml 1KB
共 12 条
- 1
lingyu2843
- 粉丝: 20
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页