- Posts: 6
- Thank you received: 1
[SOLVED] How to use tooltip from bootstrap
-
maxwbr
Inactive member - Topic Author
- New Member
Less
More
10 years 8 months ago - 10 years 8 months ago #38808
by maxwbr
[SOLVED] How to use tooltip from bootstrap was created by maxwbr
How to use tooltip from bootstrap in Spark?
I did it...
<a title="" href="#" target="_blank" data-toggle="tooltip" data-placement="bottom" data-original-title="Tooltip on bottom">Test</a>
But, not work.
I did it...
<a title="" href="#" target="_blank" data-toggle="tooltip" data-placement="bottom" data-original-title="Tooltip on bottom">Test</a>
But, not work.
Last edit: 10 years 8 months ago by maxwbr.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 8 months ago #38825
by ivan.milic
Replied by ivan.milic on topic How to use tooltip from bootstrap
You have joomla 3 right?
Can you send your link so I could see tooltip initialization script is present in page sources.
Can you send your link so I could see tooltip initialization script is present in page sources.
Please Log in to join the conversation.
-
maxwbr
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 1
10 years 8 months ago #38861
by maxwbr
Replied by maxwbr on topic How to use tooltip from bootstrap
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 8 months ago #38867
by ivan.milic
Replied by ivan.milic on topic How to use tooltip from bootstrap
Add this in index.php of template just above </head>
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('[rel="tooltip"]').tooltip();
});
</script>
you need to set rel="tooltip" attribute on each element you want tooltip for
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('[rel="tooltip"]').tooltip();
});
</script>
you need to set rel="tooltip" attribute on each element you want tooltip for
The following user(s) said Thank You: maxwbr
Please Log in to join the conversation.
Time to create page: 0.164 seconds