-
All replies
-
Helpful answers
-
May 27, 2013 12:55 AM in response to vadim_kby Touch Hean,Why u don't try add an event "touchstart" to the image which cause the page turn?
document.getElementById('theImageID').addEventListener('touchstart', function(event) {event.preventDefault()}, false);
-
May 27, 2013 12:06 PM in response to Touch Heanby vadim_k,Hi, Touch Hean.
How can I get theImageID for image, which generated by iBooks (red zone = book binding in my example)? I tried to remove this image by using code
<meta property="ibooks:binding">false</meta> (see Jean-Michel Dentand answer in post Re: iBooks new <meta property="rendition:spread">none</meta>)
but this dont resolve my problem completely.
Thanks for answer, best regards
-
May 27, 2013 7:38 PM in response to vadim_kby Touch Hean,In document ready callback, you can try to get all the images by using js method getElementsByTagName("img").
The auto generated images should have something special that you can identity.
-
Jun 4, 2013 5:19 AM in response to Touch Heanby vadim_k,Hi, Touch Hean.
I tried to get all images id by using this code:
var all_images = document.getElementsByTagName("img");
for(var j=0; j<all_images.length; j++){alert(images[j].id)}
As I suspected, I can see only the images id, that have been used directly in the my own html document.
If I change my code like this: var all_images = window.getElementsByTagName("img"); I dont see anything.
Thank you for your attention to my problem
