NetTalk Central

Author Topic: HTML tooltips?  (Read 3101 times)

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
HTML tooltips?
« on: May 30, 2015, 08:49:12 AM »
Looking over CSS Tooltip stuff on the web, it looks like add html to the tooltip is a matter of tweaking the Title to include the html tags and then implementing a script to display the formatted tips properly, but I don't have enough js background for the script. Is there a simple script available that can be added to configure the html formatting in the tooltip?

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: HTML tooltips?
« Reply #1 on: June 01, 2015, 06:30:25 AM »
vtip.js

I think it's still shipped - it was used as an example in the book.
I think if you just add vtip.js to the app, and vtip.css to the styles, then it comes alive...

cheers
Bruce

markster

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • Email
Re: HTML tooltips?
« Reply #2 on: June 01, 2015, 05:08:48 PM »
I've implemented the vtips add-on. It has a little more pizzazz, but it's not HTML.

Mark

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: HTML tooltips?
« Reply #3 on: June 03, 2015, 10:46:20 PM »
Hi Mark,

isn't it? maybe I'm misunderstanding what you have in mind?
I tried this in a tip;

format(Pre:Time,@t1) & ' >>' & format(Pre:Time+Pre:Duration,@t1) & '<br/><strong>' & clip(Pre:Title) & '</strong><br/>by ' & clip(Use:CombinedName)

and it came out as I would expect.

So maybe more context is in order?

cheers
Bruce