⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overlibconfig.txt

📁 实现图书的借阅和管理信息化
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Below are described the configuration variables and arrays associated with theoverlib commands, and their defaults as set in the	overlibmws.jscore module and the	overlibmws_bubble.js, overlibmws_crossframe.js, overlibmws_debug.js, 	overlibmws_draggable.js, overlibmws_exclusive.js, overlib_filter.js, 	overlibmws_function.js, overlibmws_hide.js, overlibmws_modal.js,        overlibmws_overtwo.js, overlibmws_print.js, overlibmws_scroll.js and        overlibmws_shadow.jsplugin modules.  The	overlibmws_iframe.js and overlib_regCore.jsplugin modules do not have configuration variables or arrays.You can change any of the configuration default values for all pages by makingthe modifications in overlibmws.js or the plugin modules, or for individual HTMLpages by declaring any of these variables with the values you prefer in a SCRIPTblock or imported js file for those pages.You instead can change the configuration default values for individual HTML pages bycalling the OLpageDefaults(arguments) function in a SCRIPT block or imported js filewith "arguments" consisting of a comma-separated list of uppercase command names andtheir parameters if any, homologously to the arguments for an overlib() call.The overlibmws_overtwo.js module is used by calling overlib2() and nd2() from withinan overlib() call that invokes a primary popup, to invoke and close secondary popups.Its LABLE2 command and its configuration variable are specific to the secondary popups,and are complementary to the core module's LABLEL command and its configuration variablefor primary popups.The overlibmws_iframe.js module has no additional commands, and thus no configurationvariables. It should be imported when a page has system controls (e.g., some formelements, flash objects, applets) which obscure overlib popups.  It corrects thisproblem for IE v5.5 or higher.  For versions of IE lower than v5.5 and for other browsers,you can use commands in the overlibmws_hide.js plugin module.  See the examples inhttp://www.macridesweb.com/oltest/hide.html and http://www.macridesweb.com/oltest/flash.htmlon how to use those command to hide the system controls when overlib popups are invoked.The overlibmws_regCore.js module has no overlib() or overlib2() commands, and thusno configuration variables.  It should be imported in frames which will not themselvesimport the core module and any plugin modules, but instead will use those in anotherframe.  See its header for more information.  Examples of its use are inhttp://www.macridesweb.com/oltest/testFrame.htmlSee the overlibmws Command Reference (http://www.macridesweb.com/oltest/commandRef.html)for more information about the commands, configuration variables, and plugin modules. ////////////////////////////////////////////////////////////////////////////////////// DEFAULT CONFIGURATION FOR CORE MODULE overlibmws.js////////////////////////////////////////////////////////////////////////////////////// FGCOLOR - Main background color (the large area).// Usually a bright color (white, yellow etc).var ol_fgcolor = "#CCCCFF";// BGCOLOR - Border color.// Usually a dark color (black, brown etc).var ol_bgcolor = "#333399";// CGCOLOR - Caption background color (typically same as border color).// Usually a dark color (black, brown etc).var ol_cgcolor = "#333399";// TEXTCOLOR - Text color.// Usually a dark color.var ol_textcolor = "#000000";// CAPCOLOR - Color of the caption text.// Usually a bright colorvar ol_capcolor = "#FFFFFF";// CLOSECOLOR - Color of "Close" when using Sticky.// Usually a semi-bright color.var ol_closecolor = "#9999FF";// TEXTFONT - Font face for the main text.var ol_textfont = "Verdana,Arial,Helvetica";// CAPTIONFONT - Font face for the caption.var ol_captionfont = "Verdana,Arial,Helvetica";// CLOSEFONT - Font face for the close text.var ol_closefont = "Verdana,Arial,Helvetica";// TEXTSIZE - Font size for the main text.var ol_textsize = "1";// CAPTIONSIZE - Font size for the caption.var ol_captionsize = "1";// CLOSESIZE - Font size for the close text.var ol_closesize = "1";// FGCLASS - Main background class.var ol_fgclass = "";// BGCLASS - Frame background class.var ol_bgclass = "";// CGCLASS - Caption background class.var ol_cgclass = "";// TEXTPADDING - Padding for main text.var ol_textpadding = "2";// TEXTFONTCLASS - Main font class.var ol_textfontclass = "";// CAPTIONPADDING - Padding for caption (including Close text if present).var ol_captionpadding = "2";// CAPTIONFONTCLASS - Caption font class.var ol_captionfontclass = "";// CLOSEFONTCLASS - Close font class.var ol_closefontclass = "";// CLOSECLICK - If the user has to click to close stickies.var ol_closeclick = 0;// CLOSETEXT - Text for the closing sticky popups. Normal is "Close".var ol_close = "Close";// CLOSETITLE - Text to use as value of TITLE attribute for browser-generated TooTips// with the "Close" link in captions of stickies when CLOSECLICK is changed to 1;var ol_closetitle = "Click to Close";// Default text for popups// Should you forget to pass something to overLIB this will be displayed.var ol_text = "Default Text";// Default caption// You should leave this blank or you will have problems making non caps popups.var ol_cap = "";// CAPBELOW - Whether the caption should appear below the main text area.  Default is// off (0) such that the caption appears above.var ol_capbelow=0;// BACKGROUND - Default background image. Better left empty unless you always want one.var ol_background = "";// WIDTH - Default width of the popups in pixels. 100-300 pixels is typical.// This value is simply a suggestion to the browser, which may change the// actual width depending on the content.var ol_width = "200";// WRAP - Intended to keep the popup no wider than its content plus normal padding, but// to wrap the content if it would exceed the window width, or if it would exceed WRAPMAX// when that has been set to a value greater than zero.// Overrides the o3_width setting. Default is no wrap (0).var ol_wrap = 0;// WRAPMAX - If set to a value greater than 0, sets the maximum width of the popup, up to// the window width, before wrapping occurs when the WRAP command is set.var ol_wrapmax = 0;// HEIGHT - Default height for popup. Often best left alone.var ol_height = -1;// BORDER - How thick the ol_border should be in pixels.// 1-3 pixels is typical.var ol_border = "1";// BASE - Any additional thickening of the border's base in pixels.var ol_base = "0";// OFFSETX - How many pixels to the right (positive values) or left (negative values)// of the cursor to show the popup. Values between 3 and 12 are best.var ol_offsetx = 10;	// OFFSETY - How many pixels below (positive values) or above (negative values) the// cursor to show the popup. Values between 3 and 20 are best.var ol_offsety = 10;// STICKY - Decides if sticky popups are default. 0 for non, 1 for stickies.var ol_sticky = 0;// NOFOLLOW - Should non-sticky popups not follow cursor movements (i.e., remain// stationary where initially positioned on invocation, like title-based tooltips).var ol_nofollow = 0;// NOCLOSE - Omit Close text in stickies with captions, for all stickies use mouse off// after mouse over sticky to close, and cancel any timeout while over sticky.var ol_noclose = 0;// MOUSEOFF - For stickies which do have a caption with a CLOSETEXT, also use mouse off// after mouse over sticky to close, and cancel any timeout while over sticky.var ol_mouseoff = 0;// OFFDELAY - Default delay for closing NOCLOSE or MOUSEOFF popups.  If a mouse over the// sticky occurs during this delay, the close is cancelled.var ol_delay = 300;// RIGHT - Default vertical alignment for popups.// It's best to leave RIGHT here. Other options are LEFT and CENTER.var ol_hpos = RIGHT;// BELOW - Default vertical position of the popups.// It's best to leave BELOW here. Other options are ABOVE and VCENTER.var ol_vpos = BELOW;// Default status bar text when a popup is invoked.var ol_status = "";// AUTOSTATUS, AUTOSTATUSCAP - If the status bar automatically should load either// text or caption. 0=nothing, 1=text, 2=captionvar ol_autostatus = 0;// SNAPX - Horizontal grid spacing that popups will snap to.// 0 makes no grid, anything else will cause a snap to that grid spacing.var ol_snapx = 0;// SNAPY - Vertical grid spacing that popups will snap to.// 0 makes no grid, anything else will cause a snap to that grid spacing.var ol_snapy = 0;// FIXX - Sets the popup horizontal position to a fixed column.// Numbers greater than -1 will cause fixed position.var ol_fixx = -1;// FIXY - Sets the popup vertical position to a fixed row.// Numbers greater than -1 will cause fixed position.var ol_fixy = -1;// RELX - Sets the popup horizontal position to a column relative to the window display.// Anything numeric (non-null) will cause relative position. Positive and 0 is to// the right from left window margin for left margin of popup. Negative is to the// left from right window margin for right margin of popup.var ol_relx = null;// RELY - Sets the popup vertical position to a row relative to the window display.// Anything numeric (non-null) will cause relative position. Positive and 0 is down// from top window margin for top margin of popup. Negaive is up from bottom window// margin for bottom margin of popup.var ol_rely = null;// MIDX - Sets the popup horizontal midpoint to a column relative to the window horizontal// midpoint. Anything numeric (non-null) will cause midpoint position. Positive and// 0 is to the right from the window midpoint. Negative is to the left.var ol_midx = null;// MIDY - Sets the popup vertical midpoint to a row relative to the window vertical midpoint.// Anything numeric (non-null) will cause midpoint position. Positive and 0 is down from// the window midpoint. Negative is up.var ol_midy = null;// REF - The NAME of an anchor or image, or ID of a layer, to serve as a reference object such// that a corner of the popup will be positioned relative to a corner of the object.var ol_ref = "";// REFC - Corner of the reference object for positioning.// Value can be: 'UL' (Upper Left), 'UR', 'LR', or 'LL'.var ol_refc = 'UL';// REFP - Corner of the popup for positioning.// Value can be: 'UL' (Upper Left), 'UR', 'LR', or 'LL'.var ol_refp = 'UL';// REFX - X displacement from the reference point. Positive to the right,// negative left.var ol_refx = 0;// REFY - Y displacement from the reference point. Positive down, negative up.var ol_refy = 0;// FGBACKGROUND - Background image for the popup's inside.var ol_fgbackground = "";// BGBACKGROUND - Background image for the popup's frame (border).var ol_bgbackground = "";// CGBACKGROUND - Background image for the caption.var ol_cgbackground = "";// PADX// How much horizontal left padding text should get by default when BACKGROUND is used.var ol_padxl = 1;// How much horizontal right padding text should get by default when BACKGROUND is used.var ol_padxr = 1;// PADY// How much vertical top padding text should get by default when BACKGROUND is used.var ol_padyt = 1;// How much vertical bottom padding text should get by default when BACKGROUND is used.var ol_padyb = 1;// FULLHTML - If the user by default must supply all html for complete control of popup content.// Set to 1 to activate, 0 otherwise.var ol_fullhtml = 0;// CAPICON - Default icon to place next to the popups caption.var ol_capicon = "";// FRAME - Default frame. We default to current frame if there is no frame defined.var ol_frame = self;// TIMEOUT - Default timeout. By default there is no timeout.var ol_timeout = 0;// DELAY - Default delay for onset of popup. By default there is no delay.var ol_delay = 0;// HAUTO - If overLIB should decide the horizontal placement.var ol_hauto = 0;// VAUTO - If overLIB should decide the vertical placement.var ol_vauto = 0;// NOJUSTX - If overLIB should let popups overrun the left or right window margins.var ol_nojustx = 0;// NOJUSTY - If overLIB should let popups overrun the top or bottom window margins.var ol_nojusty = 0;// LABEL - A labeling string for the primary popup while it is displayed (visible).var ol_label = "";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -