View Single Post
Old 08-18-2020, 05:55 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,775
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Kevin - I think that's a glitch on the forum rendering, it drop spaces into long strings.

Quote:
Originally Posted by Monbuster View Post
Here my xhtml code in SIGIL but there is no action when I click on the radio button in the book using readium. What can I do?

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>Connaissez-vous bien votre livre?</title>
</head>

<body>
<p><h1>Questionnaire pour MADAME BOVARY</h1></p>

<div><img src="https://www.bovary.fr/dossiers/decli/accueil01.jpg" alt="Image de Madame Bravery non disponible"></img></div>
<p><em>2e partie, chapitre 14 : Rétablissement d’Emma (le voyage à Rouen).Illustration de A. Richemont, gravée à l'eau-forte par C. Chessa, Paris, F. Ferroud, 1905</em></p>
<hr/>

  <p>Qu'est-ce que Madame Bovary admire le plus dans la vie?</p>
  <ul>
    <li><input type="radio" name="admire" onclick="javascript:document.getElementById('reponse1').style.display = 'block';"/>Les montagnes<span id="reponse1" style="display: none;font-weight:bolder;color:#800000;" class="feedback">
    (Oups! Il faut relire la deuxième partie du livre)</span></li>
    <li><input type="radio" name="admire" onclick="javascript:document.getElementById('reponse2').style.display = 'block';"/>Les couchers de soleil<span id="reponse2" style="display: none;font-weight:bolder;" class="feedback">
    (Bravo! Tu as bien retenu l'information)</span></li>
    <li><input type="radio" name="admire" onclick="javascript:document.getElementById('reponse3').style.display = 'block';"/>Les grandes rivières<span id="reponse3" style="display: none;font-weight:bolder;color:#800000;" class="feedback">
    (Oups! Il faut relire la deuxième partie du livre)</span></li>
  </ul>

 <hr/>
</body>

</html>
BR
BetterRed is offline   Reply With Quote