ブートストラップの日付ピッカーの方向プロパティを設定するための構文を知っている人はいますか?
これが私のjqueryです:
$(function() {
$("#dp3").datepicker({
orientation: 'top right'
});
});
Datepicker は正常に動作しますが、方向をすべて変更することはできません。
HTML は次のようになります。
<div class="control-group">
<label class="control-label" for="birthday">Birthday</label>
<div class="controls">
<div class="input-append date" id="dp3" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
<input class="date-input-large" size="16" type="text" value="12-02-2012">
<span class="add-on"><i class="icon-calendar"></i></span>
</div>
</div> <!-- /controls -->
</div>