[1] | 1 | <style type="text/css"> |
---|
| 2 | ul#navsecciones , ul#nav1 |
---|
| 3 | { |
---|
| 4 | color: #036; |
---|
| 5 | font-size: 12px; |
---|
| 6 | font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; |
---|
| 7 | font-weight: bold; |
---|
| 8 | list-style-type: none; |
---|
| 9 | list-style-position: outside; |
---|
| 10 | margin: 0; |
---|
| 11 | padding: 0; |
---|
| 12 | width: 120px; |
---|
| 13 | border-top: medium none; |
---|
| 14 | border-bottom: 1px solid #036; |
---|
| 15 | margin-left:0px |
---|
| 16 | } |
---|
| 17 | #nav1 a {color:brown} |
---|
| 18 | ul#navsecciones li |
---|
| 19 | { |
---|
| 20 | position: relative; |
---|
| 21 | } |
---|
| 22 | li ul#navsecciones |
---|
| 23 | { |
---|
| 24 | display: none; |
---|
| 25 | position: absolute; |
---|
| 26 | top: 0; |
---|
| 27 | right: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 | { |
---|
| 35 | background-color: #f5deb3 |
---|
| 36 | } |
---|
| 37 | /* End */ |
---|
| 38 | ul#navsecciones li a:hover |
---|
| 39 | { |
---|
| 40 | color: #036; |
---|
| 41 | background-color: #87cefa |
---|
| 42 | } /* Hover Styles */ |
---|
| 43 | |
---|
| 44 | li ul#navsecciones li a |
---|
| 45 | { |
---|
| 46 | padding: 5px |
---|
| 47 | } /* Sub Menu Styles */ |
---|
| 48 | |
---|
| 49 | ul#navsecciones li a |
---|
| 50 | { |
---|
| 51 | color: #036; |
---|
| 52 | font-size: 11px; |
---|
| 53 | text-decoration: none; |
---|
| 54 | background-color: #add8e6; |
---|
| 55 | display: block; |
---|
| 56 | padding: 5px; |
---|
| 57 | border-style: solid solid none; |
---|
| 58 | border-width: 1px 1px 0; |
---|
| 59 | border-color: #036 |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | li:hover ul#navsecciones, li.over ul#navsecciones |
---|
| 63 | { |
---|
| 64 | background-color: #f5deb3; |
---|
| 65 | display: block |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | #navsecciones .current |
---|
| 69 | { |
---|
| 70 | background-color: #f5deb3 |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | #columnaderecha |
---|
| 74 | { |
---|
| 75 | width:120px; |
---|
| 76 | float:right; |
---|
| 77 | padding:0px; |
---|
| 78 | margin:0px; |
---|
| 79 | overflow:visible; |
---|
| 80 | } |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | </style> |
---|
| 84 | <div id="menusectores"> |
---|
| 85 | |
---|
| 86 | <script type="text/javascript"> |
---|
| 87 | // JavaScript Document |
---|
| 88 | |
---|
| 89 | startList = function() { |
---|
| 90 | if (document.all&&document.getElementById) { |
---|
| 91 | navRoot = document.getElementById("navsecciones"); |
---|
| 92 | for (i=0; i<navRoot.childNodes.length; i++) { |
---|
| 93 | node = navRoot.childNodes[i]; |
---|
| 94 | if (node.nodeName=="LI") { |
---|
| 95 | node.onmouseover=function() { |
---|
| 96 | this.className+=" over"; |
---|
| 97 | } |
---|
| 98 | node.onmouseout=function() { |
---|
| 99 | this.className=this.className.replace(" over", ""); |
---|
| 100 | } |
---|
| 101 | } |
---|
| 102 | } |
---|
| 103 | } |
---|
| 104 | } |
---|
| 105 | window.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> |
---|