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
alternative toolTipContainer css #187
Comments
Why not try adding some !important tags before the ; This might work. |
same problem, have you solved it @dovegrey ? |
@nicolainmateria - were you able to solve this? I'm trying to do the EXACT same thing. If you did solve it, can you post your code? |
Hello @dovegrey - Thank you for the inquiry, apologies for the delayed reply! Upon reviewing the code you specified, there seems to be a couple of different issues, however specifically regarding your question on why Given the way I believe you interpreted the docs, it makes sense why you felt you needed to modify the IM tooltip.js The good news is that when you want to achieve is possible, albeit slightly verbose with regards to code required although there were some recent improvements (introduced in v1.4.0) that make it fairly straightforward. IM < v1.4.0
Here is a jsFiddle. Note that the jQuery element could also just be a string of HTML. Also, the fiddle could be improved to contain functions that build the jQuery element passing the parameter of background, etc. but I took the more explicit route for clarity. IM >= v1.4.0
Here is a jsFilddle. Two other notes:
If you still have questions regarding this, please review our Support page for the best places to receive help on ImageMapster. Additionally, if you feel that you've uncovered a bug in IM, please open an issue per our Bug Reports guidelines and/or if you would like to request a new feature, please open an issue per our Feature Request guidelines. Hope this helps! |
hi there,
i would like to have two different css styles of tooltipContainer, where some have a grey background and others have a black background.
i've tried to specify a different toolTipContainer value for the specific key,
so i have in tooltip.js
and then in my html file:
but it doesn't seem to override the default.
any help in the right direction would be appreciated :)
The text was updated successfully, but these errors were encountered: