|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: none
|
Image mapping in an epub
Just looking for some advice or sample coding about how to have and image with specific corodinates link to multiple different pages in the epub. I know how to do each seperately but when itry to do both i get errors. I'm currently using InDesign to lay the epub out and i will export and edit the code with dreamweaver. any tips are appreciated.
|
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2012
Device: none
|
Thanks, I can get the Image Map to work on it's own and using IE but i try to view it using iBooks and the links do nothing. it recognizes taht there are links but they don't go anywhere. I'm thinking that i just have the code screwed up.
this is a sample of what i have: <img width="252" height="169" src="images/Departments_Image_Map_f_fmt.png" alt="Departments_Image_Map_fmt.png" usemap="#shapes"> <map name="shapes"> <area shape="rect" coords="35,95,97,123" href="sales.html" /> </map> </img> Any ideas? i have the "sales.html" file in the OBEP folder... just not sure what is wrong?? |
|
|
|
|
|
#4 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I have no idea about iBooks, but I'd say the <map> should be outside the <img> tag.
|
|
|
|
|
|
#5 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Anyway, after removing the pound sign my test ePub passed epubcheck and worked in Readium, but not in ADE. Last edited by Doitsu; 09-07-2012 at 02:18 PM. |
|
|
|
|
| Advert | |
|
|
|
|
#6 | |||
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Quote:
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>
Quote:
|
|||
|
|
|
|
|
#7 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763
Karma: 24088559
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
![]() I guess it's time to cut back on my coffee intake and to do less speed reading. :-) |
|
|
|
|
![]() |
| Tags |
| epub, image mapping, links, pages |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| image issues with Epub | ematte | Introduce Yourself | 6 | 10-01-2010 02:52 PM |
| Image Maps in ePub | NewBabyProd | ePub | 10 | 06-08-2010 12:28 PM |
| Theban Mapping Project | Joebill | Lounge | 2 | 05-08-2010 01:51 PM |
| Please help on modification of key mapping | howdypda | Sony Reader Dev Corner | 0 | 08-03-2009 10:30 PM |
| mind mapping tools ? | parryl | iRex | 9 | 05-21-2008 11:19 AM |