Vorlage:BildGrossZoom
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
Zeile 45: | Zeile 45: | ||
if (eDivBGZZoomNL) { | if (eDivBGZZoomNL) { | ||
eDivBGZZoomNL.id = 'BGZ-zoom'; | eDivBGZZoomNL.id = 'BGZ-zoom'; | ||
- | LoadBGZZoom(); | + | LoadBGZZoom(false); |
} | } | ||
break; | break; | ||
case 'BGZFSZoom': | case 'BGZFSZoom': | ||
+ | LoadBGZZoom(true); | ||
break; | break; | ||
} | } | ||
Zeile 69: | Zeile 70: | ||
eHead.appendChild(LoadScriptElem); | eHead.appendChild(LoadScriptElem); | ||
} | } | ||
- | function LoadBGZZoom() | + | function LoadBGZZoom(bLoadFS) |
{ | { | ||
var DateObj = new Date(); | var DateObj = new Date(); | ||
BGZLoadTimeStart = DateObj.getTime()/1000; | BGZLoadTimeStart = DateObj.getTime()/1000; | ||
var sAmp = ('&').replace(/amp;/,''); | var sAmp = ('&').replace(/amp;/,''); | ||
- | loadScript('/bogenwiki/extensions/BGZ/BGZGate.php?BI=</html>{{{Bild}}}<html>'+sAmp+'CL'+sAmp+'_WU=Nugman'+sAmp+'_GE=</html>{{{Gebiet}}}<html>'+sAmp+'_GE1=</html>{{{Gebiet1|}}}<html>'+sAmp+'_KN=</html>{{{MiNr}}}<html>',BGZZoomInit); | + | if (bLoadFS) |
+ | loadScript('/bogenwiki/extensions/BGZ/BGZGate.php?FSH=</html>{{{Bild}}}<html>'+sAmp+'CL'+sAmp+'_GE=</html>{{{Gebiet}}}<html>'+sAmp+'_GE1=</html>{{{Gebiet1|}}}<html>'+sAmp+'_KN=</html>{{{MiNr}}}<html>'+sAmp+'_PN=Test_Bogen-Zoom'); | ||
+ | else | ||
+ | loadScript('/bogenwiki/extensions/BGZ/BGZGate.php?BI=</html>{{{Bild}}}<html>'+sAmp+'CL'+sAmp+'_WU=Nugman'+sAmp+'_GE=</html>{{{Gebiet}}}<html>'+sAmp+'_GE1=</html>{{{Gebiet1|}}}<html>'+sAmp+'_KN=</html>{{{MiNr}}}<html>',BGZZoomInit); | ||
+ | |||
} | } | ||
var BGZZoomInit = function() { | var BGZZoomInit = function() { |
Version vom 12:13, 11. Nov. 2018
Beschreibung
| ||||||
Beispiele
| ||||||
Zurück zur Referenzliste der Vorlagen |