Changeset 644


Ignore:
Timestamp:
Apr 9, 2008, 4:54:01 PM (15 years ago)
Author:
mbayer
Message:

have added a progress bar to the userchoice3.jsp page to warn the user that the zip file is being inspected -- this takes time

Location:
plugins/base2/uk.ac.ebi.tab2mage/branches/tab2mageimporter
Files:
16 added
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/base2/uk.ac.ebi.tab2mage/branches/tab2mageimporter/jsp/uk/ac/ebi/nugo/plugins/userchoice3.jsp

    r639 r644  
    2020<link rel="stylesheet" type="text/css" href="/base/include/styles/main.css">
    2121<link rel="stylesheet" type="text/css" href="/base/include/styles/size_m.css">
     22<link href="progressbar/progressbar.css" rel="stylesheet" type="text/css" />
    2223
    2324<script language="JavaScript" src="<%= request.getContextPath()%>/include/scripts/main.js" type="text/javascript"></script>
     25<script type="text/javascript" src="progressbar/progressbar.js"></script>
    2426
    25 <script type="text/javascript" src="<%= request.getContextPath()%>/plugins/uk/ac/ebi/nugo/plugins/progressbar/progressbar.js"></script>
     27<script type="text/javascript">
     28
     29    function showProgressBar()
     30    {
     31       //this is the ID of the hidden item
     32      var pgBar = document.getElementById('progress2');
     33     pgBar.style.display = "block";
     34    }
     35   
     36   function hideProgressBar()
     37    {
     38       //this is the ID of the hidden item
     39      var pgBar = document.getElementById('progress2');
     40     pgBar.style.display = "none";
     41    }
     42</script>
     43
    2644
    2745<script language="JavaScript" type="text/javascript">
     
    5573}
    5674
    57 
    58     function showProgressBar()
    59     {
    60        //this is the ID of the hidden item
    61       var pgBar = document.getElementById('progress2');
    62      pgBar.style.display = "block";
    63     }
    6475
    6576</script>
     
    105116</form>
    106117
     118<!-- indeterminate mode progress bar -- displays while files are being unzipped; hidden at first -->
    107119
    108 <!-- indeterminate mode progress bar -- displays while files are being unzipped; hidden at first -->
    109120<table class="noBorder" align="center">
    110121  <tr class="noBorder">
    111122    <td class="noBorder">
    112     <div id="progress2" style="display: none"><script type="text/javascript">var progressbar2 = new VistaProgressBar({id:'progress2',width:200,mode:'indeterminate',highlightspeed:1000});</script>
     123    <div id="progress2" style="display: none"><script type="text/javascript">var progressbar2 = new VistaProgressBar({id:'progress2',width:300,mode:'indeterminate',highlightspeed:1000});</script>
    113124    <p>
    114125    Examining zip file contents -- please wait......</div>
     
    116127  </tr>
    117128</table>
     129
     130
    118131
    119132
Note: See TracChangeset for help on using the changeset viewer.