I have a imagemap with various tags, it works well in my Drupal instance, I can click on the various areas to get to my pages.

Now I want to hover one area and display a tooltip with information inside (example: if I hover France, I will have a tooltip showing little information on Paris, with a picture). I will find myself how to do it by the way if you can't help with it - that's just my final goal.

Following various sites tutorials, I made a View with contextual filters in order to display the city content by passing an argument to the view. It works like a charm. I also rewrote the output to use tokens for display

I have actually no idea how to display my View in a tooltip - and searching didn't help me either ...

Modules I am using :

  • Views
  • Tipsy (or qTip or else, I don't have any preferences, as long as it works)
  • It is not possible to show the whole view in a tooltip – Bala Sep 19 '13 at 6:33
  • You can display the view fields in tool tip, but not the whole views. – Bala Sep 19 '13 at 6:36
  • OK can you please explain to me how I display the view fields ? I can't see how it works ... – Marcandria Sep 19 '13 at 6:47
  • I done it with drupal.org/project/beautytips module. have a look at this, if have a idea to use it, then i will tell you the steps. – Bala Sep 19 '13 at 6:55
  • OK so I installed the Beautytips module and configured the UI to fit my needs. Can you tell me the steps ? – Marcandria Sep 19 '13 at 7:48

You can easily use replacement patterns to achieve something similar. Add the fields you would want as the view and then in replacement pattern you can render a views block or even customize the display via html.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.