1/*----------------------------------------------------------------------------*/ 2 3// Required configuration 4 5// This is the main file for configuring Point for your site. 6Point.accountName = "BelmontHarrow1"; 7 8// The URL for the server-side proxy 9Point.proxyUrl = "/_site/custom/point/point.asp"; 10 11// If Point.findContentByClass is true, Point content is enabled inside any 12// element with any of the classes in Point.pointEnabledDivClass 13Point.findContentByClass = true; 14Point.pointEnabledDivClass = "point_sym_hover"; 15 16// If Point.findContentById is true, Point content is enabled inside an element 17// with an id matching Point.pointEnabledDivId 18Point.findContentById = false; 19Point.pointEnabledDivId = "point_content_div"; 20 21/*----------------------------------------------------------------------------*/ 22 23// Optional configuration 24 25// Whether to use a server-side proxy. Set this to false if using just Flash. 26Point.useServerProxy = true; 27 28// Whether to use a Flash proxy. Set this to false if using just a server proxy 29// or CORS. 30Point.useFlashProxy = true; 31 32// The URL for the Flash proxy. You shouldn't need to change this. 33Point.flashProxyUrl = "https://pointflash.widgit.com/flash_proxy/proxy/" + Point.accountName; 34 35// The size of symbol images in pixels. If this is set to a value other than 80, 36// CloudFront cannot be used. 37Point.symbolSize = 80; 38 39// The maximum number of symbols that appear in each Point tooltip 40Point.maxSymbols = 4; 41 42// If Point.httpsImageUrls is true, Point's symbol images will be served via 43// HTTPS rather than HTTP, unless using CloudFront URLs. 44Point.httpsImageUrls = false; 45 46// If Point.enableImmediately is set to true, Point will enable itself 47// automatically as soon as the page has loaded 48Point.enableImmediately = true; 49 50// If set to true, this caches Point tooltips for the current page. 51Point.cacheTooltips = true; 52 53// The length of time in milliseconds to keep cached tooltips 54Point.cacheExpiry = 86400000; 55 56Point.enabledPointImage = "/_site/custom/point/buttons/light_background/on.gif"; 57Point.disabledPointImage = "/_site/custom/point/buttons/light_background/off.gif"; 58Point.waitIconImage = "/_site/custom/point/point_waiticon.gif"; 59 60// Point will not be applied to text within the following elements: 61Point.blacklistedElements = [ 62 "applet", 63 "button", 64 "canvas", 65 "embed", 66 "iframe", 67 "img", 68 "input", 69 "map", 70 "object", 71 "script", 72 "select", 73 "style", "svg", 74 "table", 75 "tbody", 76 "textarea", 77 "tfoot", 78 "thead", 79 "title", 80 "tr" 81]; 82 83Point.blacklistedWords = [ 84 "a", 85 "the", 86 "an", 87 "if", 88 "then", 89 "but", 90 "because", 91 "therefore", 92 "of", 93 "so", 94 "than", 95 "though", 96 "would", 97 "wouldn't" 98]; 99 100// Point will not be applied to any element or descendant of any element with 101// any of the following classes: 102Point.blacklistedClasses = [ 103 "display_cml", 104 "display_cml_divs" 105]; 106 107// Multilingual support 108Point.defaultLanguage = "English_UK"; 109 110Point.languageCssClasses = { 111 "point_english_uk": "English_UK", 112 "point_czech": "Czech", 113 "point_danish": "Danish", 114 "point_dutch": "Dutch", 115 "point_english_us": "English_US", 116 "point_finnish": "Finnish", 117 "point_french": "French", 118 "point_greek": "Greek", 119 "point_italian": "Italian", 120 "point_norwegian": "Norwegian", 121 "point_polish": "Polish", 122 "point_portuguese": "Portuguese", 123 "point_spanish": "Spanish", 124 "point_swedish": "Swedish" 125}; 126 127// The delay between hovering over a word and Point starting to retrieve 128// symbols for that word 129Point.hoverTimeout = 200; 130 131// Point.spansInheritParentStyles should be set to false unless there are 132// any layout problems inside Point-enabled content. 133Point.spansInheritParentStyles = false; 134
135// Whether each word is symbolised within the context in which it appears or is 136// symbolised on its own 137Point.symboliseContext = true; 138 139// Whether idioms and phrases are symbolised as one concept or as individual 140// words. Has no effect if Point.symboliseContext is false. 141Point.symboliseIdioms = false; 142 143// Whether or not Point always surrounds each word within Point-enabled content 144// when the page loads. If false and Point.enableImmediately is false, and the 145// user has not previously enabled Point, Point waits until the user enables 146// Point before performing "spanification" 147Point.spanifyOnLoad = true; 148 149// Whether or not Point removes the elements it has added to the document when 150// Point is disabled 151Point.despanifyWhenDisabled = false; 152 153// Access key for enabling and disabling Point 154Point.accessKey = "P"; 155 156// Whether or not to use a cookie to track whether the user has previously 157// enabled Point 158Point.useCookie = true; 159 160// Whether to use CORS where available, bypassing the need for a proxy 161Point.disableCors = false; 162 163// The URL for the Point server. You shouldn't need to change this. 164Point.corsUrl = "//point.widgit.com/point.php"; 165 166// Skin tone. Use an integer value between 0 and 5 inclusive. 167// Only supported for Danish, Dutch, English (all versions), French, Latvian, 168// Norwegian, Swedish and Italian 169Point.skinTone = 1;
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.