Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在网站上被命令时,我需要播放声音。
<script> $(document).ready( function() { $('.ClickForSound').click( function() { //Play sound here }); }); </script>
我如何获得这个或类似的东西来支持 3DS 网络浏览器?
首选通过 JQuery。
这需要一些横向思考,但我发现的一个解决方案是通过重新加载页面来触发 3DS 产生加载噪音:
<script> $(document).ready( function() { $('.ClickForSound').click( function() { location.reload(true); }); }); </script>
不太理想。