Quote:
Originally Posted by Doitsu
|
Not what? In that example it's outside the <img>, as I said it should (but, since it's HTML and not XHTML, the <img> has no self-closing mark).
Quote:
I played with image maps some time ago and had some problems with the standard example that almost every web site lists. For some reason epubcheck didn't like the pound sign (#) in usemap="#shapes", which most likely is a bug. Did your epub pass epubcheck?
|
There's a sample in the
ePub 2.0.1 spec:
Code:
<img src="example.gif" usemap="map"
title="Example Map"
alt="A picture of an example." />
<map name="map">
<area href="example1.html"
alt="Link to the first example."
shape="rect" coords="0,0,118,28" />
<area href="example2.html"
alt="Link to the second example"
shape="rect" coords="184,0,276,28" />
</map>
It's as you say, it uses "name" (not "id", as in anchors), and no # sign in the "usemap".
Quote:
Anyway, after removing the pound sign my test ePub passed epubcheck and worked in Readium, but not in ADE.
|
I haven't been able to make even simple image links (<a ...><img .../></a>) work in ADE.