I'm using views to create a qtip.



[name]
[field_profile_biography]
[field_profile_picture]

This displays a user picture that when hovered over shows the user name with a biography excerpt. My question is, for this instance only of qtips, how can I override qtips positioning. Do I need to add an html element?

Comments

bryancasler’s picture

I forgot to escape my code bracket, here is the excerpt again.

<span class="qtip-link">
  <span class="qtip-header">[name]</span>
  <span class="qtip-tooltip">[field_profile_biography]</span>
  [field_profile_picture]
</span>
hashmap’s picture

Category: bug » support

You would need to write some JavaScript to override the default position of the tooltip. I am not 100% sure what you are looking to do (or if you are even still interested in this since it was posted back in March), but looking at the qTip2 demos my help, specifically this one:
http://craigsworks.com/projects/qtip2/demos/viewport

hashmap’s picture

Assigned: Unassigned » hashmap
Category: support » feature
Status: Active » Fixed

Setting the position on a per-tooltip basis is now supported in 7.x-2.x-dev. See the example below.

<span class="qtip-link">
  <span class="qtip-header">[name]</span>
  <span class="qtip-tooltip">[field_profile_biography]</span>
  <span class="qtip-tooltip-position">right_center</span>
  [field_profile_picture]
</span>
hashmap’s picture

Status: Fixed » Closed (fixed)