So wie sich mir JS- und XML-Dummy die Sache darstellt, wird die XML-Datei vom Modul generiert. Laut Anleitung muß dieses Script angepaßt werden, und zwar soll statt dem X im rot markierten Bereich die Modul-ID eingegeben werden.
Code:
<script type="text/javascript" src="system/modules/mod_megazine/swfobject/swfobject.js"></script>
<script type="text/javascript" src="system/modules/mod_megazine/swfaddress/swfaddress.js"></script>
<script type="text/javascript">
swfobject.embedSWF("system/modules/mod_megazine/megazine/megazine.swf", /* Path to the megazine.swf. You probably won't have to change this. */
"megazine", /* Change this if you use another id for the div to display MegaZine. */
/* (1) */ "750", /* This is the WIDTH of the element used to display MegaZine. */
/* (2) */ "700", /* This is the HEIGHT of the element used to display MegaZine. */
"9.0.115", /* Required Flash Player version. You probably won't have to change this. */
"system/modules/mod_megazine/swfobject/expressInstall.swf", /* Path to the expressInstall.swf to upgrade Flash Player. You probably won't have to change this. */
{
xmlFile : "megazineX.xml", /* Used to pass the name of the xml file to use. Path is relative to the swf! */
/* Settings for liquid scaling. If minScale = maxScale liquid scaling is disabled. */
minScale : 1.0, /* Minimum scaling factor. Default is 1.0, i.e. the book can not get smaller than it's 100% size. */
maxScale : 1.0, /* Maximum scaling factor. Default is 1.0, i.e. the book can not get bigger than it's 100% size. */
top: "auto" /* Determines the height of the empty space above pages in pixels */
},
{
/* (3) */ bgcolor : "#333333", /* This is the background color used for the Flash element. */
/* (4) */ //wmode : "transparent", /* Remove the // to enable transparency (show HTML background). Not recommended if using videos. */
allowFullscreen : "true" /* Required for fullscreen mode. */
},
{id : "megazine"}); /* Required for SWFAddress. */
</script>
Leerzeichen sind vor der XML-Deklaration nicht drin, dieses Leerzeichen in kommt immer automatisch nach dem Speichern.
Ich glaub, ich mach so auf die Schnelle lieber eine andere Präsentation
Lesezeichen