Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Tooltip Redesign #58

Closed
Rohithgilla12 opened this issue Apr 30, 2020 · 3 comments
Closed

Tooltip Redesign #58

Rohithgilla12 opened this issue Apr 30, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Rohithgilla12
Copy link
Contributor

Delhi
I : 1640 | D : 34
↑ 45 ↑ 23

the ↑45 should be a white and smaller font. The numbers for ↑() can be gotten from the last 24 hours API. The colours for I and D is the same as that at the top of the website.

Similar to this in district tooltips
Screenshot 2020-04-30 at 2 46 52 PM

@Rohithgilla12 Rohithgilla12 added enhancement New feature or request help wanted Extra attention is needed labels Apr 30, 2020
@ach4l
Copy link
Member

ach4l commented May 3, 2020

I am going to try this tonight, see how far I can go

@ach4l
Copy link
Member

ach4l commented May 3, 2020

https://stackoverflow.com/questions/484137/is-it-possible-to-format-an-html-tooltip-title-attribute

Top Answer:

No. But there are other options out there like Overlib, and jQuery that allow you this freedom.

jTip : http://www.codylindley.com/blogstuff/js/jtip/
jQuery Tooltip : https://jqueryui.com/tooltip/
Personally, I would suggest jQuery as the route to take. It's typically very unobtrusive, and requires no additional setup in the markup of your site (with the exception of adding the jquery script tag in your ).

@ach4l
Copy link
Member

ach4l commented May 4, 2020

I didnt get anywhere. #LeMoiNoob

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants