Keyword

K2 calendar question - rollover event?

  • Ryan Bradbury
  • Ryan Bradbury's Avatar Topic Author
  • Offline
  • New Member
More
12 years 1 week ago #104033 by Ryan Bradbury
K2 calendar question - rollover event? was created by Ryan Bradbury
Hi,

I am using the K2 Calendar module on a website which is working absolutely fine. I was wondering whether it is possible to configure the calendar so when a user rolls over a highlighted day it shows the title of the event on that day, rather than having to click on the date and a new page opens with the event content?

If a calendar month has a lot of events it may take a user a long time to look through every event is all I am thinking

thanks in advance

Please Log in or Create an account to join the conversation.

More
12 years 1 week ago #104034 by Lefteris
Replied by Lefteris on topic Re: K2 calendar question - rollover event?
Hi. This is not something you can do without writing code. You can add a javascript listener to the mouseenter event. And when the event is triggered you will need to make an AJAX request to take the items of the date. You can apply the format=json variable to the URL to get the items in JSON format so you can manipulate them with javascript. That's all. It's not simple but it can be done.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum