Changes
Page history
Update Self Voicing Enabled
authored
Jan 12, 2021
by
Schildhauer Niklas
Hide whitespace changes
Inline
Side-by-side
Self-Voicing-Enabled.md
View page @
bafc0ff2
...
...
@@ -11,23 +11,22 @@ An example tool to implement the function is the webReader from the company Read
In the following code you can see how this tool is implemented. The media feature is used to hide the controls.
```
html
<head>
<script
type=
"text/javascript"
src=
"//cdn1.readspeaker.com/..."
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"//cdn1.readspeaker.com/..."
media=
"(self-voicing-enabled)>
<style>
@media not (self-voicing-enabled) {
.readspeaker {
display: none;
}
<head>
<script
type=
"text/javascript"
src=
"//cdn1.readspeaker.com/..."
></script>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"//cdn1.readspeaker.com/..."
media=
"(self-voicing-enabled)>
<style>
@media not (self-voicing-enabled) {
.readspeaker {
display: none;
}
</style>
</head>
<body>
<div id="
readspeaker_button
"
class=
"readspeaker"
>
...
</div>
</body>
}
</style>
</head>
<body>
<div id="
readspeaker_button
"
class=
"readspeaker"
>
...
</div>
</body>
```
...
...
...
...