Menu

Need help with options box

2003-10-13
2003-12-07
  • David Midkiff

    David Midkiff - 2003-10-13

    When I login to my chat, the option box in bottom right is down below screen, I can only see the tip top of the box and can't get to any of my options.
    You can look at what I am talking about here, it does the same thing in the help box
    http://www.mydamnpage.com/chatroom

    I figured out it's in the default.css, in this section:

    .content,.satContent
    {
      color: #000000;
      background-color: #9BA8C1; /* if you change this, you must also change body */
     
      /* sizing and positioning */
      float: middle;
      padding-left: 0%;
      width: 50%;
      height: 100%;

    I have float: center, because I want the boxes centered. Is there any way to have the boxes centered and keep the options box from going below chatroom screen? Can someone please tell me how I can fix this?

     
    • ondergang

      ondergang - 2003-12-07

      I have the same problem, and still looking for a solution.

      Who can help

      I have the same problem, and still looking for a solution.

      Who can help us ?

       
    • ondergang

      ondergang - 2003-12-07

      I think this will help, I found it in the German FAQ :

      http://www.h-h-c.de/pocforum/index.php?action=search2

      Good luck

       
    • ondergang

      ondergang - 2003-12-07

      I adjust this one, its working fine.
      I found the orginal script at the German forum:
      Replase index.tpl with this one :

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html lang="<?=$_SESSION['chat']->get_language()?>" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$_SESSION['chat']->get_language()?>">

        <head>

              <!--base href="<?=$_SESSION['template']->get_poc_web_root()?>"-->

          <meta http-equiv="Content-type" content='text/html; charset="<?=$_SESSION['translator']->out('CHARACTER_ENCODING')?>"' />

          <meta name="generator" content="PHPOpenChat v3 (http://phpopenchat.org/)" />

          <title><?=$_SESSION['translator']->out('TITLE')?></title>

            <link title="Default" href="<?=$_SESSION['template']->get_theme_path()?>/css/default.css" rel="stylesheet" media="all" />

            <script type="text/javascript">

            /*<![CDATA[*/

              <?=$TEMPLATE_OUT['jScript']?>

              function openHelpWindow(helpText,coordX,coordY)

              {

                coordY -= 210;

                satHelp = window.open('','satHelp','width=140,height=170,screenX='+coordX+',screenY='+coordY+',top='+coordY+',left='+coordX+',dependent=yes,scrollbars=yes');

                satHelp.document.write('<html><head><title><?=$_SESSION['translator']->out('HELP')?><\/title>');

                satHelp.document.write('<link rel="stylesheet" title="Default" href="<?=$_SESSION['template']->get_theme_path()?>/css/default.css" />');

                satHelp.document.write('<\/head>');

                satHelp.document.write('<body>');

                satHelp.document.write('<dl class="help"><dt><?=$_SESSION['translator']->out('HELP')?><\/dt><dd>');

                satHelp.document.write(helpText);

                satHelp.document.write('<\/dd><\/dl>');

                satHelp.document.write('<div style="text-align:right;padding-right:3px"><a href="#" onclick="window.close()" style="font-size: .7em"><?=$_SESSION['translator']->out('CLOSE_WINDOW')?><\/a><\/div>');

                satHelp.document.write('<\/body><\/html>');

              }

              var satModules;

              function openWindow ()

              {

                satHelp = window.open("","satHelp","width=720,height=430,left=30,top=50,dependent=yes,scrollbars=yes");

                window.satModules.focus();

              }

              function focusNick()

              {

                if(document.forms[0].elements['nick'].value=='')

                  document.forms[0].elements['nick'].focus();

              }

            /*]]>*/

            </script>

          <!--

            $Id: index.tpl,v 1.37.2.2 2003/06/30 15:01:08 letreo Exp $

          -->

        </head>

      <body onload="focusNick()" style="text-align:center;">
      <div align="center">
        <table width="350" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="35" height="336">&nbsp;</td>
            <td width="280" valign="top"> <h1 align="center">
                <?=$_SESSION['translator']->out('WELCOME')?>
                !</h1>
              <p align="center"> <strong>
                <?=$TEMPLATE_OUT['nickname']?>
                </strong>
                <?=$TEMPLATE_OUT['greeting']?>
                <br />
                <?=$_SESSION['translator']->out('INTRO')?>
              </p>
              <!-- Tabelle Login Anfnag -->
              <form action="index.php" method="post">
                <div align="center">
                  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <!--DWLayoutTable-->
                    <tr bgcolor="#000000">
                      <td height="18" colspan="2" valign="top" class="contentBoxTitle">
                        <div align="center"><b>
                          <?=$_SESSION['translator']->out('LOGIN')?>
                          </b></div></td>
                    </tr>
                    <tr>
                      <td width="24" height="22" valign="top"  class="contentBox">
                        <?=$_SESSION['translator']->out('NICKNAME')?>
                        :</td>
                      <td width="242" valign="top"  class="contentBox"><input tabindex="1" class="loginInput" name="nick" type="text" value="<?=$_GET['nickname']?>" <?=$TEMPLATE_OUT['disable']?> /></td>
                    </tr>
                    <tr>
                      <td height="22" valign="top"  class="contentBox">
                        <?=$_SESSION['translator']->out('PASSWORD')?>
                        :</td>
                      <td valign="top"  class="contentBox"><input tabindex="2" class="loginInput" name="password" type="password" value="<?=$_GET['password']?>" <?=$TEMPLATE_OUT['disable']?> /></td>
                    </tr>
                    <tr>
                      <td height="24" valign="top"  class="contentBox">
                        <?=$_SESSION['translator']->out('CHANNEL')?>
                        :</td>
                      <td valign="top"  class="contentBox"> <select tabindex="3" class="loginInput" name="channel">
                          <?=$TEMPLATE_OUT['option_list_of_channels']?>
                        </select>
                        <?=$_SESSION['session_post']?>
                      </td>
                    </tr>
                    <tr>
                      <td height="20" valign="top"  class="contentBox">
                        <?=$_SESSION['translator']->out('STORE_ACCOUNT_DATA')?>
                        :</td>
                      <td valign="top"  class="contentBox"> <input style="margin:0" type="checkbox" tabindex="4" name="storeAccountData" <?=$TEMPLATE_OUT['disable']?> />
                      </td>
                    </tr>
                    <tr>
                      <td height="24" colspan="2" valign="top"  class="contentBox" style="text-align: right">
                        <input tabindex="5" class="submit" name="account_data" type="submit" value="<?=$_SESSION['translator']->out('GO')?>" />
                      </td>
                    </tr>
                  </table>
                </div>
              </form>
              <div align="center"><span>
                <?php if( $_SESSION['chat']->get_show_profile() ){?>
                <a class="contentLink" href="register.php?<?=$_SESSION['session_get']?>">
                <?=$_SESSION['translator']->out('REGISTER')?>
                !</a>&nbsp;| <a class="contentLink" href="send_passwd.php?<?=$_SESSION['session_get']?>">
                <?=$_SESSION['translator']->out('FORGOT_PASSWORD')?>
                </a>&nbsp;|
                <?php }?>
                <a class="contentLink" onclick="openWindow()" href="help.php?sat=1&amp;<?=$_SESSION['session_get']?>" target="satHelp">
                <?=$_SESSION['translator']->out('HELP')?>
                </a> </span> <br />
                <!-- Tabelle Login Ende -->
              </div></td>
            <td width="35">&nbsp;</td>
          </tr>
          <tr>
            <td height="67"></td>
            <td valign="top">
              <!-- Tabelle Statistik Ende -->
              <div align="center">
                <table width="95%" align="center" cellpadding="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="258" class="contentBoxTitle"><b>
                      <?=$_SESSION['translator']->out('CHATTER_COUNT')?>
                      :</b> 
                      <?=$TEMPLATE_OUT['count_chatters_online']?>
                    </td>
                  </tr>
                </table>
                <table cellpadding="0" cellspacing="0" width="95%" align="center" class="contentBox">
                  <?=$TEMPLATE_OUT['chatters_online_list']?>
                </table>
                <!-- Tabelle Statistik Ende -->
              </div></td>
            <td></td>
          </tr>
          <tr>
            <td height="10"></td>
            <td></td>
            <td></td>
          </tr>
          <tr>
            <td height="139" colspan="3" valign="top"><table width="95%" align="CENTER" bgcolor="#000000">
                <!-- Tabelle Statistik Anfang -->
                <tr>
                  <td class="menuBoxItemOdd"><div align="center"><b>
                      <?=$_SESSION['translator']->out('STATISTICS')?>
                      </b></div></td>
                </tr>
              </table>
              <table cellpadding="5" cellspacing="0" border="0" width="95%" align="center"><!--DWLayoutTable-->
                <tr>
                  <td align="left" colspan="2" class="menuBoxItemOdd"><b>
                    <?=$_SESSION['translator']->out('CHAT')?>
                    </b></td>
                  <td align="left" colspan="2" class="menuBoxItemOdd"><b>
                    <?=$_SESSION['translator']->out('CHATMAIL')?>
                    </b> </td>
                </tr>
                <tr>
                  <td width="62" valign="top" class="menuBoxItemEven">
                    <?=$_SESSION['translator']->out('ONLINE_COUNT_LAST24h')?>
                    :</td>
                  <td width="135" valign="top" class="menuBoxItemEven">
                    <?=$TEMPLATE_OUT['online_count_last24h']?>
                  </td>
                  <td width="47" class="menuBoxItemEven">
                    <?=$_SESSION['translator']->out('MAIL_COUNT')?>
                  </td>
                  <td width="49" class="menuBoxItemEven">
                    <?=$TEMPLATE_OUT['mail_count']?>
                  </td>
                </tr>
                <tr>
                  <td valign="top" class="menuBoxItemOdd">
                    <?=$_SESSION['translator']->out('ONLINE_TIME_AVG')?>
                    :</td>
                  <td valign="top" class="menuBoxItemOdd">
                    <?=$TEMPLATE_OUT['online_time_avg']?>
                    min.</td>
                  <td class="menuBoxItemOdd">
                    <?=$_SESSION['translator']->out('MAIL_COUNT_LAST_24h')?>
                  </td>
                  <td class="menuBoxItemOdd">
                    <?=$TEMPLATE_OUT['mail_count_last_24h']?>
                  </td>
                </tr>
                <tr>
                  <td valign="top" class="menuBoxItemEven">
                    <?=$_SESSION['translator']->out('REGISTERED_COUNT')?>
                    :</td>
                  <td valign="top" class="menuBoxItemEven">
                    <?=$TEMPLATE_OUT['registered_count']?>
                  </td>
                  <td colspan="2" class="menuBoxItemEven">&nbsp;</td>
                </tr>
                <tr>
                  <td valign="top" class="menuBoxItemOdd">
                    <?=$_SESSION['translator']->out('LAST_REGISTERED')?>
                    :</td>
                  <td valign="top" class="menuBoxItemOdd"> <strong>
                    <?=$TEMPLATE_OUT['last_registered']['NICK']?>
                    </strong> (
                    <?=$TEMPLATE_OUT['last_registered']['REGTIME']?>
                    ) </td>
                  <td colspan="2" class="menuBoxItemOdd">&nbsp;</td>
                </tr>
              </table>
              <!-- Tabelle Statistik Ende -->
            </td>
          </tr>
          <tr>
            <td height="10"></td>
            <td></td>
            <td></td>
          </tr>
        </table>
      </div>
      </body>
      </html>

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.