source: trunk/www/admin/extensions/frameset.jsp @ 5919

Last change on this file since 5919 was 5919, checked in by Nicklas Nordborg, 10 years ago

References #1655: GUI improvements

Fixes image alignment in several places.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 2.4 KB
Line 
1<%-- $Id: frameset.jsp 5919 2012-01-09 13:51:06Z nicklas $
2  ------------------------------------------------------------------
3  Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg
4
5  This file is part of BASE - BioArray Software Environment.
6  Available at http://base.thep.lu.se/
7
8  BASE is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License
10  as published by the Free Software Foundation; either version 3
11  of the License, or (at your option) any later version.
12
13  BASE is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  GNU General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with BASE. If not, see <http://www.gnu.org/licenses/>.
20  ------------------------------------------------------------------
21
22  @author Nicklas
23  @version 2.0
24--%>
25<%@ page pageEncoding="UTF-8" session="false"
26  import="net.sf.basedb.core.SessionControl"
27  import="net.sf.basedb.clients.web.Base"
28  import="net.sf.basedb.util.Values"
29%>
30<%@ taglib
31  prefix="base" uri="/WEB-INF/base.tld"
32%>
33<%
34SessionControl sc = Base.getExistingSessionControl(pageContext, true);
35String ID = sc.getId();
36%>
37
38<base:page type="popup" title="">
39<base:head scripts="dragdrop.js">
40  <script>
41 
42  function repositionX(deltaX, deltaY)
43  {
44    var f1 = document.getElementById('f1');
45    var d1 = document.getElementById('d1');
46    var f2 = document.getElementById('f2');
47
48    f1.style.width = (parseInt(f1.style.width) +deltaX) + 'px';
49    d1.style.left = (parseInt(d1.style.left) + deltaX) + 'px';
50    f2.style.left = (parseInt(f2.style.left) + deltaX) + 'px';
51  }
52  </script>
53  </base:head>
54 
55  <base:body>
56    <div class="absolutefull" onmousemove="DragDrop.drag(event)" onmouseup="DragDrop.endDrag(event)">
57      <div id="f1" class="absolutefull" style="width: 294px;"><iframe name="tree" 
58          src="tree.jsp?ID=<%=ID%>" 
59          style="width: 100%; height: 100%;"
60        ></iframe></div>
61       
62      <div id="d1" class="absolutefull filled leftborder rightborder" 
63        style="left: 294px; width: 4px; cursor: col-resize; z-index: 99;"
64        onmousedown="DragDrop.beginDrag(event, true, false, repositionX)" 
65        ></div>
66     
67      <div id="f2" class="absolutefull" style="left: 300px;"><iframe name="details" 
68        src="details.jsp?ID=<%=ID%>"
69        style="width: 100%; height: 100%;"
70        ></iframe></div>
71      </div>
72    </div>
73  </base:body>
74</base:page>
75
Note: See TracBrowser for help on using the repository browser.