我在我的网站上使用Read扬声器库是为了达到目的。
我用id=“可读区域”设置了一个HTML ()。但在这里面我有一些我不想被读到的街区。我怎么才能为这个案子破例呢?
这是我的情况的一个示例代码:
...
<!--link to activate the readspeaker-->
<a class="rsbtn_play" accesskey="L" title="Ouvir esta página" href="http://app.eu.readspeaker.com/cgi-bin/rsent?customerid=65437453&readid=readable-area&lang=pt_pt&url=http%3A%2F%2Fanacom-dev.tangivel.com/30-noticia-r.html">
<span class="rsbtn_left rsimg rspart"><span class="rsbtn_text"><span>Listen</span></span></span>
<span class="rsbtn_right rsimg rsplay rspart"></span>
</a>
<!--Html structure-->
<div id="readable-area">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ut sapien ligula. Proin at maximus orci, a fringilla velit.
<div class="dont-read">hey don't read me!!</div>
Suspendisse at mollis quam, ut efficitur lacus.
</div>
...我不想让阅读者读到class=里面的“不读”。
提前感谢!
发布于 2015-03-30 15:38:05
我联系了ReadSpeaker的支持部门。
要从读取中静音元素,我们可以使用class="RS_SKIP“。我们可以在id=10上找到更多关于调整读数的不同方法。
https://stackoverflow.com/questions/29349552
复制相似问题