1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question

Discussion in 'Styling and Customization Questions' started by Ernest L. Defoe, Apr 20, 2013.

  1. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    What I am trying to accomplish is something like on this site here

    http://community.simtropolis.com/to...-in-and-outside-of-city-boundaries/?p=1345138

    Where for a custom profile field it will create a tooltip popup that says Origin ID and will look exactly like on that site I just posted. I have figured out how to add an image to the profile field but I don't like how it looks

    http://www.simcitytalk.com/threads/simcity-update-2-0-release-date.275/#post-1035

    I want that custom profile field to look exactly like on the Simtropolis site. Can anyone give me a had please?
     
    SneakyDave likes this.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Like this?

    Screen shot 2013-04-21 at 1.14.21 AM.png
     
    Andrej likes this.
  3. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Yes just like that actually and change the color of the actual text not what's in the tooltip.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Use this HTML in the Value Display HTML for that custom field:

    Code:
    <a class="Tooltip" title="{$value}">Hover for value</a>
    
    That will show the text "Hover for value" and will display the value of that field when the user hovers over that text, like in the previous picture.
     
    Andrej likes this.
  5. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Thank you so much Jake.
     
  6. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Actually this is more what I was wanting but thanks again Jake for setting me in the right direction <a class="Tooltip" title="Origin ID">{$value}</a>
     

Share This Page