Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 05-16-2016, 05:54 AM   #1
yasteora
Member
yasteora began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2015
Device: KPW3 kobo touch
How to disable pop-up?

I used the same code in my book, but some are hiperlinks and some are pop-up. I saw the Amazon publishing guidelines, it told me that if you make bi-directional hyperlinks are displayed in a pop-up.

Then,the code in Page A:
Code:
 <div class="goto">
    <a id="test-01" href="../Text/Appendix02_answers.xhtml#answer-01">[see the answer]</a>
  </div>

The code in Page B:
Code:
 <section epub:type="rearnotes" id="answer-01">
      <h3>答 案 一</h3>

      <ol class="answers">
        <li epub:type="rearnote" id="answer-01-01">c。</li>

        <li epub:type="rearnote" id="answer-01-02">b,如果你选a与d,并非真的全错。</li>

        <li epub:type="rearnote" id="answer-01-03">a与b。</li>

        <li epub:type="rearnote" id="answer-01-04">b。</li>

        <li epub:type="rearnote" id="answer-01-05">c,这一题说b不正确是否太老学究了?如果没有c这个答案,情况是否又不同?</li>

        <li epub:type="rearnote" id="answer-01-06">b。</li>

        <li epub:type="rearnote" id="answer-01-07">a与c及d,文中已经提到边沁对他的影响力了。</li>

        <li epub:type="rearnote" id="answer-01-08">d。</li>

        <li epub:type="rearnote" id="answer-01-09">a与b可能,c与d是不可能。</li>

        <li epub:type="rearnote" id="answer-01-10">a、b及d。</li>
      </ol>
    </section>
The follow code is:
Code:
<div class="goto">
      <a href="../Text/Appendix02-01.xhtml#test-01">[return]</a>
    </div>
this one is a regular hyperlink.
another one is a pop-up:

The code in Page C:
Code:
 <div class="goto">
    <a id="test-05" href="../Text/Appendix02_answers.xhtml#answer-05">[see the answer]</a>
  </div>
The code in Page D:
Code:
  <section epub:type="rearnotes" id="answer-05" class="pagebreak">
      <h3>答 案 五</h3>

      <ol class="answers">
        <li epub:type="rearnote" id="answer-05-01">否。</li>

        <li epub:type="rearnote" id="answer-05-02">b。</li>

        <li epub:type="rearnote" id="answer-05-03">否。事实上,这个说法毫无意义。</li>

        <li epub:type="rearnote" id="answer-05-04">a。</li>

        <li epub:type="rearnote" id="answer-05-05">否。</li>

        <li epub:type="rearnote" id="answer-05-06">否。</li>

        <li epub:type="rearnote" id="answer-05-07">否。</li>

        <li epub:type="rearnote" id="answer-05-08">郝胥黎为达尔文辩护。</li>

        <li epub:type="rearnote" id="answer-05-09">c。</li>

        <li epub:type="rearnote" id="answer-05-10">d,对达尔文迷来说,这是这个人最迷人之处。</li>
      </ol>
    </section>
The follow codeis:
Code:
  <div class="goto">
      <a href="../Text/Appendix02-02.xhtml#test-05">[return]</a>
    </div>

I do not konw what make them difference? I want all of them to be hyperlinks.

Last edited by yasteora; 05-16-2016 at 05:58 AM.
yasteora is offline   Reply With Quote
Old 05-16-2016, 09:01 AM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,059
Karma: 7212840
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by yasteora View Post
I do not konw what make them difference? I want all of them to be hyperlinks.
You generated an ePub3 book with footnote references. Delete the following attribute for all non-footnote links:

Code:
epub:type="rearnote"
Doitsu is offline   Reply With Quote
 
Advertisement
Old 05-16-2016, 11:06 AM   #3
yasteora
Member
yasteora began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2015
Device: KPW3 kobo touch
Quote:
Originally Posted by Doitsu View Post
You generated an ePub3 book with footnote references. Delete the following attribute for all non-footnote links:

Code:
epub:type="rearnote"
I had deleted all the attributes, that seemed kindle does not support the epub:type="footnote" and epub:type="rearnote".I added them just to test other epub3 reader (as gitden reader and namo pubtree reader) what makes them to enable the pop-up footnote. The result gitden truns on pop-up footnote just need the attribute epub:type: "noteref".

oh,return to my question....
I do not konw what enable the pop-up on kindle..
And thanks for you reply! Have a nice day!

Last edited by yasteora; 05-17-2016 at 01:45 AM.
yasteora is offline   Reply With Quote
Old 05-16-2016, 12:28 PM   #4
yasteora
Member
yasteora began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2015
Device: KPW3 kobo touch
update

I can't disable the pop-up, but I can force to enable the pop-up:

The original code which disable pop-up,and that is I want:


Code:
<body>
<section id="answer-07">
    <h3>答 案 七</h3>

    <ol class="test">
      <li epub:type="rearnote" id="answer-07-01">家庭、村落、国家<a epub:type="noteref" class="footnote" href="#footnote-01" id="footnote-01-backlink">[1]</a>。 </li>

       <li>.......</li>
           .......
      </ol>

    <aside>
      <hr/>

      <div epub:type="footnote" id="footnote-01" class="footnote">
        <a href="#footnote-01-backlink">[1]</a><span>译注:与“城邦”同一字State。</span>
      </div>
    </aside>
  </section>

  <div class="goto">
    <a href="../Text/Appendix02-04.xhtml#test-07">[return]</a>
  </div>
</body>

The part of change:

Code:
<body>
  <section>
    <h3><a id="answer-07" href="../Text/Appendix02-04.xhtml#test-07"></a>答 案 七</h3>
.....

 </section>
Then it would force to enable the pop-up footnote on kindle.
But, I want to disable all of them!
yasteora is offline   Reply With Quote
Old 05-16-2016, 12:49 PM   #5
yasteora
Member
yasteora began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Nov 2015
Device: KPW3 kobo touch
Red face

Hi,guys! After I have tried a few times, I found what affect eisable the inline footnote for kindle:

To be enable pop-up on kindle, need a loop anchor, that means my code should have be all enable pop-up footnote, but something to prevent that works. "something" must be between the loop ancher.


I look for the differece is one of them has the footnote in the rearnote, "the nesting footnote".

So I make a empty anchor in the code, that works!

The code like this:
Code:
<body>
 <section epub:type="rearnotes" id="answer-01">
    <h3><a href="#foolkindle" id="foolkindle"></a>答 案 一</h3>

    <ol class="test">
       ........
    </ol>
 </section>

<div class="goto">
    <a href="../Text/Appendix02-01.xhtml#test-01">[return]</a>
  </div>
</body>


And the other way is changing remov the anchor's id of "noteref".
Notice: kindle would check the nesting tag ,e.p.:


Code:
<div id="...">
<a >....</a>
</div>
This would still enable pop-up.



Now I want to know how disable pop-up for kepub and how handle the content the pop-up showed...

Last edited by yasteora; 05-16-2016 at 02:39 PM.
yasteora is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About pop-up endnotes roger64 Conversion 4 01-07-2016 07:15 PM
pop-up endnotes roger64 Calibre 34 11-23-2014 07:46 PM
Footnote pop-up example dcmst ePub 7 09-22-2014 10:33 PM
Pop-up dictionaries on K4 rebane Amazon Kindle 6 04-25-2012 11:25 PM
Really annoying pop-up ad RCR Lounge 3 01-25-2011 06:56 PM


All times are GMT -4. The time now is 02:23 PM.


MobileRead.com is a privately owned, operated and funded community.