javascript - booststrap popover left position not working -


Then I have a popover that shows comments made in a certain information shown on a website. This is the code I got, which creates a popover.

  var popover option = {placement: element.position (). Left & gt; 550? "Left": "right", trigger: "hover", html: 'true'}; Element.removeClass ('icon white'); Element.attr ('title', $ .i18n ._ ('msg_comment')); Element.attr ('Data-content', comment. Location (/ \ n / g, '

This is my html

  & lt; Span class = "icon-comment budget comment action" data-id = "date = 2014-09-01 & amp; country code = AR & sports ID = 12 & amp; channel ID = 2" data -content = "2014-10-10 11:00:02 Masalanka: Examination 2 

2014-10-06 16:54:09 Masalanka: Test" Data- Original-title = "comment" title = "" & gt; & Lt; / Span & gt;

The thing is that when popover appears, it appears on the element on which I am hovering.

Enter image details here

How do I change this behavior Can i ?


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -