NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on May 30, 2015, 08:49:12 AM

Title: HTML tooltips?
Post by: markster 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
Title: Re: HTML tooltips?
Post by: Bruce 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
Title: Re: HTML tooltips?
Post by: markster 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
Title: Re: HTML tooltips?
Post by: Bruce 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