12/18/2022 0 Comments Quickcal calendar![]() ![]() but can easily be dine in other languages Stripe but whatver not importantĭay, time, month, monthName, year, email, messageĪnd thats it - server side files will only be in node js. There will be a default and configured style configuration option as well as a class configured option.ĬfaultStyle("display: block margin: cool", "margin-top: awesome") You can define the cssText for each element by typeing the css string for example "display: block cursor: pointer". To style different elements call calendar.style(cssNext, cssBack, cssToday, cssInput, cssTableCell, cssMessageInput, cssPassword, cssEmail, cssSubmitButton, cssRadioTimes) dontshowform: boolean for only displaying calendar.hidePassedDays: boolean for hiding passed days on this month and year. ![]() hideBackbutton: boolean for hiding back button on month and year.searchEmailFile: file path to check if email exists so you can remove email - the attached if statement is displayAppointmentTime - type is string.apptFile: file path for server side - using ajax - the attached if statement is insertIntoAppointment - type is string.getBookedFile: file path for server side - using ajax - the attached if statement variable is getBooked - type is string.I dont think i am going to add this - type stringĬnfigure(getBookedFile, apptFile, searchEmailFile, hidePastDays, hideBackButton, timelist, redirectUrl, redirectMessage, dontshowForm) redirectMessage: header message for redirect.timeList: list of times you decide in array format - type is array.redirectUrl: url to redirect to - will probablt get rid of this and just show check mark - type is string.searchEmailFile: file path to check if email exists so user can remove their appointment - the attached if statement is displayAppointmentTime - type is string.apptFile: file path for server side to insert a new appointment - the attached if statement is insertIntoAppointment - type is string.getBookedFile: file path for server side to get list of bookings dynamically loaded - the attached if statement variable is getBooked - type is string.You have two options, default or your own for default type:Ĭfault(getBookedFile, apptFile, searchEmailFile, redirectUrl, timeList, redirectMessage) How to useĬall class calendar let calendar = new Calendar() the list of times can be anything you want them to be but must be strings. times do not have to be formatted in any way but recommended is just saying ect. This will generate an accurate calendar for you where you can to load, save, remove and display CORRECT information for every user all the way down to the time of the appointment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |