【问题标题】:it's possible add hover on buttons in outlook 2010?是否可以在 Outlook 2010 中的按钮上添加悬停?
【发布时间】:2016-06-21 14:23:00
【问题描述】:

您好,我正在尝试在使用 Outlook 2010 作为客户端并使用 vml 作为标记语言的电子邮件活动中显示一个按钮,但我无法重现悬停效果。

这是我的代码

 <!--[if mso]>
   <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas- microsoft-com:office:word" arcsize="13%" stroke="f" fillcolor="#6DC497"   style="height:50px;v-text-anchor:middle;width:170px;"   onmouseover="this.fillcolor='#6DC000'" >
    <w:anchorlock />
     <center style="width:100%;" >
    <![endif]-->
     buy it!
    <!--[if mso]>
   </center>
  </v:roundrect>
<![endif]-->

如您所见,我使用 onmouseover 属性,但它不起作用。

有人知道这是否可行吗?

谢谢!

【问题讨论】:

    标签: html-email outlook-2010 vml


    【解决方案1】:

    这是不可能的,因为Outlook 2007, 2010, and 2013 do not support the :hover attribute

    诸如 JavaScript 和 onmouseover 之类的东西通常不受任何电子邮件客户端的支持。 VML 可用于破解桌面 Outlook 中的渐变和背景图像等视觉效果,但我还没有听说它被用于交互。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-09
      • 1970-01-01
      • 2017-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多