新学一招 EXTCSSJavaScriptYUIHTML
程序员文章站
2022-07-14 19:36:07
...
以前编写html时习惯将javascript和css放在head中,老想做个页面正在加载的提示 ,可是一直都看不到,呵呵,看了雅虎的代码后,放到body中,果然不错,呵呵,收获啊
xml 代码
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <html lang="en">
- <head>
- <title>Ext Documentation Center</title>
- <link rel="stylesheet" type="text/css" href="resources/docs.css"></link>
- <link rel="shortcut icon" href="http://www.jackslocum.com/favicon.ico" />
- <link rel="icon" href="http://www.jackslocum.com/favicon.ico" />
- </head>
- <body scroll="no" id="docs">
- <!--在这里提示加载信息-->
- <div id="loading">
- <div class="loading-indicator">Loading...</div>
- </div>
- <!-- 包含的javascript和css放在后面->
- <script type="text/javascript" src="../yui-utilities.js"></script>
- <script type="text/javascript" src="../ext-yui-adapter.js"></script>
- <script type="text/javascript" src="../ext-all.js"></script>
- <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
- <script type="text/javascript" src="resources/docs.js"></script>
- <div id="header" class="ylayout-inactive-content">
- <img src="http://www.yui-ext.com/common/images/yahoo_ext_small.gif" style="float:right;margin-right:10px;"/>
- <div style="padding-top:3px;">Documentation Center</div>
- </div>
上一篇: GPS软件平台设计开发文章精华索引