简体   繁体   中英

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 is work good..Please See the Sample Picture-> View Image

But Codeigniter Smileys are not show Properly..Sample Picture-> View Image

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'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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