简体   繁体   中英

Reveal.js not working with AJAX

I have a demo here (jsfiddle)...

I can't figure out why this isn't working in this fiddle. According to the documentation here , this is all I need for the AJAX request...

<a href="http://some-url" data-reveal-id="myModal" data-reveal-ajax="true">
    Click Me For A Modal
</a>

首先,无法运行您的演示,因为jquery.reveal.js脚本托管在需要身份验证的服务器上。

https://github.com/hakimel/reveal.js :“在页面的末尾,您需要通过运行以下代码来初始化显示。请注意,所有配置值都是可选的,默认情况如下所示。[... ]”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM