【问题标题】:know when user clicks on rate and review?知道用户何时点击评分和评论?
【发布时间】:2012-09-25 00:51:31
【问题描述】:

有什么方法可以让我知道用户点击了超级按钮/设置栏中的“评分和评论”按钮? 注意:此按钮会自动添加到 Windows 应用商店中的应用程序中。我无法控制按钮。

我认为最好显示一条消息,向他们解释他们不应该使用评分和评论按钮来提出支持请求,因为我们无法对此作出回应。

【问题讨论】:

  • @ArpitSrivastava 这与 Windows Charms 栏和 Windows 商店评级无关。

标签: javascript html windows-8 windows-store charms-bar


【解决方案1】:

我不确定这是否是您要查找的内容,但您可以使用类似于 SO 的东西来通知用户登录或注册,以便在未注册用户想要投票赞成或反对帖子时通知用户。

p>
 <div id='message' style="display: none;"> 
    <span>Hey, This is my Message.</span> 
    <a href="#" class="close-notify">X</a> 
 </div> 


#message { 
        font-family:Arial,Helvetica,sans-serif; 
        position:fixed; 
        top:0px; 
        left:0px; 
        width:100%; 
        z-index:105; 
        text-align:center; 
        font-weight:bold; 
        font-size:100%; 
        color:white; 
        padding:10px 0px 10px 0px; 
        background-color:#8E1609; 
    } 

    #message span { 
        text-align: center; 
        width: 95%; 
        float:left; 
    } 

    .close-notify { 
        white-space: nowrap; 
        float:right; 
        margin-right:10px; 
        color:#fff; 
        text-decoration:none; 
        border:2px #fff solid; 
        padding-left:3px; 
        padding-right:3px 
    } 

    .close-notify a { 
        color: #fff; 
    } 

    // And this is javascript (using jQuery):
    $(document).ready(function() { 
        $("#message").fadeIn("slow"); 
        $("#message a.close-notify").click(function() { 
            $("#message").fadeOut("slow"); 
            return false; 
        }); 
    }); 

【讨论】:

  • 谢谢,但我的问题不是当用户点击评分和评论时该怎么做,而是如何知道用户何时这样做。
猜你喜欢
  • 2014-11-04
  • 2016-02-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-07-28
  • 1970-01-01
  • 2018-03-24
相关资源
最近更新 更多