开发者

Can you use jQuery in an ePub

I am looking a开发者_运维问答t making an ePub magazine, but instead of making the user download a file each month, I would like to use XML and jQuery to load the correct data in the ePub document.

If this is possible that would be great


The problem is, that you need a Javascript enabled ePub reader for this to work. So the definite answer is: It depends.

Also, you should check, if your target group's epub reader, if it understands JS, can load data via HTTP.


At least, iBooks can handle jQuery (also, jQuery UI!) correctly. You can get sample ePub file here

Enjoy!


You sure can. I also tried zepto.js as I don't need all the Internet Explorer gotchas and workarounds.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜