html Zendesk:推荐文章的提醒通知

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Zendesk:推荐文章的提醒通知相关的知识,希望对你有一定的参考价值。

 //Alert system with Promoted Articles (change the word Issue as it must exist in the Title)
 if ( $('.promoted-articles ul li a:contains("Issue")').length > 0 ){
 $('.notification').show();
      $('#promoted-alert').html(
          '<i class="fa fa-warning"></i> ' + 
          $('.promoted-articles ul li a:contains("Issue")').first().parent().html()
        );
	}
	//This solution uses Font Awesome so please ensure you have that in your Document Head
.notification {
  display:none;
}

.notification-dismiss {
  float:right
}

.fa {
  font-size: 18px;
  color: red;
}
.notification a {
    color: #00A69C;
}
//Top of your header
<div class="notification notification-error">
    <div class="notification-inner">
      <span id="promoted-alert"></span>
       <a href="#" class="notification-dismiss" data-notification-dismiss=""></a>
</div>
</div>

//Link to Font Awesome for the icon
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

以上是关于html Zendesk:推荐文章的提醒通知的主要内容,如果未能解决你的问题,请参考以下文章

iOS开发中UILocalNotification实现本地通知实现提醒功能

Ios开发中UILocalNotification实现本地通知实现提醒功能

提醒通知对话框

iOS开发中UILocalNotification本地通知实现简单的提醒功能

通过redis键空间通知实现日程的提醒通知

html Zendesk:格式化标签