Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5947271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:56:25+00:00 2026-05-22T16:56:25+00:00

I want time intervals, occupied by events, to be not clickable. If I just

  • 0

I want time intervals, occupied by events, to be not clickable. If I just set event property editable to false, it does not help: I am still able to click near that event. Any way to make all the time interval, occupied by the event not clickable? Maybe somehow stretch its width to cover the whole day (actually, this would be a desirable behaviour)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:56:26+00:00Added an answer on May 22, 2026 at 4:56 pm

    This code will fire if a day is occupied by an event. So in theory you can block a click by doing return false; in that logic.

    http://jsfiddle.net/ppumkin/2QAY4/

    The code that does the magic needs jquery. and you need this piece of code.

      dayClick: function(date, allDay, jsEvent, view) {
    
        if ($('div.fc-event').length > 0) {
            //
            var containerD = $(this).offset();
            var containerH = $(this).height();
            var mousex = jsEvent.pageX;
    
            $('div.fc-event').each(function(index) {
                var offset = $(this).offset();
    
                if (((offset.left + $(this).outerWidth()) > mousex && offset.left < mousex) && ((offset.top > containerD.top) && (offset.top < (containerD.top + containerH)))) {
    
                    alert($(this).html());
                    //This will only fire if an empty space is clicked
                    //This will not fire if an event is clicked on a day
                }
            });
    
        }
        else {
            //Put code here to do things if no events on a day
            alert('There are no events on this day');
        }
    },
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to calculate time intervals (in 1/10th of 1 second) between some events
I want to save time intervals in my SQL table but I'm not sure
I want to program my computer to start automatically at several time intervals. From
I want to update the chart drawn by jqPlot sequentially in time intervals. My
For example, I want to call a function in specific time intervals (hourly or
It is possible to make real time intervals in not Real-Time Linux application in
I have sorted list of datetime.time and want to create intervals like. If I
I want to monitor IPMI System Event Log(SEL) in real time. What I want
I want to mark my time series at even monthly intervals from Jan 2008
I have a time interval that spans years and I want all the time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.