| Zeile 1: |
Zeile 1: |
| | == Übersicht über die Kategorien == | | == Übersicht über die Kategorien == |
| − |
| |
| − |
| |
| − | KlappTabelle.marker = '/js/bilder/pfeil-zu.gif';
| |
| − | KlappTabelle.init(setEvents);
| |
| − |
| |
| − | // Das ist die Callback Funktion die aufgerufen wird,
| |
| − | // wenn eine Klapptabelle gefunden wird
| |
| − | function setEvents(klapptabelle){
| |
| − |
| |
| − | // Event für den Button <alle Schliessen>
| |
| − | document.getElementById('closeAll').onclick = function() {
| |
| − | klapptabelle.hideAll();
| |
| − | };
| |
| − | // Event für den Button <alle öffnen>
| |
| − | document.getElementById('showAll').onclick = function() { klapptabelle.showAll();};
| |
| − |
| |
| − | klapptabelle.onopen = function(p, row) {
| |
| − | this.doCloseAll = document.getElementById('close').checked;
| |
| − | row.style.background ='#ff0'
| |
| − | };
| |
| − | klapptabelle.onclose = function(p, row){
| |
| − | row.style.background =''
| |
| − | };
| |
| − | }
| |
| − |
| |
| − | {| class="wikitable sortable mw-nocollapsible"
| |
| − | !colspan="2"| Title|| Hersteller || Maschine || Maße class ="wikitable sortable mw-collapsible" || Preis
| |
| − | |-
| |
| − | | Hersteller || Maschine || Maße || Preis ||
| |
| − | {| class="wikitable sortable mw-collapsible"
| |
| − | | Maße
| |
| − | |- class="mw-nocollapse"
| |
| − | | Breite || Höhe || Tiefe
| |
| − | |- class="mw-nocollapse"
| |
| − | ||the
| |
| − | |quick
| |
| − | |-
| |
| − | ||brown
| |
| − | |fox
| |
| − | |-
| |
| − | |}
| |
| − |
| |
| − |
| |
| − |
| |
| − | KlappTabelle.marker = '/js/bilder/pfeil-zu.gif';
| |
| − | KlappTabelle.init(setEvents);
| |
| − |
| |
| − | // Das ist die Callback Funktion die aufgerufen wird,
| |
| − | // wenn eine Klapptabelle gefunden wird
| |
| − | function setEvents(klapptabelle){
| |
| − |
| |
| − | // Event für den Button <alle Schliessen>
| |
| − | document.getElementById('closeAll').onclick = function() {
| |
| − | klapptabelle.hideAll();
| |
| − | };
| |
| − | // Event für den Button <alle öffnen>
| |
| − | document.getElementById('showAll').onclick = function() { klapptabelle.showAll();};
| |
| − |
| |
| − | klapptabelle.onopen = function(p, row) {
| |
| − | this.doCloseAll = document.getElementById('close').checked;
| |
| − | row.style.background ='#ff0'
| |
| − | };
| |
| − | klapptabelle.onclose = function(p, row){
| |
| − | row.style.background =''
| |
| − | };
| |
| − | }
| |