简体   繁体   English

如何在Bootstrap Popover窗口中添加Codeigniter Smileys?

[英]How to add Codeigniter Smileys in Bootstrap Popover Window?

I am trying to view codeigniter smileys in bootstrap popover window.but it doesn't work so please help me. 我正在尝试在bootstrap popover窗口中查看codeigniter的表情符号,但是它不起作用,所以请帮助我。

Bootstrap Popover is work good..Please See the Sample Picture-> View Image Bootstrap Popover工作正常。.请参阅示例图片-> 查看图像

But Codeigniter Smileys are not show Properly..Sample Picture-> View Image 但是Codeigniter Smileys不能正确显示。.示例图片-> 查看图片

My Code is: 我的代码是:

<div class="panel-footer">
 <?php echo smiley_js(); ?>                                            
   <div class="input-group">
     <span class="input-group-addon"><a id="example" href="" data-placement="top" data-toggle="popover" title="Smileys" data-content='<?php echo $smiley_table;?>'><i class="fa fa-frown-o"></i></a></span>
        <input id="message" type="text" name="message" class="form-control input-sm" placeholder="Type your message here..." />
        <span class="input-group-btn">
         <button type="submit" class="btn btn-primary btn-sm font1">
          <span class="fa fa-send"></span> Send Message </button>
        </span>
    </div>                                             
</div>

Advance Thanks.. 提前谢谢..

添加数据属性以允许在弹出窗口中显示html:

'data-html' => 'true'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM