Hover DayEvent not working
Hello and thanks for your plugin. I have the single-application version 0.8 at this site: http://www.imanuel-cortez.com/#news
I want to hover the event and open the tooltip, but it does not work. Can you help me please?
my code is this:
<script type="text/javascript">
$(document).ready(function () {
$(".responsive-calendar").responsiveCalendar({
time: '2015-03',
events: {
"2015-06-06": {
"number": 4,
"badgeClass": "badge-warning",
"url": "http://www.imanuel-cortez.com/#events",
"dayEvents": [
{
"name": "ACOUSTIC HITS 90er meets BACKSTREET NOISE",
"hour": "20:00"
},
{
"name": "T-SEVEN & Volkmar Dittmer",
"hour": "21:00"
},
{
"name": "BEATRIX DELGADO & Mathias Herbst",
"hour": "22:15"
},
{
"name": "”Backstreet Noise Vol. 4” - DJ Imanuel Cortez ",
"hour": "23:30"
}
]
}
}
});
});
</script>
Comments (4)
-
repo owner -
Is there any possibility in this package to print the name value on hover? If not, I'm not so java-script talented, can you give me a js code-snipped for bootstraps. I know what you mean, but I have no clue how to do. Thanks and best regards, Chris
-
Hi there,
can you please answer?
-
repo owner There is an example on how to access day's event data inside the documentation: http://w3widgets.com/responsive-calendar/#callbacks Just change onActiveDayClick to onActiveDayHover and attach the out to the e.g.. twitter modal window. Unfortunately, I don't have any ready to go code snippet so you'll have to figure it out on your own.
- Log in to comment
Hi, the tooltip displayed on hover is not a part of the package in any way. If you want such functionality you'll need to implement it by yourself using, for example, onDayHover callback and print the event data to (again for example) twitter bootstrap tooltip.