source: themes/cta/inc/inc-menusector.html @ 1

Last change on this file since 1 was 1, checked in by guille, 17 years ago

carga incial

File size: 2.6 KB
Line 
1<style type="text/css">
2ul#navsecciones , ul#nav1 
3{ 
4color: #036; 
5font-size: 12px; 
6font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; 
7font-weight: bold; 
8list-style-type: none; 
9list-style-position: outside; 
10margin: 0; 
11padding: 0; 
12width: 120px; 
13border-top: medium none; 
14border-bottom: 1px solid #036;
15margin-left:0px 
16}
17#nav1 a  {color:brown}
18ul#navsecciones  li 
19{
20position: relative;
21}
22li ul#navsecciones   
23{
24display: none; 
25position: absolute; 
26top: 0; 
27right:120px
28}
29/* Fix IE. Hide from IE Mac \*/
30* html ul#navsecciones li  { height: 1%; float: right }
31* html ul#navsecciones li a { height: 1%; }
32* html li:hover ul#navsecciones, li.over ul#navsecciones       { background-color: #f5deb3; display: block }
33* html #navsecciones .current
34{
35background-color: #f5deb3
36}
37/* End */
38ul#navsecciones li a:hover       
39{ 
40color: #036; 
41background-color: #87cefa 
42} /* Hover Styles */
43
44li ul#navsecciones li a     
45{ 
46padding: 5px 
47} /* Sub Menu Styles */
48
49ul#navsecciones li a         
50{ 
51color: #036; 
52font-size: 11px; 
53text-decoration: none; 
54background-color: #add8e6; 
55display: block; 
56padding: 5px; 
57border-style: solid solid none; 
58border-width: 1px 1px 0; 
59border-color: #036 
60}
61
62li:hover ul#navsecciones, li.over ul#navsecciones     
63{ 
64background-color: #f5deb3; 
65display: block 
66}
67
68#navsecciones .current
69{
70background-color: #f5deb3
71}
72
73#columnaderecha
74{
75width:120px;
76float:right;
77padding:0px;
78margin:0px;
79overflow:visible;
80}
81
82
83</style>
84<div id="menusectores"> 
85
86<script type="text/javascript">
87// JavaScript Document
88
89startList = function() {
90if (document.all&&document.getElementById) {
91navRoot = document.getElementById("navsecciones");
92for (i=0; i<navRoot.childNodes.length; i++) {
93node = navRoot.childNodes[i];
94if (node.nodeName=="LI") {
95node.onmouseover=function() {
96this.className+=" over";
97  }
98  node.onmouseout=function() {
99  this.className=this.className.replace(" over", "");
100   }
101   }
102  }
103 }
104}
105window.onload=startList;
106
107</script>
108        <!-- main menu -->
109        <BOUCLE_secciones_ocultas(RUBRIQUES){id_secteur}{titre_mot=Ocultar}{doublons}>
110        </BOUCLE_secciones_ocultas>
111        <BOUCLE_secteurs(RUBRIQUES){id_secteur}{par num titre}>
112       
113                <B_rubriques>
114                <ul id="navsecciones">
115                        <BOUCLE_rubriques(RUBRIQUES){id_parent}{par num titre}{doublons}>               
116                        <li>[(#EXPOSER|<strong>,)]<a href="[(#URL_RUBRIQUE)]" [(#EXPOSER| class='current',)]>[(#TITRE|supprimer_numero)]</a>[(#EXPOSER|</strong>,)]
117                        <BOUCLE_SsRubriques(BOUCLE_rubriques)></BOUCLE_SsRubriques></li>
118                </BOUCLE_rubriques>
119                </ul>
120  </B_rubriques>
121                </BOUCLE_secteurs>
122</div>
Note: See TracBrowser for help on using the repository browser.