remove tool dirctories - these have been moved to a new github dirctory
[Evergreen-DocBook.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / slides / browser / xbStyle-nn4.js
diff --git a/stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/slides/browser/xbStyle-nn4.js b/stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/slides/browser/xbStyle-nn4.js
deleted file mode 100755 (executable)
index cf85006..0000000
+++ /dev/null
@@ -1,485 +0,0 @@
-/*\r
- * xbStyle-nn4.js\r
- * $Revision: 1.2 $ $Date: 2003/02/07 16:04:22 $\r
- */\r
-\r
-/* ***** BEGIN LICENSE BLOCK *****\r
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1\r
- *\r
- * The contents of this file are subject to the Mozilla Public License Version\r
- * 1.1 (the "License"); you may not use this file except in compliance with\r
- * the License. You may obtain a copy of the License at\r
- * http://www.mozilla.org/MPL/\r
- *\r
- * Software distributed under the License is distributed on an "AS IS" basis,\r
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
- * for the specific language governing rights and limitations under the\r
- * License.\r
- *\r
- * The Original Code is Netscape code.\r
- *\r
- * The Initial Developer of the Original Code is\r
- * Netscape Corporation.\r
- * Portions created by the Initial Developer are Copyright (C) 2001\r
- * the Initial Developer. All Rights Reserved.\r
- *\r
- * Contributor(s): Bob Clary <bclary@netscape.com>\r
- *\r
- * ***** END LICENSE BLOCK ***** */\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClip()\r
-\r
-function nsxbStyleGetClip()\r
-{\r
-  var clip = this.styleObj.clip;\r
-  var rect = new xbClipRect(clip.top, clip.right, clip.bottom, clip.left);\r
-  return rect.toString();\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClip()\r
-\r
-function nsxbStyleSetClip(sClipString)\r
-{\r
-  var rect          = new xbClipRect(sClipString);\r
-  this.styleObj.clip.top    = rect.top;\r
-  this.styleObj.clip.right  = rect.right;\r
-  this.styleObj.clip.bottom  = rect.bottom;\r
-  this.styleObj.clip.left    = rect.left;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipTop()\r
-\r
-function nsxbStyleGetClipTop()\r
-{\r
-  return this.styleObj.clip.top;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipTop()\r
-\r
-function nsxbStyleSetClipTop(top)\r
-{\r
-  return this.styleObj.clip.top = top;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipRight()\r
-\r
-function nsxbStyleGetClipRight()\r
-{\r
-  return this.styleObj.clip.right;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipRight()\r
-\r
-function nsxbStyleSetClipRight(right)\r
-{\r
-  return this.styleObj.clip.right = right;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipBottom()\r
-\r
-function nsxbStyleGetClipBottom()\r
-{\r
-  return this.styleObj.clip.bottom;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipBottom()\r
-\r
-function nsxbStyleSetClipBottom(bottom)\r
-{\r
-  return this.styleObj.clip.bottom = bottom;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipLeft()\r
-\r
-function nsxbStyleGetClipLeft()\r
-{\r
-  return this.styleObj.clip.left;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipLeft()\r
-\r
-function nsxbStyleSetClipLeft(left)\r
-{\r
-  return this.styleObj.clip.left = left;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipWidth()\r
-\r
-function nsxbStyleGetClipWidth()\r
-{\r
-  return this.styleObj.clip.width;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipWidth()\r
-\r
-function nsxbStyleSetClipWidth(width)\r
-{\r
-  return this.styleObj.clip.width = width;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.getClipHeight()\r
-\r
-function nsxbStyleGetClipHeight()\r
-{\r
-  return this.styleObj.clip.height;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////\r
-// xbStyle.setClipHeight()\r
-\r
-function nsxbStyleSetClipHeight(height)\r
-{\r
-  return this.styleObj.clip.height = height;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getLeft()\r
-\r
-function nsxbStyleGetLeft()\r
-{\r
-  return this.styleObj.left;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setLeft()\r
-\r
-function nsxbStyleSetLeft(left)\r
-{\r
-  this.styleObj.left = left;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getTop()\r
-\r
-function nsxbStyleGetTop()\r
-{\r
-  return this.styleObj.top;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setTop()\r
-\r
-function nsxbStyleSetTop(top)\r
-{\r
-  this.styleObj.top = top;\r
-}\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getPageX()\r
-\r
-function nsxbStyleGetPageX()\r
-{\r
-  return this.styleObj.pageX;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setPageX()\r
-\r
-function nsxbStyleSetPageX(x)\r
-{\r
-  this.styleObj.x = this.styleObj.x  + x - this.styleObj.pageX;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getPageY()\r
-\r
-\r
-function nsxbStyleGetPageY()\r
-{\r
-  return this.styleObj.pageY;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setPageY()\r
-\r
-function nsxbStyleSetPageY(y)\r
-{\r
-  this.styleObj.y = this.styleObj.y  + y - this.styleObj.pageY;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getHeight()\r
-\r
-function nsxbStyleGetHeight()\r
-{\r
-  //if (this.styleObj.document && this.styleObj.document.height)\r
-  //  return this.styleObj.document.height;\r
-    \r
-  return this.styleObj.clip.height;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setHeight()\r
-\r
-function nsxbStyleSetHeight(height)\r
-{\r
-  this.styleObj.clip.height = height;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getWidth()\r
-\r
-function nsxbStyleGetWidth()\r
-{\r
-  //if (this.styleObj.document && this.styleObj.document.width)\r
-  //  return this.styleObj.document.width;\r
-    \r
-  return this.styleObj.clip.width;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setWidth()\r
-\r
-// netscape will not dynamically change the width of a \r
-// layer. It will only happen upon a refresh.\r
-function nsxbStyleSetWidth(width)\r
-{\r
-  this.styleObj.clip.width = width;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getVisibility()\r
-\r
-function nsxbStyleGetVisibility()\r
-{\r
-  switch(this.styleObj.visibility)\r
-  {\r
-  case 'hide':\r
-    return 'hidden';\r
-  case 'show':\r
-    return 'visible';\r
-  }\r
-  return '';\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setVisibility()\r
-\r
-function nsxbStyleSetVisibility(visibility)\r
-{\r
-  switch(visibility)\r
-  {\r
-  case 'hidden':\r
-    visibility = 'hide';\r
-    break;\r
-  case 'visible':\r
-    visibility = 'show';\r
-    break;\r
-  case 'inherit':\r
-    break;\r
-  default:\r
-    visibility = 'show';\r
-    break;\r
-  }\r
-  this.styleObj.visibility = visibility;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getzIndex()\r
-\r
-function nsxbStyleGetzIndex()\r
-{\r
-  return this.styleObj.zIndex;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setzIndex()\r
-\r
-function nsxbStyleSetzIndex(zIndex)\r
-{\r
-  this.styleObj.zIndex = zIndex;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getBackgroundColor()\r
-\r
-function nsxbStyleGetBackgroundColor()\r
-{\r
-  return this.styleObj.bgColor;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setBackgroundColor()\r
-\r
-function nsxbStyleSetBackgroundColor(color)\r
-{\r
-  if (color)\r
-  {\r
-    this.styleObj.bgColor = color;\r
-    this.object.document.bgColor = color;\r
-    this.resizeTo(this.getWidth(), this.getHeight());\r
-  }\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.getColor()\r
-\r
-function nsxbStyleGetColor()\r
-{\r
-  return '#ffffff';\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setColor()\r
-\r
-function nsxbStyleSetColor(color)\r
-{\r
-  this.object.document.fgColor = color;\r
-}\r
-\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.moveAbove()\r
-\r
-function xbStyleMoveAbove(cont)\r
-{\r
-  this.setzIndex(cont.getzIndex()+1);\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.moveBelow()\r
-\r
-function xbStyleMoveBelow(cont)\r
-{\r
-  var zindex = cont.getzIndex() - 1;\r
-            \r
-  this.setzIndex(zindex);\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.moveBy()\r
-\r
-function xbStyleMoveBy(deltaX, deltaY)\r
-{\r
-  this.moveTo(this.getLeft() + deltaX, this.getTop() + deltaY);\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.moveTo()\r
-\r
-function xbStyleMoveTo(x, y)\r
-{\r
-  this.setLeft(x);\r
-  this.setTop(y);\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.moveToAbsolute()\r
-\r
-function xbStyleMoveToAbsolute(x, y)\r
-{\r
-  this.setPageX(x);\r
-  this.setPageY(y);\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.resizeBy()\r
-\r
-function xbStyleResizeBy(deltaX, deltaY)\r
-{\r
-  this.setWidth( this.getWidth() + deltaX );\r
-  this.setHeight( this.getHeight() + deltaY );\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.resizeTo()\r
-\r
-function xbStyleResizeTo(x, y)\r
-{\r
-  this.setWidth(x);\r
-  this.setHeight(y);\r
-}\r
-\r
-////////////////////////////////////////////////////////////////////////\r
-// Navigator 4.x resizing...\r
-\r
-function nsxbStyleOnresize()\r
-{\r
-    if (saveInnerWidth != xbGetWindowWidth() || saveInnerHeight != xbGetWindowHeight())\r
-    location.reload();\r
-\r
-  return false;\r
-}\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// xbStyle.setInnerHTML()\r
-\r
-function nsxbSetInnerHTML(str)\r
-{\r
-  this.object.document.open('text/html');\r
-  this.object.document.write(str);\r
-  this.object.document.close();\r
-}\r
-\r
-xbStyle.prototype.getClip            = nsxbStyleGetClip;\r
-xbStyle.prototype.setClip            = nsxbStyleSetClip;  \r
-xbStyle.prototype.getClipTop         = nsxbStyleGetClipTop;\r
-xbStyle.prototype.setClipTop         = nsxbStyleSetClipTop;  \r
-xbStyle.prototype.getClipRight       = nsxbStyleGetClipRight;\r
-xbStyle.prototype.setClipRight       = nsxbStyleSetClipRight;  \r
-xbStyle.prototype.getClipBottom      = nsxbStyleGetClipBottom;\r
-xbStyle.prototype.setClipBottom      = nsxbStyleSetClipBottom;  \r
-xbStyle.prototype.getClipLeft        = nsxbStyleGetClipLeft;\r
-xbStyle.prototype.setClipLeft        = nsxbStyleSetClipLeft;  \r
-xbStyle.prototype.getClipWidth       = nsxbStyleGetClipWidth;\r
-xbStyle.prototype.setClipWidth       = nsxbStyleSetClipWidth;  \r
-xbStyle.prototype.getClipHeight      = nsxbStyleGetClipHeight;\r
-xbStyle.prototype.setClipHeight      = nsxbStyleSetClipHeight;  \r
-xbStyle.prototype.getLeft            = nsxbStyleGetLeft;\r
-xbStyle.prototype.setLeft            = nsxbStyleSetLeft;\r
-xbStyle.prototype.getTop             = nsxbStyleGetTop;\r
-xbStyle.prototype.setTop             = nsxbStyleSetTop;\r
-xbStyle.prototype.getPageX           = nsxbStyleGetPageX;\r
-xbStyle.prototype.setPageX           = nsxbStyleSetPageX;\r
-xbStyle.prototype.getPageY           = nsxbStyleGetPageY;\r
-xbStyle.prototype.setPageY           = nsxbStyleSetPageY;\r
-xbStyle.prototype.getVisibility      = nsxbStyleGetVisibility;\r
-xbStyle.prototype.setVisibility      = nsxbStyleSetVisibility;\r
-xbStyle.prototype.getzIndex          = nsxbStyleGetzIndex;\r
-xbStyle.prototype.setzIndex          = nsxbStyleSetzIndex;            \r
-xbStyle.prototype.getHeight          = nsxbStyleGetHeight;\r
-xbStyle.prototype.setHeight          = nsxbStyleSetHeight;\r
-xbStyle.prototype.getWidth           = nsxbStyleGetWidth;\r
-xbStyle.prototype.setWidth           = nsxbStyleSetWidth;\r
-xbStyle.prototype.getBackgroundColor = nsxbStyleGetBackgroundColor;\r
-xbStyle.prototype.setBackgroundColor = nsxbStyleSetBackgroundColor;\r
-xbStyle.prototype.getColor           = nsxbStyleGetColor;\r
-xbStyle.prototype.setColor           = nsxbStyleSetColor;\r
-xbStyle.prototype.setInnerHTML       = nsxbSetInnerHTML;\r
-xbStyle.prototype.getBorderTopWidth    = xbStyleNotSupported;\r
-xbStyle.prototype.getBorderRightWidth  = xbStyleNotSupported;\r
-xbStyle.prototype.getBorderBottomWidth = xbStyleNotSupported;\r
-xbStyle.prototype.getBorderLeftWidth   = xbStyleNotSupported;\r
-xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;\r
-xbStyle.prototype.getMarginTop         = xbStyleNotSupported;\r
-xbStyle.prototype.getMarginRight       = xbStyleNotSupported;\r
-xbStyle.prototype.getMarginBottom      = xbStyleNotSupported;\r
-xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;\r
-xbStyle.prototype.getPaddingTop        = xbStyleNotSupported;\r
-xbStyle.prototype.getPaddingRight      = xbStyleNotSupported;\r
-xbStyle.prototype.getPaddingBottom     = xbStyleNotSupported;\r
-xbStyle.prototype.getPaddingLeft       = xbStyleNotSupported;\r
-xbStyle.prototype.getClientWidth       = xbStyleNotSupported;\r
-xbStyle.prototype.getClientHeight      = xbStyleNotSupported;\r
-\r
-window.saveInnerWidth = window.innerWidth;\r
-window.saveInnerHeight = window.innerHeight;\r
-\r
-window.onresize = nsxbStyleOnresize;\r
-\r