使用HTML而不是PHP的基本jQuery Slider

I am attempting to create a SCORM file that uses the Basic jQuery Slider to allow the user to scroll through content for our online course. As of right now, the previous person who implemented this scroll feature did so in PHP, which doesn't seem to work with SCORM as it is a server based language. When the user scrolls through the pages, they auto-populate the individual pages.

<div id="my-slideshow">
   <ul class="bjqs">
      <li><?php include"webui-page1.php";?></li>
      <li><?php include"webui-page2.php";?></li>
      <li><?php include"webui-page3.php";?></li>
      <li><?php include"webui-page4.php";?></li>
      <li><?php include"webui-page5.php";?></li>
      <li><?php include"webui-page6.php";?></li>
      <li><?php include"webui-page7.php";?></li>
       <li><?php include"webui-page8.php";?></li>
        <li><?php include"webui-page9.php";?></li>
    </ul>
</div>

I have changed all of the PHP pages to .html format.

My question is, how do I include each individual page like before without using PHP? I'm sure its some kind of javascript but I haven't found a way yet.

Essentially I want this:

<div id="my-slideshow">
   <ul class="bjqs">
      <li> (*some kind of javascript)webui-page1.html</li>
doutao1939
doutao1939 谢谢,我会调查一下。
4 年多之前 回复
doude4924
doude4924 你不能......PHP是一种服务器端语言,它在结果发送到浏览器之前执行。JavaScript是一种客户端语言,直到加载完所有内容后才会运行。最接近的是在页面加载后使用Ajax加载额外的位。
4 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐