Subversion Repositories personal-webbase

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. require 'includes/main.inc.php';
  4. require 'includes/modulinit.inc.php'; // für $designordner
  5.  
  6. ?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7.  
  8. <html>
  9. <head>
  10.          <title>ViaThinkSoft Personal WebBase</title>
  11.          <link href="style.css.php" rel="stylesheet" type="text/css">
  12.          <meta name="robots" content="noindex">
  13. </head>
  14.  
  15. <body class="margin_bottom">
  16.  
  17. <script language="JavaScript" type="text/javascript">
  18. <!--
  19.  
  20. var SCR_OBJ = [];
  21. function GLOBAL_SCROLL( o, i )
  22. {
  23.                 SCR_OBJ[o].scroll( i );
  24. }
  25.  
  26. function scroll(objElement)
  27. {
  28.                 this.obj = objElement;
  29.                 this.timerID = -1;
  30.                 SCR_OBJ[SCR_OBJ.length] = this; // SCR_OBJ.push(this);
  31.                 this.objID = SCR_OBJ.length -1;
  32.  
  33.                 this.scroll = function( iOff ) {with(this){
  34.                                 if( obj.scrollBy )
  35.                                 {
  36.                                                 obj.scrollBy(0,iOff);
  37.                                                 return;
  38.                                 }
  39.                                 if( iOff < 0 )
  40.                                 {
  41.                                                 var i = obj.scrollTop + iOff;
  42.  
  43.                                                 if( i<0 ){
  44.                                                                 obj.scrollTop = 0;
  45.                                                                 stop();
  46.                                                 }
  47.                                                 else{
  48.                                                                 obj.scrollTop = i;
  49.                                                 }
  50.                                 }
  51.                                 else
  52.                                 {
  53.                                                 if( obj.scrollTop + iOff < obj.scrollHeight )
  54.                                                 {
  55.                                                                 obj.scrollTop += iOff;
  56.                                                 }
  57.                                                 else
  58.                                                 {
  59.                                                                 obj.scrollTop = obj.scrollHeight;
  60.                                                                 stop();
  61.                                                 }
  62.                                 }
  63.                 }};
  64.  
  65.                 this.stop = function() {with(this){
  66.                                 if (timerID!=-1)
  67.                                 {
  68.                                                 window.clearInterval(timerID);
  69.                                 }
  70.                 }};
  71.  
  72.                 this.start = function( iOff ){ with(this){
  73.                                 stop();
  74.                                 timerID = window.setInterval( "GLOBAL_SCROLL("+objID+","+iOff+")", 25 );
  75.                 }};
  76. }
  77.  
  78. var srollObject = null;
  79. var objElement = parent.frames.Navigation;
  80. srollObject = new scroll(objElement);
  81.  
  82. // -->
  83. </script>
  84.  
  85. <table cellspacing="0" cellpadding="0" border="0" width="180">
  86. <tr>
  87. <td align="left" valign="top"><img src="designs/spacer.gif" width="1" height="2" alt=""><br><a href="#" onmouseover="srollObject.start(-4);" onmouseout="srollObject.stop();"><img src="<?php if (isset($design_ordner)) echo $design_ordner; ?>images/rauf.gif" border="0" alt=""></a></td>
  88. <td align="center" valign="top"><span class="bottom_mini">Men&uuml;scrollen</span></td>
  89. <td align="right" valign="top"><img src="designs/spacer.gif" width="1" height="2" alt=""><br><a href="#" onmouseover="srollObject.start(4);" onmouseout="srollObject.stop();"><img src="<?php if (isset($design_ordner)) echo $design_ordner; ?>images/runter.gif" border="0" alt=""></a></td>
  90. </tr>
  91. </table>
  92.  
  93. </body>
  94.  
  95. </html>
  96.