Created
December 13, 2012 10:58
-
-
Save shunito/4275713 to your computer and use it in GitHub Desktop.
EPUBのfootnotesからのリンクがうまく動かないテスト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="ja" xml:lang="ja"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Footnotes</title> | |
</head> | |
<body> | |
<div> | |
<p><a epub:type="noteref" href="#fn1">Footnote 1</a></p> | |
<p><a epub:type="noteref" href="#fn2">Footnote 2</a></p> | |
<p><a epub:type="noteref" href="#fn3">Footnote 3</a></p> | |
<p><a epub:type="noteref" href="#fn4">Footnote 4</a></p> | |
<p><a epub:type="noteref" href="#fn5">Footnote 5</a></p> | |
</div> | |
<div id="fn1" epub:type="footnote"> | |
<a href="http://example.com/">http://example.com/</a> | |
</div> | |
<div id="fn2" epub:type="footnote"> | |
<a href="http://example.com/" target="_blank">http://example.com/</a> | |
</div> | |
<div id="fn3" epub:type="footnote"> | |
<a href="javascript:void(window.open('http://example.com/', null));">http://example.com/</a> | |
</div> | |
<div id="fn4" epub:type="footnote"> | |
<a href="http://example.com/" onclick="window.open('http://example.com/',null); return false;" target="_blank">http://example.com/</a> | |
</div> | |
<div id="fn5" epub:type="footnote"> | |
<a href="javascript:top.location.href='http://example.com/';" target="_blank">http://example.com/</a> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment