Databases Reference
In-Depth Information
Figure 11-44. Uploading the the custom JavaScript for the Calendar plug-in
The next file contains the JavaScript for the FullCalendar plug-in. Complete the following steps to
add the file to the plug-in, as shown in Figure 11-45.
1.
Click Upload New File.
2.
Set File to the fullcalendar.min.js file from the FullCalendar files.
3.
Click Upload.
Figure 11-45. Uploading the FullCalendar JavaScript for the Calendar plug-in
The last file contains the CSS for the FullCalendar plug-in. Complete the following steps to add the
file to the plug-in, as shown in Figure 11-46.
1.
Click Upload New File.
2.
Set File to the fullcalendar.css file from the FullCalendar files.
3.
Click Upload.
Figure 11-46. Uploading the FullCalendar CSS for the Calendar plug-in
As was done for the PL/SQL code, let's do a walkthrough of the JavaScript code to better understand
how it works. The first lines of code both protect references to the $ object and start the calendar.
(function($){
$.widget("ui.calendar", {
Search WWH ::




Custom Search