arboles
arboles

Reputation: 1331

how to make popover placement set to below instead of right

what is wrong with my syntax i cant get it to display below. by default the popover is set to display right. i want to change this to display below. according to the documentation, i need to write placement below. but it isnt working.

   $("a[rel=popover1]")
  .popover({placement:'below'})
  .click(function(e) {
    e.preventDefault()
  })

Upvotes: 1

Views: 1107

Answers (1)

Brandon J. Boone
Brandon J. Boone

Reputation: 16472

I think it should be bottom not below if you're using bootstrap-popover.js.

http://jsfiddle.net/5DGef/15/

$(function() {
    $('a[rel=popover]').popover({placement:'bottom'});
});​

Upvotes: 3

Related Questions