@@Mota
Guckt euch gerne den Code auf meiner HP an unter dem Reiter Mediatheke.
Warum verlinkst du nicht gleich die Mediatheke-Seite? Ach so, weil deine Seiten gar keine eigenen URLs haben. Schlecht.
Deine Mediatheke ist nicht bedienbar.
<img
class="controll_button_play"
id="play-pause10"
src="audioplayer/images/play.png"
height="65px"
onclick="playOrPauseSong10()"
>
Zum einen fehlt das bei jedem img
zwingend notwendige alt
-Attribut.
Bei Play/Pause: alt="play/pause"
Und das click
-Event auf img
funktioniert nur bei einigen Nutzern. Per Tastatur ist das img
-Element nicht erreichbar, da es kein interaktives Element ist.
Du musst für die Buttons das HTML-Element button
verwenden und darauf den Eventhandler:
<button
class="controll_button_play"
id="play-pause10"
onclick="playOrPauseSong10()"
>
<img
src="audioplayer/images/play.png"
height="65px"
alt="play/pause"
>
</button>
Rahmen und Hintergrund der Buttons entfernst du mit CSS.
🖖 Live long and prosper
--
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14