3

qTip2を使用しています。画面検出が含まれていると思いましたが、iframe内でツールチップを使用していますが、機能していません。

iframeの端の下に隠されたツールチップを示すスクリーンショット

私は試した:

position: {
    adjust: {screen: true},
    my: 'bottom center',  // Position my top left...
    at: 'top center' // at the bottom right of...
},

うまくいきませんでした

4

1 に答える 1

4

qTip2 プラグインにはviewportオプションがあります。

position: {
    my: 'bottom center',  // Position my top left...
    at: 'top center', // at the bottom right of...
    adjust: {
        screen: true
    },
    viewport: $(window)
},

このシナリオを修正します。

于 2012-06-20T15:40:08.600 に答える