AddThis 工具箱和 IE7
我在客户网站上安装了 AddThis 工具箱。
我的一位使用 Internet Explorer 7 的测试人员报告说,工具箱图标行中出现了两个打印图标。
有人知道 IE7 中的任何 JavaScript 问题可能导致 AddThis 出现这种意外行为吗?
工具箱 HTML 片段为:
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
脚本链接(页面底部,关闭正文标记之前)为:
<script type="text/javascript">var addthis_config = {services_compact: 'email,facebook,twitter,linkedin,print,more', data_track_clickback: true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d9bb0c4086f82f7"></script>
如果存在已知问题和一个或多个解决方法,请分享。谢谢。
I installed the AddThis toolbox on a client website.
One of my testers, using Internet Explorer 7, reports that two print icons appear in the toolbox row of icons.
Is anyone aware of any JavaScript issues in IE7 that could cause AddThis to have this unexpected behavior?
The toolbox HTML snippet is:
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
and the script links (bottom of page, before closing body tag) are:
<script type="text/javascript">var addthis_config = {services_compact: 'email,facebook,twitter,linkedin,print,more', data_track_clickback: true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d9bb0c4086f82f7"></script>
If there is a known issue and one or more work-arounds, please share. Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是问题所在。
测试人员之前使用过 addthis,并且在 3 个首选按钮之一中具有打印按钮。
在首选按钮之后,您强制用户使用打印按钮,因此该按钮出现两次。
That is the problem.
The tester has used addthis before, and has the print button in one of the 3 preferred buttons.
After the preferred buttons you force the print button on the user, thus the button appearing twice.