Changeset 8162 for trunk/MagicSoft


Ignore:
Timestamp:
10/25/06 17:19:02 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/db
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/index-header.html

    r7874 r8162  
    1515     -->
    1616   </style>
    17 <script type="text/javascript" src="dhtml.js"></script>
    1817<script type="text/javascript" src="menu.js"></script>
    1918</head>
     
    3130<A HREF="index.html">H</A>&nbsp;
    3231<A HREF="http://www.astro.uni-wuerzburg.de/datacenter/index.html#db">Docu</A>&nbsp;
     32<A HREF="printtable.php?fTable=MarsVersion">Mars</A>
    3333Info:&nbsp;
    3434<A HREF="runinfo-aio.php">Run</A>&nbsp;
     
    4242<A HREF="sources.php">Sources</A>&nbsp;
    4343<A HREF="statussbs.php">SequBuildStatus</A>&nbsp;
    44 <A HREF="printtable.php?fTable=MarsVersion">Mars</A>
     44<A HREF="plotdb.php">Plots</A>
    4545<hr SIZE=1 NOSHADE WIDTH="80%">
    4646</td>
  • trunk/MagicSoft/Mars/datacenter/db/menu.js

    r7962 r8162  
    11
     2//functions and arrays needed for showing and hiding the menu on the db websites
    23ids = new Array( "all", "info", "info2", "stat", "fail", "cal", "star", "ranges", "limits", "showquery");
    34statarr = new Array( 1, 0, 0, 0, 0, 0, 0, 0, 0, 0);
     
    5556    }
    5657}
     58
     59//functions and arrays needed for the function for plotdb.php
     60primaries = new Array( "fSequenceFirst", "fRunNumber", "fDataSetNumber");
     61
     62function showpulldown (id2)
     63{
     64    var el = document.getElementById(id2);
     65    el.style.display="inline";
     66    for (var i = 0 ; i < primaries.length ; i++)
     67    {
     68        if (primaries[i]==id2)
     69            continue;
     70        var el2 = document.getElementById(primaries[i]);
     71        el2.style.display="none";
     72        var el3 = document.getElementById(primaries[i]+"2");
     73        if (el3.style.display=='inline')
     74            var add=id2;
     75        el3.style.display="none";
     76    }
     77    if (add)
     78    {
     79        var el4 = document.getElementById(id2+"2");
     80        el4.style.display="inline";
     81    }
     82}
     83
     84function showpulldown2 ()
     85{
     86    count=0;
     87    for (var i = 0 ; i < primaries.length ; i++)
     88    {
     89        var el = document.getElementById(primaries[i]);
     90        if (el.style.display=='inline')
     91        {
     92            var el2 = document.getElementById(primaries[i]+"2");
     93            el2.style.display="inline";
     94        }
     95        else
     96            count++;
     97    }
     98    if (count==3)
     99        for (var i = 0 ; i < primaries.length ; i++)
     100        {
     101            var el2 = document.getElementById(primaries[i]+"2");
     102            el2.style.display="inline";
     103        }
     104}
     105
     106function hidepulldown2 ()
     107{
     108    for (var i = 0 ; i < primaries.length ; i++)
     109    {
     110        var el2 = document.getElementById(primaries[i]+"2");
     111        el2.style.display="none";
     112    }
     113}
     114
  • trunk/MagicSoft/Mars/datacenter/db/plotdb.php

    r8161 r8162  
    8686    printf("doesn't work with ChartDirector.</li>\n");
    8787    printf("<li>In Set1 and Set2 Sets can be given (e.g. on sequences in Set1 and off sequences in Set2) - they ");
    88     printf("are displayed in colour (Set:blue, Set2: red). Please give the numbers with space as separator (e.g. 40004 40022).</<li>\n");
     88    printf("are displayed in colour (Set: blue, Set2: red). Please give the numbers with space as separator (e.g. 40004 40022).</<li>\n");
    8989    printf("<li>0 is not accepted in the ranges fields, please write .0 or 00</li>");
    9090    printf("<li>Be aware, that plotting timestamps, e.g. fRunStart, doesn't work. </li>");
Note: See TracChangeset for help on using the changeset viewer.