Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give tooltip bullets a class name #2

Closed
capndesign opened this issue Aug 24, 2009 · 2 comments
Closed

Give tooltip bullets a class name #2

capndesign opened this issue Aug 24, 2009 · 2 comments

Comments

@capndesign
Copy link

I've been playing with the trunk code, and I found that I didn't really want the bullet in my tooltip and ended up removing it from the source code. I think it would be good to give that span a class so that people can just hide it with css. Aside from that, the tooltips have been spectacular. Thanks.

@jcoglan
Copy link
Owner

jcoglan commented Aug 24, 2009

This is already fixed -- the markup recently changed to this:

this._tip.innerHTML = '<span class="color" style="background: ' + color + ';">&nbsp;</span> ' +
                      '<span class="label">' + name + '</span> ' +
                      '<span class="data">' + data + '</span>';

So the 'bullet' is an empty span with a background color and class="color", which gives you more styling options.

@capndesign
Copy link
Author

Aha, I see that now! Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants