Revision 3471,
476 bytes
checked in by eduardoalex, 13 years ago
(diff) |
Ticket #1216 - Incorporacao do modulo de relatorios ao ambiente.
|
Rev | Line | |
---|
[3471] | 1 | var Aberto = "";
|
---|
| 2 | var Fechado = "";
|
---|
| 3 |
|
---|
| 4 | function preload(){
|
---|
| 5 | if(document.images){
|
---|
| 6 | Aberto = new Image(10,7)
|
---|
| 7 | Fechado = new Image(10,7)
|
---|
| 8 | Aberto.src = "./templates/default/images/mais.png"
|
---|
| 9 | Fechado.src = "./templates/default/images/menos.png"
|
---|
| 10 | }
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | function mostra(item,item2){
|
---|
| 14 | if (item.style.display=='none'){
|
---|
| 15 | item.style.display='';
|
---|
| 16 | item2.src=Fechado.src
|
---|
| 17 | }else{
|
---|
| 18 | item.style.display='none'
|
---|
| 19 | item2.src=Aberto.src
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
| 22 | preload();
|
---|
Note: See
TracBrowser
for help on using the repository browser.