"... you mean these fans?" Posted April 12, 2020 Share Posted April 12, 2020 Hi, I'm integrating full calendar into a solution and I'm using what Matt did with the fullcalendar.io ( ISO Magazine ) in FileMaker's web viewer. I've attached the entire HTML and a section of the HTML where I am trying to dynamically set the calendar in "Week" and in "Day" view to scroll the calendar to the current hour. Currently I've hard code into the html '07:00:00' which is ok, but would be great if I could dynamically set to current hour when the user clicking into "Week" or "Day". Any way I've search through the fullcalendar.io documentation and I am able to figure out just about most of what I need to do, but not everything. Is there anybody with experience integrating the fullcalendar.io into FileMaker and would there be any insight if it is doable how to dynamically setting the "scrollTime". Please see attached pdf for reference. Thank you. Tom fullcalendar_html.pdf Link to comment Share on other sites More sharing options...
comment Posted April 13, 2020 Share Posted April 13, 2020 Caveat: I know nothing about FullCalendar. Speaking in general, I believe you have two options here: Learn how to produce the current time in Javascript; Produce the current time (or the current hour) in Filemaker and insert it into your Javascript code. The first option has nothing to do with Filemaker. You should be familiar with the second option from this thread: https://fmforums.com/topic/103625-drawing-in-web-viewer/ I even posted a demo file there: https://fmforums.com/topic/103625-drawing-in-web-viewer/?do=findComment&comment=470170 Link to comment Share on other sites More sharing options...
"... you mean these fans?" Posted April 14, 2020 Author Share Posted April 14, 2020 comment, Thank you ... created a global variable <<$$CURRENTTIME>> in the "UpDate Calendar" script with the calculation result I need and inserted the global variable '<<$$CURRENTTIME>>' where the '07:00:00' went and it worked perfectly ... 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1471 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now