HF/ByChapters: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE: Illustrations in <i>Adventures of Huckleberry Finn</i> by Chapter}}
{{DISPLAYTITLE: Illustrations in <i>Adventures of Huckleberry Finn</i> by Chapter}}
 
<html>
<p>Pick a Chapter (1–43):</p>
<p>
<input type="number" id="chapterInput" min="1" max="43">
  Pick a Chapter (1–43):
<button id="displayButton">Display</button>
  <input type="number" id="chapterInput" min="1" max="43" style="width: 50px; display: inline-block; margin-left: 5px;">
  <button id="displayButton" style="display: inline-block; margin-left: 5px;">Display</button>
</p>


<div class="slideshow-grid">
<div class="slideshow-grid">
Line 11: Line 13:
     <select id="illustratorSelect1"></select>
     <select id="illustratorSelect1"></select>
     <img id="slide1" src="" alt="">
     <img id="slide1" src="" alt="">
   
    <!-- MediaInfo Box -->
    <div class="mediainfo" id="mediainfo1"></div>
     <div>
     <div>
       <button class="prevBtn" data-box="1">←</button>
       <button class="prevBtn" data-box="1">←</button>
Line 22: Line 28:
     <select id="illustratorSelect2"></select>
     <select id="illustratorSelect2"></select>
     <img id="slide2" src="" alt="">
     <img id="slide2" src="" alt="">
   
    <!-- MediaInfo Box -->
    <div class="mediainfo" id="mediainfo2"></div>
     <div>
     <div>
       <button class="prevBtn" data-box="2">←</button>
       <button class="prevBtn" data-box="2">←</button>
Line 37: Line 47:
   gap: 20px;
   gap: 20px;
}
}
.slideshow-box {
 
  text-align: center;
  border: 1px solid #ccc;
  padding: 10px;
}
.slideshow-box img {
  max-width: 100%;
  height: auto;
}
.slide-counter {
.slide-counter {
   margin-top: 5px;
   margin-top: 5px;
Line 56: Line 58:
   height: 0;
   height: 0;
   overflow: hidden;
   overflow: hidden;
}
.slideshow-box {
  text-align: center;
  border: 1px solid #ccc;
  padding: 20px;        /* mehr Platz innen */
}
.slideshow-box img {
  max-width: 100%;
  height: 400px;        /* feste Höhe, Bilder passen sich an */
  object-fit: contain;  /* Bilder bleiben proportional */
  cursor: pointer; /* zeigt Hand beim Hover */
}
.mediainfo {
  margin: 10px 0;      /* Abstand zwischen Bild und Buttons */
  min-height: 3em;      /* verhindert Zusammenfallen, wenn leer */
}
}
</style>
</style>


<!-- Versteckte Tabelle -->
<!-- Versteckte Tabelle -->

Latest revision as of 16:20, 16 September 2025

Pick a Chapter (1–43):

0/0
0/0