<form id="99h3p"></form>

      <em id="99h3p"></em>

                  <address id="99h3p"></address>
                  主頁 > 知識庫 > 網絡編程 > JSP/Java >

                  jsp中折疊式標簽的代碼實現

                  來源:中國IT實驗室 作者:佚名 發表于:2013-07-23 17:42  點擊:
                  將代碼和附件中帶的css和js部署到項目中去即可運行 %@ page contentType=text/html; charset=utf-8 language=java import=java.sql.* errorPage= % html head meta http-equiv=Content-Type content=text/html; charset=utf-8 title無標題文檔/title script
                   將代碼和附件中帶的css和js部署到項目中去即可運行  <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
                    <html>
                    <head>
                    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
                    <title>無標題文檔</title>
                    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
                    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
                    </head>
                    <body>
                    <div id="Accordion1" class="Accordion" tabindex="0">
                    <div class="AccordionPanel">
                    <div class="AccordionPanelTab">標簽 1</div>
                    <div class="AccordionPanelContent">內容 1</div>
                    </div>
                    <div class="AccordionPanel">
                    <div class="AccordionPanelTab">標簽 2</div>
                    <div class="AccordionPanelContent">內容 2</div>
                    </div>
                    </div>
                    <script type="text/javascript">
                    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
                    </script>
                    </body>
                    </html>
                    附件解壓后放到webroot下。。

                    有幫助
                    (0)
                    0%
                    沒幫助
                    (0)
                    0%
                    自在自线亚洲А∨天堂在线,亚洲熟妇中文字幕五十中出,亚洲熟妇AV一区