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 6638687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:27:55+00:00 2026-05-25T23:27:55+00:00

my question is: Is it possible to trigger something (ie. alert, Qtip, whatever) when

  • 0

my question is:
Is it possible to trigger something (ie. alert, Qtip, whatever) when today’s date is the date of an event in the FullCalendar? I am using the XML from my Google calendar as the source and would like something to pop up for people’s birthdays.

I already have:

var difference = birthdate - today;
var days = Math.round(difference/(1000*60*60*24));

if (days == 0){
    $('#tabs').qtip({
    position: {
               my: 'bottom right',
               at: 'top left',
    },
    content: "It's someone's birthday!!!",
    show: {
       when: false,
       ready: true
    },
    hide: false,
    style: {
        classes: 'ui-tooltip-rounded',
       }
    });
}

Where birthday is the individuals birthdate (which I set as a var) and today is ,obviously, today’s date.
The problem I have is that this is not very dynamic as I will have to do this seperately for everyone.

Many thanks in advance.

  • 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-25T23:27:55+00:00Added an answer on May 25, 2026 at 11:27 pm

    When you create your calendar object/function you need to create a eventAfterRender function. This only fires when you have a function that has been placed on the calendar. Then you can read the date and compare it to ones birthday and display popup. I hope that is what your were looking for. I gave a little example.

        $(document).ready(function () {
                $('#calendar').fullCalendar({
                    height: 600,
                    width: 700,
                    header: {
                        right: 'prev,next today',
                        center: 'title',
                        left: 'month,agendaWeek,agendaDay'
                    },
                    eventAfterRender: function (event, element, view) {
                        birthday = new Date('<somedate>');
                        year = new Date(event.start).getFullYear();
                        month = new Date(event.start).getMonth();
                        day = new Date(event.start).getDate();
                        alert(year + ' ' + month + ' ' + day);
        //do some if statement to see if the year matches then if the month, then the day. 
    //if so then go to another function or just put the code here for the pop 
    
                    }
                });
            });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question: Is it possible to compile a program on linux using a .dll file?
Basic question - is it possible to access the current Page from a static
Is it possible to distribute reports based on a database insert trigger, using the
Question: Is it possible to construct a web page that has a script to
Question: Is is possible, with regex, to match a word that contains the same
Question Is it possible to get the version of the Java Plugin being used
Question: Is it possible in back end code (not in the code behind but
Possible duplicate question: Is there a way to indefinitely pause a thread? In my
Possible stupid question: let's say I have two apps contained within one project. Can
Long question Is it possible to add a DOM element only if it does

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.