use*_*588 0 javascript sharethis
因为我已经通过以下脚本嵌入了sharethis插件,它会弹出鼠标悬停事件的共享窗口.但我只需要在Onclick事件上弹出.
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">
stLight.options({
publisher:"c7a25472-030e-48ce-b630-a71f99cc53d9"
});
</script>
<span class="st_sharethis_custom" displayText="Share">Share</span>
Run Code Online (Sandbox Code Playgroud)
那么请您建议我如何实现这一目标.
将onhover属性设置false为适合您:
stLight.options({
publisher:"c7a25472-030e-48ce-b630-a71f99cc53d9",
onhover: false
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2130 次 |
| 最近记录: |