source: ether_eccad/trunk/ECCAD_INTERFACE/JSF/commun/tabs_em.jsp @ 68

Last change on this file since 68 was 68, checked in by cbipsl, 14 years ago

commit v1 eccad

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1<%@ page contentType="text/html" %>
2<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
3<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
4
5<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
6<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> 
7
8<f:verbatim>
9<script type="text/javascript">
10                function changePage(page) {
11                        window.location = page;
12                }
13               
14                function initTabs(valeur) {
15                        document.getElementById("tab1").className="tab1";
16                        document.getElementById("tab2").className="tab2";
17                        document.getElementById(valeur).className=valeur+"Selected";
18                }
19</script>
20               
21<div class="tabs">
22</f:verbatim>
23
24                        <a4j:outputPanel layout="block" style="cursor: pointer" > 
25<f:verbatim>
26
27                        <div id="tab1" class="tab1" onclick="changePage('./page_critere.jsf')">
28                                Data
29                </div>
30</f:verbatim>
31                                        <rich:toolTip> 
32                                                        <h:panelGrid border="0" columns="1" > 
33                                                        <h:outputText value="Emission & Ancillary Data" /> 
34                                                        </h:panelGrid> 
35                                                        </rich:toolTip>
36                        </a4j:outputPanel> 
37                       
38                                        <a4j:outputPanel layout="block" style="cursor: pointer" > 
39<f:verbatim>
40                                        <div id="tab2" class="tab2" onclick="changePage('./page_emission.jsf')">
41                                               
42                                        Emission calculation
43                                        </div>
44</f:verbatim>
45                                                        <rich:toolTip> 
46                                                        <h:panelGrid border="0" columns="1" > 
47                                                        <h:outputText value="Currently only available for Biomass Burning" /> 
48                                                        </h:panelGrid> 
49                                                        </rich:toolTip>
50                        </a4j:outputPanel> 
51               
52<f:verbatim>   
53               
54               
55                       
56
57    <br style="clear: both"/>
58</div>
59
60
61
62</f:verbatim>
63
Note: See TracBrowser for help on using the repository browser.