<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] ### jQuery實現方式: ~~~ $(function(){ //將網頁裝載到名為pages的常量數組中 const pages =["home.html","aboutus.html","productshow.html","joinus.html","contactus.html"]; //主頁名裝載的默認頁面 $("#mx_content").load(pages[0]); //導航欄點擊變色兄弟元素隱藏 $("#mx_navigation li").click(function(){ $(this).addClass("select").siblings().removeClass("select"); //div默認裝載頁面 $("#mx_content").load(pages[$(this).index()]); }); //底部加載頁面 $("#changepage div").click(function(){ $("#mx_navigation li").eq($(this).index()+1).addClass("select").siblings().removeClass("select"); $("#mx_content").load(pages[$(this).index()+1]); }); }) html 中要添加 <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script> ~~~ ### js實現方法: 在指定div中加載頁面 ~~~ 使用JavaScript代碼替換div內容 <script> function load_home() { document.getElementById("main").innerHTML = '<object type="text/html" data="/Users/lang/Desktop/demo/index.html" width="100%" height="600px"></object>';} </script> 其中”main”為div的id,data中的內容是HTML網頁的絕對路徑 div代碼 <div class="main-container" id="main" style="width:99%"> </div> 進行切換 <a href="javascript:load_home();">切換</a> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看