Javascript Can';t获取SimpleModel以在模式窗口中显示链接内容
我似乎无法使模式窗口显示来自其他链接的任何内容。我很确定我使用了正确的类将它们链接在一起。这是从中给出的基本js 我把基础课放在Javascript Can';t获取SimpleModel以在模式窗口中显示链接内容,javascript,jquery,html,css,simplemodal,Javascript,Jquery,Html,Css,Simplemodal,我似乎无法使模式窗口显示来自其他链接的任何内容。我很确定我使用了正确的类将它们链接在一起。这是从中给出的基本js 我把基础课放在 <li><a href="about me/about me.html" class='basic'>about me</a></li> 在外部html链接(关于我)中,我放置了一个div id <div id="basic-modal-content"> <p> Darrien is an
<li><a href="about me/about me.html" class='basic'>about me</a></li>
在外部html链接(关于我)中,我放置了一个div id
<div id="basic-modal-content">
<p> Darrien is an industrial & product designer based from Toronto. My creative approach falls along the line of biomimicry and human-centric design.
I've recently graduated from the University of Guelph and am currently pursuing my Masters of Industrial Design at Pratt Institute.
Feel free to contact me to just chat and don't forget to look at some of my work.
</p>
Darrien是多伦多的工业和产品设计师。我的创新方法遵循仿生学和以人为中心的设计。
我刚从盖尔弗大学毕业,目前正在普拉特学院攻读工业设计硕士学位。
请随时与我联系,只是聊天,别忘了看看我的一些作品。
我已将我的代码包含在此zip()中
如果有任何帮助,我们将不胜感激 您有以下问题:
- 用户点击你的链接
- 单击事件被激发
- Javascript关注一些ID等于基本模式内容的元素
- 没有具有此ID的元素
- 浏览器将加载关于页面
- 用户单击链接(使用href='#')
- 单击事件被激发
- 使用JQuery函数将about页面的html内容加载到特定的div中
- id等于基本模态内容的调用模态
- Javascript将关注基本的模态内容并找到它
<div id="basic-modal-content">
<p> Darrien is an industrial & product designer based from Toronto. My creative approach falls along the line of biomimicry and human-centric design.
I've recently graduated from the University of Guelph and am currently pursuing my Masters of Industrial Design at Pratt Institute.
Feel free to contact me to just chat and don't forget to look at some of my work.
</p>