Skip to content

subhobiswas/Event-Calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event-Calendar

simple JQuery and PHP bassed event calender Just pass a url For Ajax In this call Sett your event response in jon

image

Installation

clone the repo event_url='' set this variable to your event url in calender.js

event_url='http://localhost/calender/event';
it will be like param will set automatically
http://localhost/calender/event?startdate=2023-00-00&enddate=2023-02-02&now=1672673053568

Event Setup

you just need to pass json data for your event or like this in php and set this url to event_url in j

$event=[
        'id' => 1,
        'name' => 'event name',
        'startdate' => '2023-01-02',
        "enddate" => '2023-01-06',
        "starttime" => "12=>00",
        "endtime" => "2=>00",
        "color" => $this->COLOR[1],
        "url" => 'https://google.com' // link for a.href in event
    ],
echo json_encode($event,true);

About

simple JQuery and PHP bassed event calender

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published