Commit ffb0184ddad915e55cf15e93969970b074ccc209
1 parent
827e5a9f
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
34 additions
and
8 deletions
Show diff stats
classesjs/classe_guias.js
| ... | ... | @@ -974,11 +974,39 @@ i3GEO.guias = |
| 974 | 974 | * estilo alterado para none, tornando-se invisíveis |
| 975 | 975 | * |
| 976 | 976 | */ |
| 977 | + ajustaGuiaFerramenta : function(idjanela,namespace){ | |
| 978 | + var c = $i("i3GEOF.legenda_corpo"), | |
| 979 | + h, | |
| 980 | + g, | |
| 981 | + temp; | |
| 982 | + | |
| 983 | + c.style.overflow = "unset"; | |
| 984 | + c.style.overflow = "none"; | |
| 985 | + | |
| 986 | + h = c.style.height; | |
| 987 | + h = parseInt(h,10) - 40 + "px"; | |
| 988 | + for (g = 0; g < 12; g++) { | |
| 989 | + temp = $i(namespace | |
| 990 | + + "guia" | |
| 991 | + + g | |
| 992 | + + "obj"); | |
| 993 | + if(temp){ | |
| 994 | + temp.style.height = h; | |
| 995 | + temp.style.width = "100%"; | |
| 996 | + temp.style.overflow = "auto"; | |
| 997 | + } | |
| 998 | + } | |
| 999 | + }, | |
| 977 | 1000 | mostraGuiaFerramenta : function(guia, namespace) { |
| 978 | 1001 | var g, Dom = YAHOO.util.Dom; |
| 979 | 1002 | if (!namespace) { |
| 980 | 1003 | namespace = "guia"; |
| 981 | 1004 | } |
| 1005 | + Dom.setStyle( | |
| 1006 | + guia | |
| 1007 | + + "obj", | |
| 1008 | + "overflow", | |
| 1009 | + "auto"); | |
| 982 | 1010 | for (g = 0; g < 12; g++) { |
| 983 | 1011 | Dom.setStyle( |
| 984 | 1012 | namespace | ... | ... |
ferramentas/legenda/index.js
ferramentas/legenda/template_mst.html
| 1 | -<div id='guiasYUI' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> | |
| 1 | +<div class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> | |
| 2 | 2 | <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'> |
| 3 | 3 | <li> |
| 4 | - | |
| 5 | 4 | <div id='i3GEOlegendaguia6' style='text-align: center; left: 0px;'> |
| 6 | 5 | <a> |
| 7 | 6 | <em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'> </em> |
| 8 | 7 | </a> |
| 9 | 8 | </div> |
| 10 | - | |
| 11 | 9 | </li> |
| 12 | 10 | <li> |
| 13 | - | |
| 14 | 11 | <div id='i3GEOlegendaguia1' style='text-align: center; left: 0px;'> |
| 15 | 12 | <a> |
| 16 | 13 | <em>{{{legenda}}}</em> |
| 17 | 14 | </a> |
| 18 | 15 | </div> |
| 19 | - | |
| 20 | 16 | </li> |
| 21 | 17 | <li> |
| 22 | - | |
| 23 | 18 | <div id='i3GEOlegendaguia2' style='text-align: center; left: 0px;'> |
| 24 | 19 | <a> |
| 25 | 20 | <em>{{{classes}}}</em> |
| ... | ... | @@ -72,13 +67,13 @@ |
| 72 | 67 | <tr> |
| 73 | 68 | <td>{{{de}}}:</td> |
| 74 | 69 | <td> |
| 75 | - <div class='i3geoForm100 i3geoFormIconeAquarela' > | |
| 70 | + <div class='i3geoForm100 i3geoFormIconeAquarela'> | |
| 76 | 71 | <input type='text' id='i3GEOlegendaacori' value='0,0,0' /> |
| 77 | 72 | </div> |
| 78 | 73 | </td> |
| 79 | 74 | <td>{{{ate}}}:</td> |
| 80 | 75 | <td> |
| 81 | - <div class='i3geoForm100 i3geoFormIconeAquarela' > | |
| 76 | + <div class='i3geoForm100 i3geoFormIconeAquarela'> | |
| 82 | 77 | <input type='text' id='i3GEOlegendaacorf' value='255,255,255' /> |
| 83 | 78 | </div> |
| 84 | 79 | </td> | ... | ... |