PageSourceSearch

https://chiview.chi.ac.uk/sipr/urd/sits.urd/javascript/settings.js?v=111.010426

js chi.ac.uk collected 2026-09-24 08:47:25 UTC 5,995 bytes, 96 lines download raw bytes

1// Defines the speed of animations in milliseconds (ms).
2// The strings "fast" (200ms) and "slow" (600ms) can also be used.
3// Default value is 100.
4var sits_anim_speed = 100;
5
6// Defines the point at which the year "20" is treated as 1920 instead of 2020.
7// This should be the same as the assignment file setting $CENTURY_BREAK.
8// Default value is 20.
9var sits_century_break = 30;
10
11// Defines whether or not a Content Delivery Network (CDN) should be used (added in 870.1).
12// Using one can speed up the performance, especially for users in other countries.
13// Default value is 0.
14// Valid values:
15//   0 = Use local files (no CDN)
16//   1 = jQuery CDN - provided by MaxCDN (the official jQuery one)
17//   2 = Google API CDN - provided by Google (generally considered to be fastest and most popular)
18//   3 = Microsoft Ajax CDN - provided by Microsoft
19//   4 = Cloud Flare CDN - provided by Cloud Flare
20var sits_jquery_cdn = 0;
21
22// Defines the format of dates selected by a date picker (added in 870.1)
23// This must be compatible with the system National Language Support (NLS) settings
24// See jQuery UI website for syntax details - http://api.jqueryui.com/datepicker/#utility-formatDate
25// Default value is "dd/M/yy", ie: "01/Jan/2001".
26 var sits_date_format = "dd/M/yy"
27// GB / UK =
28//var sits_date_format = "dd/M/yy";
29// CA (Canada) =
30// var sits_date_format = "yy-mm-dd";
31 //var sits_date_format = "dd/mm/yy";
32
33// US (USA) =
34// var sits_date_format = "M d, yy";
35
36// Defines the format of times using &D notation (added in 871.1)
37// This must be compatible with the system National Language Support (NLS) settings
38// Default value is "H2:N2", ie: 09:30
39var sits_time_format = "H2:N2";
40
41// Defines the alternative text for date picker buttons (added in 880.1)
42// Default value is "..."
43var sits_button_text = "...";
44
45// Defines the maximum file size for a file being uploaded using the plupload plugin (added in 880.1)
46// Default value is "10mb"
47var sits_plupload_max_size = "10mb";
48
49// Defines the chunk size for files being uploaded using the plupload plugin (added in 880.1)
50// Default value is "2mb"
51var sits_plupload_chunk_size = "2mb";
52
53// Load minified Javascript plugin files where possible (added in 880.1)
54// Used for plugins: datatables, migrate, menu, chosen and sitsjqtimetable
55// Deprecated - this setting will be ignored, forcing minified file contents to be used
56var sits_use_minified = true;
57
58// Defines the year range available in the date picker (added in 880.1)
59// See jQuery UI website for syntax details - http://api.jqueryui.com/datepicker/#option-yearRange
60// Default value is "-100:+50", ie: 100 years before and 50 years after current year
61var sits_year_range = "-100:+50";
62
63// Defines the responsive breakpoints to use in e:Vision in situations where those defined in the stylesheet cannot be used (added in 910.1)
64// This includes, for example, those used by the Responsive extension for Datatables (as used throughout e:Vision), and should normally match those maximums defined in sv.css.
65// It takes the form of an object listing each breakpoint, and should include maximum values (in pixels) for the width that should apply for Extra Large (xl), Large (lg), Medium (md), Small (sm), and Extra Small (xs) screensizes
66var sits_breakpoints = {"xl": Infinity, "lg": 1599, "md": 1199, "sm": 991, "xs": 767};
67
68// Defines whether to automatically apply e:Vision table widgets (Datatables and Tablesaw) to tables when the relevant HTML5 data attributes are specified
69// Added in 910.1 - accepts true or false (to enable or disable respectively)
70var sits_auto_table_widgets = true;
71
72// Defines whether DataTables should use their responsive mode (if available) by default. This applies when the responsive mode isn't explicitly set for a particular table (if it was then it would override this setting)
73// Added in 910.1 - accepts true or false (to enable or disable respectively)
74var sits_datatable_responsive = true;
75
76// Defines any scale factors to apply to dialogs (produced by sits_dialog) for each breakpoint. For example, if a dialog is normally 40% of the screen width for the Large (lg)
77// breakpoint then we could use a scale factor of 2 to make it 80% at the medium breakpoint. It consists of an object listing factors for each breakpoint, but no dialog will ever be
78// more than 100% of the screen-width. Added in 910.1.
79var sits_dialog_scaling = {"xl": 1, "lg": 1, "md": 1.1, "sm": 1.5, "xs": 3};
80
81// Defined whether the height of a dialog should, by default, by limited to be no more than a certain percentage of the screen height at each breakpoint. For example, the default of
82// 0.95 would mean that the dialogs will be initially shown at no more than 95% of the height of the page (i.e. will fit on screen), and 10 would mean that they can be 10 times the height of the screen. You can
83// use "" to disable the limit for a particular breakpoint.
84// It consists of an object listing maximum ratios for each breakpoint. Added in 910.1
85var sits_dialog_height = {"xl": 0.95, "lg": 0.95, "md": 0.95, "sm": "", "xs": ""};
86
87// Defines whether certain actions should happen automatically on screen resize (including dialog re-positioning and rescaling). Added in 910.1 - accepts true (to always process as the screen resizes - default), and false (to disable)
88var sits_auto_resize = true;
89
90// Defines whether to use the sv-portal.css stylesheet when showing multiple columns in the portal. The stylesheet overrides certain breakpoints when showing container options in
91// content mode, which can improve the look and feel of the content on some screen sizes, and will only be loaded when needed. Added in 910.1 - accepts true or false (to enable or disable respectively, with true the default)
92var sits_use_portal_css = true;
93
94// Defines the minimum size for tabs to be resized to in pixels (added in 920.1)
95// Default value is 150.
96var sits_min_tab_width = 150;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.