1
$("#testing").qtip({
   content: 'Presets, presets and more presets. Let\'s spice it up a little with our own style!',
   style: {
      width: 200,
      padding: 5,
      background: '#A2D959',
      color: 'black',
      textAlign: 'center',
      border: {
         width: 7,
         radius: 5,
         color: '#A2D959'
      },
      tip: 'topLeft',
      name: 'dark' // Inherit the rest of the attributes from the preset dark style
   }
});

HTML:

<font id="testing">Test</font>

上面的代码在除ie6和ie7之外的所有浏览器中都能正常工作

IE6 & IE7:工具提示点不显示[我提到过,tip:'topLeft'但提示没有出现在 ie6 和 ie7 中]

提前致谢...

4

1 回答 1

1

在 IE6 和 IE7 上对我来说也不是很好,http://www.jsfiddle.net/G4gU6/

实际上对我来说,它只是似乎被 IE6 和 IE7 误解的 CSS。您可以尝试通过应用自己的 css 或重写 qTip2 css 来修复它。

有关该参考的更多专业帮助,请参阅 qTip2 论坛。克雷格会帮助你;)

在谷歌上搜索一下;)

于 2011-01-19T06:57:29.933 回答