User: cloph   
Date: 06/02/15 21:01:21

Added:
 /de/www/doc/howto_2_0/office/
  dicooo_seekbar.js

Modified:
 /de/www/doc/howto_2_0/office/
  dicooo_swf.html, dicooo_swf_teil1.html, dicooo_swf_teil2.html, index.html

Log:
 Das JS verwirrt Sourcecast → In ein eine eigene Datei damit

File Changes:

Directory: /de/www/doc/howto_2_0/office/
========================================

File [added]: dicooo_seekbar.js
Url: 
http://de.openoffice.org/source/browse/de/www/doc/howto_2_0/office/dicooo_seekbar.js?rev=1.1&content-type=text/vnd.viewcvs-markup
Added lines: 199
----------------
/* Jesse Ruderman
 * July 18, 2004
 *
 * Remaining problems:
 *   IE sometimes crashes on exit after using the this script.
 *   In IE, it is a little ugly because IE doesn't support border-radius.
 *   In IE, it does not work at standalone Flash URLs.
 */

function setupSeekBar() {

setTimeout(initFlashControls, 100);

function initFlashControls()
{
  var count = 0;

  function tt(elem)
  {
    if (typeof elem.TotalFrames != "undefined") /* do not coerce elem.StopPlay 
to bool, because that breaks IE */
    {
      addFlashControls(elem);
      ++count;
    }
  }

  var i, x;

  for (i = 0; x = document.getElementsByTagName("object")[i]; ++i)
    tt(x);

  for (i = 0; x = document.getElementsByTagName("embed")[i]; ++i)
    tt(x);

}


function addFlashControls(flash)
{
  var controlsDiv = document.createElement("div");

  /* Put the controls under the Flash. 
   *
   * If the Flash is an <embed> in an <object>, we do not want to touch the 
<object>, because that would make
   * Mozilla re-test whether the <object> is broken and reset the <embed>.  So 
in that case, we put the controls
   * under the <object>.
   */
  var where = flash;
  while (where.parentNode.tagName.toLowerCase() == "object")
    where = where.parentNode;
  where.parentNode.insertBefore(controlsDiv, where.nextSibling);

  /* Construct controls using DOM2 instead of innerHTML.
   * In Mozilla, innerHTML= is like innerText= at standalone flash URLs.
   */
  var table = document.createElement("table");
  controlsDiv.appendChild(table);
  
  var row = table.insertRow(-1);
  
  var pauseButton = document.createElement("button");
  pauseButton.appendChild(document.createTextNode("Pause"));
  var buttonCell = row.insertCell(-1);
  buttonCell.appendChild(pauseButton);
  
  var slider = row.insertCell(-1);
  slider.width = "100%";
  
  var visibleSlider = document.createElement("div");
  visibleSlider.style.position = "relative";
  visibleSlider.style.height = "10px";
  visibleSlider.style.width = "100%";
  visibleSlider.style.MozBorderRadius = "4px";
  visibleSlider.style.background = "#aaa";
  slider.appendChild(visibleSlider);
  
  var thumb = document.createElement("div");
  thumb.style.position = "absolute";
  thumb.style.height = "20px";
  thumb.style.width = "10px";
  thumb.style.top = "-5px";
  thumb.style.MozBorderRadius = "4px";
  thumb.style.background = "#666";
  visibleSlider.appendChild(thumb);
  

  var sliderWidth;
  var paused = false;
  var dragging = false;

  table.width = Math.max(parseInt(flash.width) || 0, 400);
  
  addEvent(pauseButton, "click", pauseUnpause);
  addEvent(slider, "mousedown", drag);
  addEvent(slider, "drag", function() { return false; }); /* For IE */
  window.setInterval(update, 30);

  function pauseUnpause()
  {
    paused = !paused;

    pauseButton.style.borderStyle = paused ? "inset" : "";

    if (paused)
      flash.StopPlay();
    else
      flash.Play();
  }

  function update()
  {
    sliderWidth = parseInt(getWidth(slider) - getWidth(thumb));

    if (!paused && !dragging)
      thumb.style.left = parseInt(flash.CurrentFrame() / totalFrames() * 
sliderWidth) + "px";
  }

  function dragMousemove(e)
  {
    var pageX = e.clientX + document.body.scrollLeft; /* cross-browser, unlike 
e.pageX, which IE does not support */
    var pos = bounds(0, pageX - getX(slider) - 5, sliderWidth);
    var frame = bounds(1, Math.ceil(totalFrames() * pos / sliderWidth), 
totalFrames() - 2);

    thumb.style.left = pos + "px";

    flash.GotoFrame(frame);
  }

  function release(e)
  {
    removeEvent(document, "mousemove", dragMousemove);
    removeEvent(document, "mouseup", release);
    if (!paused)
      flash.Play();
    dragging = false;
  }

  function drag(e)
  {
    addEvent(document, "mousemove", dragMousemove);
    addEvent(document, "mouseup", release);
    dragging = true;
    dragMousemove(e);
  }



  /* Boring functions, some of which only exist to hide differences between IE 
and Mozilla. */

  function bounds(min, val, max)
  {
    return Math.min(Math.max(min, val), max);
  }

  function totalFrames()
  {
    /* This is weird.  TotalFrames differs between IE and Mozilla.  
CurrentFrame does not. */

    if (typeof flash.TotalFrames == "number")
      return flash.TotalFrames; /* IE */
    else if (typeof flash.TotalFrames == "function")
      return flash.TotalFrames(); /* Mozilla */
    else
      return 1; /* Partially loaded Flash in IE? */
  }

  function getWidth(elem)
  {
    if (document.defaultView && document.defaultView.getComputedStyle)
      return 
parseFloat(document.defaultView.getComputedStyle(elem,null).getPropertyValue("width"));
 /* Mozilla */
    else
      return parseFloat(elem.offsetWidth); /* IE (currentStyle.width can be 
"auto" or "100%") */
  }

  function getX(elem)
  {
    if (!elem) return 0;
    return (elem.offsetLeft) + getX(elem.offsetParent);
  }

  function addEvent(elem, eventName, fun)
  {
    if (elem.addEventListener) /* Mozilla */
      elem.addEventListener(eventName, fun, false);
    else /* IE */
      elem.attachEvent("on" + eventName, fun);
  }

  function removeEvent(elem, eventName, fun)
  {
    if (elem.addEventListener)
      elem.removeEventListener(eventName, fun, false);
    else
      elem.detachEvent("on" + eventName, fun);
  }

}

}

File [changed]: dicooo_swf.html
Url: 
http://de.openoffice.org/source/browse/de/www/doc/howto_2_0/office/dicooo_swf.html?r1=1.1&r2=1.2
Delta lines:  +2 -202
---------------------
--- dicooo_swf.html     16 Feb 2006 04:27:35 -0000      1.1
+++ dicooo_swf.html     16 Feb 2006 05:01:17 -0000      1.2
@@ -11,211 +11,11 @@
 
        <!-- >
        Kommentare zur Seite
-       $Id: dicooo_swf.html,v 1.1 2006/02/16 04:27:35 cloph Exp $
+       $Id: dicooo_swf.html,v 1.2 2006/02/16 05:01:17 cloph Exp $
        < -->
        <!-- End de-header -->
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-<script type="text/javascript" language="javascript">
-/* Jesse Ruderman
- * July 18, 2004
- *
- * Remaining problems:
- *   IE sometimes crashes on exit after using the this script.
- *   In IE, it is a little ugly because IE doesn't support border-radius.
- *   In IE, it does not work at standalone Flash URLs.
- */
-
-function setupSeekBar() {
-
-setTimeout(initFlashControls, 100);
-
-function initFlashControls()
-{
-  var count = 0;
-
-  function tt(elem)
-  {
-    if (typeof elem.TotalFrames != "undefined") /* do not coerce elem.StopPlay 
to bool, because that breaks IE */
-    {
-      addFlashControls(elem);
-      ++count;
-    }
-  }
-
-  var i, x;
-
-  for (i = 0; x = document.getElementsByTagName("object")[i]; ++i)
-    tt(x);
-
-  for (i = 0; x = document.getElementsByTagName("embed")[i]; ++i)
-    tt(x);
-
-}
-
-
-function addFlashControls(flash)
-{
-  var controlsDiv = document.createElement("div");
-
-  /* Put the controls under the Flash. 
-   *
-   * If the Flash is an <embed> in an <object>, we do not want to touch the 
<object>, because that would make
-   * Mozilla re-test whether the <object> is broken and reset the <embed>.  So 
in that case, we put the controls
-   * under the <object>.
-   */
-  var where = flash;
-  while (where.parentNode.tagName.toLowerCase() == "object")
-    where = where.parentNode;
-  where.parentNode.insertBefore(controlsDiv, where.nextSibling);
-
-  /* Construct controls using DOM2 instead of innerHTML.
-   * In Mozilla, innerHTML= is like innerText= at standalone flash URLs.
-   */
-  var table = document.createElement("table");
-  controlsDiv.appendChild(table);
-  
-  var row = table.insertRow(-1);
-  
-  var pauseButton = document.createElement("button");
-  pauseButton.appendChild(document.createTextNode("Pause"));
-  var buttonCell = row.insertCell(-1);
-  buttonCell.appendChild(pauseButton);
-  
-  var slider = row.insertCell(-1);
-  slider.width = "100%";
-  
-  var visibleSlider = document.createElement("div");
-  visibleSlider.style.position = "relative";
-  visibleSlider.style.height = "10px";
-  visibleSlider.style.width = "100%";
-  visibleSlider.style.MozBorderRadius = "4px";
-  visibleSlider.style.background = "#aaa";
-  slider.appendChild(visibleSlider);
-  
-  var thumb = document.createElement("div");
-  thumb.style.position = "absolute";
-  thumb.style.height = "20px";
-  thumb.style.width = "10px";
-  thumb.style.top = "-5px";
-  thumb.style.MozBorderRadius = "4px";
-  thumb.style.background = "#666";
-  visibleSlider.appendChild(thumb);
-  
-
-  var sliderWidth;
-  var paused = false;
-  var dragging = false;
-
-  table.width = Math.max(parseInt(flash.width) || 0, 400);
-  
-  addEvent(pauseButton, "click", pauseUnpause);
-  addEvent(slider, "mousedown", drag);
-  addEvent(slider, "drag", function() { return false; }); /* For IE */
-  window.setInterval(update, 30);
-
-  function pauseUnpause()
-  {
-    paused = !paused;
-
-    pauseButton.style.borderStyle = paused ? "inset" : "";
-
-    if (paused)
-      flash.StopPlay();
-    else
-      flash.Play();
-  }
-
-  function update()
-  {
-    sliderWidth = parseInt(getWidth(slider) - getWidth(thumb));
-
-    if (!paused && !dragging)
-      thumb.style.left = parseInt(flash.CurrentFrame() / totalFrames() * 
sliderWidth) + "px";
-  }
-
-  function dragMousemove(e)
-  {
-    var pageX = e.clientX + document.body.scrollLeft; /* cross-browser, unlike 
e.pageX, which IE does not support */
-    var pos = bounds(0, pageX - getX(slider) - 5, sliderWidth);
-    var frame = bounds(1, Math.ceil(totalFrames() * pos / sliderWidth), 
totalFrames() - 2);
-
-    thumb.style.left = pos + "px";
-
-    flash.GotoFrame(frame);
-  }
-
-  function release(e)
-  {
-    removeEvent(document, "mousemove", dragMousemove);
-    removeEvent(document, "mouseup", release);
-    if (!paused)
-      flash.Play();
-    dragging = false;
-  }
-
-  function drag(e)
-  {
-    addEvent(document, "mousemove", dragMousemove);
-    addEvent(document, "mouseup", release);
-    dragging = true;
-    dragMousemove(e);
-  }
-
-
-
-  /* Boring functions, some of which only exist to hide differences between IE 
and Mozilla. */
-
-  function bounds(min, val, max)
-  {
-    return Math.min(Math.max(min, val), max);
-  }
-
-  function totalFrames()
-  {
-    /* This is weird.  TotalFrames differs between IE and Mozilla.  
CurrentFrame does not. */
-
-    if (typeof flash.TotalFrames == "number")
-      return flash.TotalFrames; /* IE */
-    else if (typeof flash.TotalFrames == "function")
-      return flash.TotalFrames(); /* Mozilla */
-    else
-      return 1; /* Partially loaded Flash in IE? */
-  }
-
-  function getWidth(elem)
-  {
-    if (document.defaultView && document.defaultView.getComputedStyle)
-      return 
parseFloat(document.defaultView.getComputedStyle(elem,null).getPropertyValue("width"));
 /* Mozilla */
-    else
-      return parseFloat(elem.offsetWidth); /* IE (currentStyle.width can be 
"auto" or "100%") */
-  }
-
-  function getX(elem)
-  {
-    if (!elem) return 0;
-    return (elem.offsetLeft) + getX(elem.offsetParent);
-  }
-
-  function addEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener) /* Mozilla */
-      elem.addEventListener(eventName, fun, false);
-    else /* IE */
-      elem.attachEvent("on" + eventName, fun);
-  }
-
-  function removeEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener)
-      elem.removeEventListener(eventName, fun, false);
-    else
-      elem.detachEvent("on" + eventName, fun);
-  }
-
-}
-
-}
-</script>
+<script type="text/javascript" src="dicooo_seekbar.js" language="javascript"/>
 </head>
 <body onload="setupSeekBar();">
        <h1>Installation neuer Wörterbücher mit DicOOo</h1>

File [changed]: dicooo_swf_teil1.html
Url: 
http://de.openoffice.org/source/browse/de/www/doc/howto_2_0/office/dicooo_swf_teil1.html?r1=1.1&r2=1.2
Delta lines:  +2 -202
---------------------
--- dicooo_swf_teil1.html       16 Feb 2006 04:27:35 -0000      1.1
+++ dicooo_swf_teil1.html       16 Feb 2006 05:01:18 -0000      1.2
@@ -11,211 +11,11 @@
 
        <!-- >
        Kommentare zur Seite
-       $Id: dicooo_swf_teil1.html,v 1.1 2006/02/16 04:27:35 cloph Exp $
+       $Id: dicooo_swf_teil1.html,v 1.2 2006/02/16 05:01:18 cloph Exp $
        < -->
        <!-- End de-header -->
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-<script type="text/javascript" language="javascript">
-/* Jesse Ruderman
- * July 18, 2004
- *
- * Remaining problems:
- *   IE sometimes crashes on exit after using the this script.
- *   In IE, it is a little ugly because IE doesn't support border-radius.
- *   In IE, it does not work at standalone Flash URLs.
- */
-
-function setupSeekBar() {
-
-setTimeout(initFlashControls, 100);
-
-function initFlashControls()
-{
-  var count = 0;
-
-  function tt(elem)
-  {
-    if (typeof elem.TotalFrames != "undefined") /* do not coerce elem.StopPlay 
to bool, because that breaks IE */
-    {
-      addFlashControls(elem);
-      ++count;
-    }
-  }
-
-  var i, x;
-
-  for (i = 0; x = document.getElementsByTagName("object")[i]; ++i)
-    tt(x);
-
-  for (i = 0; x = document.getElementsByTagName("embed")[i]; ++i)
-    tt(x);
-
-}
-
-
-function addFlashControls(flash)
-{
-  var controlsDiv = document.createElement("div");
-
-  /* Put the controls under the Flash. 
-   *
-   * If the Flash is an <embed> in an <object>, we do not want to touch the 
<object>, because that would make
-   * Mozilla re-test whether the <object> is broken and reset the <embed>.  So 
in that case, we put the controls
-   * under the <object>.
-   */
-  var where = flash;
-  while (where.parentNode.tagName.toLowerCase() == "object")
-    where = where.parentNode;
-  where.parentNode.insertBefore(controlsDiv, where.nextSibling);
-
-  /* Construct controls using DOM2 instead of innerHTML.
-   * In Mozilla, innerHTML= is like innerText= at standalone flash URLs.
-   */
-  var table = document.createElement("table");
-  controlsDiv.appendChild(table);
-  
-  var row = table.insertRow(-1);
-  
-  var pauseButton = document.createElement("button");
-  pauseButton.appendChild(document.createTextNode("Pause"));
-  var buttonCell = row.insertCell(-1);
-  buttonCell.appendChild(pauseButton);
-  
-  var slider = row.insertCell(-1);
-  slider.width = "100%";
-  
-  var visibleSlider = document.createElement("div");
-  visibleSlider.style.position = "relative";
-  visibleSlider.style.height = "10px";
-  visibleSlider.style.width = "100%";
-  visibleSlider.style.MozBorderRadius = "4px";
-  visibleSlider.style.background = "#aaa";
-  slider.appendChild(visibleSlider);
-  
-  var thumb = document.createElement("div");
-  thumb.style.position = "absolute";
-  thumb.style.height = "20px";
-  thumb.style.width = "10px";
-  thumb.style.top = "-5px";
-  thumb.style.MozBorderRadius = "4px";
-  thumb.style.background = "#666";
-  visibleSlider.appendChild(thumb);
-  
-
-  var sliderWidth;
-  var paused = false;
-  var dragging = false;
-
-  table.width = Math.max(parseInt(flash.width) || 0, 400);
-  
-  addEvent(pauseButton, "click", pauseUnpause);
-  addEvent(slider, "mousedown", drag);
-  addEvent(slider, "drag", function() { return false; }); /* For IE */
-  window.setInterval(update, 30);
-
-  function pauseUnpause()
-  {
-    paused = !paused;
-
-    pauseButton.style.borderStyle = paused ? "inset" : "";
-
-    if (paused)
-      flash.StopPlay();
-    else
-      flash.Play();
-  }
-
-  function update()
-  {
-    sliderWidth = parseInt(getWidth(slider) - getWidth(thumb));
-
-    if (!paused && !dragging)
-      thumb.style.left = parseInt(flash.CurrentFrame() / totalFrames() * 
sliderWidth) + "px";
-  }
-
-  function dragMousemove(e)
-  {
-    var pageX = e.clientX + document.body.scrollLeft; /* cross-browser, unlike 
e.pageX, which IE does not support */
-    var pos = bounds(0, pageX - getX(slider) - 5, sliderWidth);
-    var frame = bounds(1, Math.ceil(totalFrames() * pos / sliderWidth), 
totalFrames() - 2);
-
-    thumb.style.left = pos + "px";
-
-    flash.GotoFrame(frame);
-  }
-
-  function release(e)
-  {
-    removeEvent(document, "mousemove", dragMousemove);
-    removeEvent(document, "mouseup", release);
-    if (!paused)
-      flash.Play();
-    dragging = false;
-  }
-
-  function drag(e)
-  {
-    addEvent(document, "mousemove", dragMousemove);
-    addEvent(document, "mouseup", release);
-    dragging = true;
-    dragMousemove(e);
-  }
-
-
-
-  /* Boring functions, some of which only exist to hide differences between IE 
and Mozilla. */
-
-  function bounds(min, val, max)
-  {
-    return Math.min(Math.max(min, val), max);
-  }
-
-  function totalFrames()
-  {
-    /* This is weird.  TotalFrames differs between IE and Mozilla.  
CurrentFrame does not. */
-
-    if (typeof flash.TotalFrames == "number")
-      return flash.TotalFrames; /* IE */
-    else if (typeof flash.TotalFrames == "function")
-      return flash.TotalFrames(); /* Mozilla */
-    else
-      return 1; /* Partially loaded Flash in IE? */
-  }
-
-  function getWidth(elem)
-  {
-    if (document.defaultView && document.defaultView.getComputedStyle)
-      return 
parseFloat(document.defaultView.getComputedStyle(elem,null).getPropertyValue("width"));
 /* Mozilla */
-    else
-      return parseFloat(elem.offsetWidth); /* IE (currentStyle.width can be 
"auto" or "100%") */
-  }
-
-  function getX(elem)
-  {
-    if (!elem) return 0;
-    return (elem.offsetLeft) + getX(elem.offsetParent);
-  }
-
-  function addEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener) /* Mozilla */
-      elem.addEventListener(eventName, fun, false);
-    else /* IE */
-      elem.attachEvent("on" + eventName, fun);
-  }
-
-  function removeEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener)
-      elem.removeEventListener(eventName, fun, false);
-    else
-      elem.detachEvent("on" + eventName, fun);
-  }
-
-}
-
-}
-</script>
+<script type="text/javascript" src="dicooo_seekbar.js" language="javascript"/>
 </head>
 <body onload="setupSeekBar();">
        <h1>Installation neuer Wörterbücher mit DicOOo (Teil 1)</h1>

File [changed]: dicooo_swf_teil2.html
Url: 
http://de.openoffice.org/source/browse/de/www/doc/howto_2_0/office/dicooo_swf_teil2.html?r1=1.1&r2=1.2
Delta lines:  +2 -202
---------------------
--- dicooo_swf_teil2.html       16 Feb 2006 04:27:36 -0000      1.1
+++ dicooo_swf_teil2.html       16 Feb 2006 05:01:18 -0000      1.2
@@ -11,211 +11,11 @@
 
        <!-- >
        Kommentare zur Seite
-       $Id: dicooo_swf_teil2.html,v 1.1 2006/02/16 04:27:36 cloph Exp $
+       $Id: dicooo_swf_teil2.html,v 1.2 2006/02/16 05:01:18 cloph Exp $
        < -->
        <!-- End de-header -->
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-<script type="text/javascript" language="javascript">
-/* Jesse Ruderman
- * July 18, 2004
- *
- * Remaining problems:
- *   IE sometimes crashes on exit after using the this script.
- *   In IE, it is a little ugly because IE doesn't support border-radius.
- *   In IE, it does not work at standalone Flash URLs.
- */
-
-function setupSeekBar() {
-
-setTimeout(initFlashControls, 100);
-
-function initFlashControls()
-{
-  var count = 0;
-
-  function tt(elem)
-  {
-    if (typeof elem.TotalFrames != "undefined") /* do not coerce elem.StopPlay 
to bool, because that breaks IE */
-    {
-      addFlashControls(elem);
-      ++count;
-    }
-  }
-
-  var i, x;
-
-  for (i = 0; x = document.getElementsByTagName("object")[i]; ++i)
-    tt(x);
-
-  for (i = 0; x = document.getElementsByTagName("embed")[i]; ++i)
-    tt(x);
-
-}
-
-
-function addFlashControls(flash)
-{
-  var controlsDiv = document.createElement("div");
-
-  /* Put the controls under the Flash. 
-   *
-   * If the Flash is an <embed> in an <object>, we do not want to touch the 
<object>, because that would make
-   * Mozilla re-test whether the <object> is broken and reset the <embed>.  So 
in that case, we put the controls
-   * under the <object>.
-   */
-  var where = flash;
-  while (where.parentNode.tagName.toLowerCase() == "object")
-    where = where.parentNode;
-  where.parentNode.insertBefore(controlsDiv, where.nextSibling);
-
-  /* Construct controls using DOM2 instead of innerHTML.
-   * In Mozilla, innerHTML= is like innerText= at standalone flash URLs.
-   */
-  var table = document.createElement("table");
-  controlsDiv.appendChild(table);
-  
-  var row = table.insertRow(-1);
-  
-  var pauseButton = document.createElement("button");
-  pauseButton.appendChild(document.createTextNode("Pause"));
-  var buttonCell = row.insertCell(-1);
-  buttonCell.appendChild(pauseButton);
-  
-  var slider = row.insertCell(-1);
-  slider.width = "100%";
-  
-  var visibleSlider = document.createElement("div");
-  visibleSlider.style.position = "relative";
-  visibleSlider.style.height = "10px";
-  visibleSlider.style.width = "100%";
-  visibleSlider.style.MozBorderRadius = "4px";
-  visibleSlider.style.background = "#aaa";
-  slider.appendChild(visibleSlider);
-  
-  var thumb = document.createElement("div");
-  thumb.style.position = "absolute";
-  thumb.style.height = "20px";
-  thumb.style.width = "10px";
-  thumb.style.top = "-5px";
-  thumb.style.MozBorderRadius = "4px";
-  thumb.style.background = "#666";
-  visibleSlider.appendChild(thumb);
-  
-
-  var sliderWidth;
-  var paused = false;
-  var dragging = false;
-
-  table.width = Math.max(parseInt(flash.width) || 0, 400);
-  
-  addEvent(pauseButton, "click", pauseUnpause);
-  addEvent(slider, "mousedown", drag);
-  addEvent(slider, "drag", function() { return false; }); /* For IE */
-  window.setInterval(update, 30);
-
-  function pauseUnpause()
-  {
-    paused = !paused;
-
-    pauseButton.style.borderStyle = paused ? "inset" : "";
-
-    if (paused)
-      flash.StopPlay();
-    else
-      flash.Play();
-  }
-
-  function update()
-  {
-    sliderWidth = parseInt(getWidth(slider) - getWidth(thumb));
-
-    if (!paused && !dragging)
-      thumb.style.left = parseInt(flash.CurrentFrame() / totalFrames() * 
sliderWidth) + "px";
-  }
-
-  function dragMousemove(e)
-  {
-    var pageX = e.clientX + document.body.scrollLeft; /* cross-browser, unlike 
e.pageX, which IE does not support */
-    var pos = bounds(0, pageX - getX(slider) - 5, sliderWidth);
-    var frame = bounds(1, Math.ceil(totalFrames() * pos / sliderWidth), 
totalFrames() - 2);
-
-    thumb.style.left = pos + "px";
-
-    flash.GotoFrame(frame);
-  }
-
-  function release(e)
-  {
-    removeEvent(document, "mousemove", dragMousemove);
-    removeEvent(document, "mouseup", release);
-    if (!paused)
-      flash.Play();
-    dragging = false;
-  }
-
-  function drag(e)
-  {
-    addEvent(document, "mousemove", dragMousemove);
-    addEvent(document, "mouseup", release);
-    dragging = true;
-    dragMousemove(e);
-  }
-
-
-
-  /* Boring functions, some of which only exist to hide differences between IE 
and Mozilla. */
-
-  function bounds(min, val, max)
-  {
-    return Math.min(Math.max(min, val), max);
-  }
-
-  function totalFrames()
-  {
-    /* This is weird.  TotalFrames differs between IE and Mozilla.  
CurrentFrame does not. */
-
-    if (typeof flash.TotalFrames == "number")
-      return flash.TotalFrames; /* IE */
-    else if (typeof flash.TotalFrames == "function")
-      return flash.TotalFrames(); /* Mozilla */
-    else
-      return 1; /* Partially loaded Flash in IE? */
-  }
-
-  function getWidth(elem)
-  {
-    if (document.defaultView && document.defaultView.getComputedStyle)
-      return 
parseFloat(document.defaultView.getComputedStyle(elem,null).getPropertyValue("width"));
 /* Mozilla */
-    else
-      return parseFloat(elem.offsetWidth); /* IE (currentStyle.width can be 
"auto" or "100%") */
-  }
-
-  function getX(elem)
-  {
-    if (!elem) return 0;
-    return (elem.offsetLeft) + getX(elem.offsetParent);
-  }
-
-  function addEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener) /* Mozilla */
-      elem.addEventListener(eventName, fun, false);
-    else /* IE */
-      elem.attachEvent("on" + eventName, fun);
-  }
-
-  function removeEvent(elem, eventName, fun)
-  {
-    if (elem.addEventListener)
-      elem.removeEventListener(eventName, fun, false);
-    else
-      elem.detachEvent("on" + eventName, fun);
-  }
-
-}
-
-}
-</script>
+<script type="text/javascript" src="dicooo_seekbar.js" language="javascript"/>
 </head>
 <body onload="setupSeekBar();">
        <h1>Installation neuer Wörterbücher mit DicOOo (Teil 2)</h1>

File [changed]: index.html
Url: 
http://de.openoffice.org/source/browse/de/www/doc/howto_2_0/office/index.html?r1=1.4&r2=1.5
Delta lines:  +2 -2
-------------------
--- index.html  16 Feb 2006 04:27:36 -0000      1.4
+++ index.html  16 Feb 2006 05:01:18 -0000      1.5
@@ -9,7 +9,7 @@
        <link rel="alternate stylesheet" title="ohne Navbar" media="screen" 
href="../../../styles/de_nonavbar.css" type="text/css" />
        <!-- >
        Kommentare zur Seite
-       $Id: index.html,v 1.4 2006/02/16 04:27:36 cloph Exp $
+       $Id: index.html,v 1.5 2006/02/16 05:01:18 cloph Exp $
        < -->
        <!-- End de-header -->
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
@@ -31,7 +31,7 @@
       <li><a href="./dicooo_swf.html">...Wörterbücher installieren
              (swf-Video)</a> auch in zwei einzelnen Teilen verfügbar:<a
              href="./dicooo_swf_teil1.html">Teil 1</a>, <a
-             href="./dicooo_swf_teil2.html">Teil2</a></li>
+             href="./dicooo_swf_teil2.html">Teil 2</a></li>
     </ul>
 
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an