|
|
Active Script Library
|
| General Setup |
| Adding Scripts |
| Registering Sites |
| N.B. If you choose to have the Automatically Generate Sites
option switched off in the Settings document, you must create each
Site from within Notes. If not, you can both dynamically create Site documents or request scripts without Site documents at all (using the &S agent parameter) |
| Requesting Libraries from Web Pages |
| Tip Depending on your version of Domino, you may be able to dispense with the ?OpenAgent suffix to the URL, so long as you do not need to supply parameters to the agent. If your browsers insist on a .js termination to the URL, then add a dummy parameter, e.g. &Z=.js to the end of the agent URL. |
| &debug | Switch on debugging, and return a HTML formatted debugging report rather than a script library. |
| &X | Specify a site account. Required if multiple script libraries are being loaded onto the same page. |
| &L | Specify a specific language. Defaults to JavaScript |
| &S | Ad hoc script request. If no site restrictions are in place, a web page can request any set of scripts without having a pre-defined site document. For multiple scripts, separate out with commas, and use + signs for spaces. |
| &V | Specify a specific language version. Defaults to All. If a script in the version selected cannot be found in the database, the All version will be used instead. |
| &Alpha | Select alpha versions of code, wherever available, and the script build number is higher than equivalent beta or gold code. Where alpha routines not available, gold code will be used. |
| &Beta | As for &alpha, but selecting beta code. |
| Dynamic Javascript |
| // Domino Active
Script Library // DASL_NotesInternational Package // Copyright (c) 1999 Rhizomatics var AMString='AM' var CurrencyDigits= 2 var CurrencySymbol='£' var DateSep='/' var DecimalSep='.' var IsCurrencySpace = false var IsCurrencySuffix = false var IsCurrencyZero = true var IsDateDMY = true var IsDateMDY = false var IsDateYMD = false var IsDST = true var IsTime24Hour = true var PMString='PM' var ThousandsSep=',' var TimeSep=':' var TimeZone= 0 var Today='Today' var Tomorrow='Tomorrow' var Yesterday='Yesterday' |
| //
Domino Active Script Library // Dynamic JavaScript variables // Copyright (c) 1999 Rhizomatics var is_major = 4 var is_minor = 61 var is_opera = false var is_webtv = false var is_nav = true var is_nav2 = false var is_nav3 = false var is_nav4 = true var is_nav4up = true var is_nav5 = false var is_nav5up = false var is_navonly = false var is_ie = false var is_ie2 = false var is_ie3 = false var is_ie4 = false var is_ie5 = false var is_ie4up = false var is_ie5up = false var is_aol = false var is_aol2 = false var is_aol3 = false var is_js = 1.3 var is_win = true var is_win95 = false var is_win16 = false var is_win31 = false var is_win98 = true var is_winnt = false var is_win32 = true var is_os2 = false var is_mac = false var is_mac68k = false var is_macppc = false var is_sun = false var is_sun4 = false var is_sun5 = false var is_suni86 = false var is_irix = false var is_irix5 = false var is_irix6 = false var is_hpux = false var is_hpux9 = false var is_hpux10 = false var is_aix = false var is_aix1 = false var is_aix2 = false var is_aix3 = false var is_aix4 = false var is_linux = false var is_sco = false var is_unixware = false var is_mpras = false var is_reliant = false var is_dec = false var is_sinix = false var is_freebsd = false var is_bsd = false var is_unix = false var is_vms = false var is_desc = 'Netscape Communicator 4.6' var is_frames = true var is_xml = false var is_css = true |
| Browser Capability Detection |
| Tip. As a catch-all, create a browser document and leave the identifier blank. |
| Example |
| If
the browser is MSIE 5 and the agent is called with &L=JScript, the
agent will search for the highest version of JScript supported by
MSIE 5, and ignore all JavaScript packages. If it cannot find any of the listed JScript versions, it will finally look for a script with version All. |
| HTTP Header Control |
| Sample HTTP Header |
| HTTP/1.1 200 OK Server: Lotus-Domino/Release-4.6.7(Intl) Date: Mon, 29 May 2000 12:44:09 GMT Content-Type: text/plain Content-Length: 218 Content-Type:text/html Expires: Mon, 29 May 2000 12:44:39 GMT Last-Modified: Mon, 29 May 2000 12:44:09 GMT Cache-Control: smax-age=60, proxy-revalidate, no-cache ETag: "943B30C845D25B52802568EE003DD680" Connection: Close |
| Page Testing Service | http://www.mnot.net/cacheability/ |
| Tutorial | http://www.mnot.net/cache_docs/ |
| Cache Friendly Design | http://www.casheflow.com/friendly/cflow-friendly.html |
| Caching News | http://www.web-caching.com/ |
| Mobile Device Caching | http://avantgo.com/builder/caching.html |
| FAQ |
| Updates |
| Disclaimer |