0

Is there a way to create info bubbles in wicket. I would imagine for instance a ? as a small round image and when hovered-over, it would pop out a bubble with some text/images/stuff in it. A bit like a ModalWindow actually but which would be shown and hidden by hovering on a question mark and which would appear nearby the question mark. Is there a known component to do that or do I have to create my own modal window which is reacting to hovering states ?

Sephy
  • 50,022
  • 30
  • 123
  • 131
  • If you end up rolling your own (as Visural's doesn't work with IE out of the box), I recommend qTip2. Rolled my own with that and am quite pleased with the results. – jbrookover Jun 24 '11 at 17:37
  • Why would it need to be a modal window? Can it not be just a `
    ` with absolute positioning?
    – biziclop Jun 26 '11 at 15:15
  • good point biziclop. thanks for your answer. jbrookover could you show me some code for that please ? Do you know why Visural doesnt work on IE ? – Sephy Jun 27 '11 at 08:44

2 Answers2

1

I am a happy user of jQuery and for tooltips (that may contain any HTML content) I use jQuery Tools : http://flowplayer.org/tools/tooltip/index.html

You can wrap the jQuery in a component with a header contributer, together with and the (html?) tooltip and the question mark.

Rob Audenaerde
  • 19,195
  • 10
  • 76
  • 121
0

See the below link for sample tooltip for wicket

http://wicket.visural.net/examples/tooltips

fmucar
  • 14,361
  • 2
  • 45
  • 50
  • Thanks for the tip, it's looks nice ! Have you tested it on IE ? As jbrookover suggested that it doesnt work on it ... – Sephy Jun 27 '11 at 08:45
  • No i havent, i dont have ie on my OS but if you have just locate to the demo site and try it if does not. However, that sound very unlikely to me. – fmucar Jun 27 '11 at 10:19
  • Sadly, this URL is now a dead end. :'( – James T Snell Mar 21 '15 at 20:24