readium / readium-js-viewer

👁 ReadiumJS viewer: default web app for Readium.js library
BSD 3-Clause "New" or "Revised" License
553 stars 186 forks source link

Go to a page that contains special word with specific CFi / access to innerHTML or outerHTML between readium.reader.getFirstVisibleCfi() and readium.reader.getLastVisibleCfi() #606

Open Bahar1978 opened 7 years ago

Bahar1978 commented 7 years ago

Hi @danielweck , @JCCR , @rkwright, 1- For example: readium.reader.openSpineItemElementCfi('id-id2642385','/6/30[id-id2642385]!/4/2/38/52,/9:20,/9:27',readium.reader); Using the above instruction, readium just goes to the page with 'id-id2642385", and not the specific pages that contains "'/6/30[id-id2642385]!/4/2/38/52,/9:20,/9:27'". Could you please let me know if it is possible to jump right to the page that contain s'/6/30[id-id2642385]!/4/2/38/52,/9:20,/9:27'? after some search I found that it is duplicated of issue https://github.com/readium/readium-shared-js/issues/121. Is it still an open issue? image 2- how to access to the current visible content in fixed layout? In other words: how can we access to innerHTML or outerHTML between readium.reader.getFirstVisibleCfi() and readium.reader.getLasrVisibleCfi()? Thanks in advance, Hajar