DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
223 stars 79 forks source link

How do I style Tooltip? #427

Closed Guy--L closed 8 years ago

Guy--L commented 8 years ago

I've tried changing TwitterBootstrapMvcJs from

$('[rel=tooltip]').tooltip({ container: 'body' });

to

$('[rel=tooltip]').tooltip({ container: 'body', tooltipClass: 'mytooltip' });

but selector of $('.mytooltip') returns zero length.

DmitryEfimenko commented 8 years ago

I don't see tooltipClass as one of the available options on bootstrap options: get bootstrap.com/JavaScript/#tooltips-options

On Thu, Jul 7, 2016, 8:14 PM Guy..Lister notifications@github.com wrote:

I've tried changing TwitterBootstrapMvcJs from

$('[rel=tooltip]').tooltip({ container: 'body' });

to

$('[rel=tooltip]').tooltip({ container: 'body', tooltipClass: 'mytooltip' });

but selector of $('.mytooltip') returns zero length.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/427, or mute the thread https://github.com/notifications/unsubscribe/ACAD_zZoYlG37PBkJaFufyG1yEiRC7dtks5qTTPggaJpZM4JHTXV .

Guy--L commented 8 years ago

OK. Style location is really what I'm after. On Jul 13, 2016 07:33, "Dmitry A. Efimenko" notifications@github.com wrote:

I don't see tooltipClass as one of the available options on bootstrap options: get bootstrap.com/JavaScript/#tooltips-options

On Thu, Jul 7, 2016, 8:14 PM Guy..Lister notifications@github.com wrote:

I've tried changing TwitterBootstrapMvcJs from

$('[rel=tooltip]').tooltip({ container: 'body' });

to

$('[rel=tooltip]').tooltip({ container: 'body', tooltipClass: 'mytooltip' });

but selector of $('.mytooltip') returns zero length.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/427, or mute the thread < https://github.com/notifications/unsubscribe/ACAD_zZoYlG37PBkJaFufyG1yEiRC7dtks5qTTPggaJpZM4JHTXV

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/427#issuecomment-232329547, or mute the thread https://github.com/notifications/unsubscribe/AByHcJqC-SxzKt6SlreFpF_qvh5FQpxSks5qVM0hgaJpZM4JHTXV .

Guy--L commented 8 years ago

http://stackoverflow.com/questions/17642447/change-bootstrap-tooltip-color