Hallo,
ich weiss nicht, ob ich hier richtig bin. Ich habe ehrlich gesgt von Typo3 auch net viel Ahnung. Habe erst jetzt angefangen mich damit zu beschäftigen und will eine swf. Datei auf eine Unterseite einbinden.
Und schon habe ich da meine Probleme.
Ich habe eine js. Datei erstellt und möchte es in HTML Body einfügen. Nun meine Frage: Muss ich in diesem Fall TypoScript verwenden ode rklappt es auch so:
<script language="JavaScript" type="text/javascript">
<!--
var hasProductInstall = DetectFlashVer(6, 0, 65);
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if ( hasProductInstall && !hasRequestedVersion ) {
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
var MMredirectURL = window.location;
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
var MMdoctitle = document.title;
AC_FL_RunContent(
"src", "playerProductInstall",
"FlashVars", "lang=en&domain=http://vuk.no-ip.org&full_path=/gh/&google_maps_key=ABQIAAAAF5GHwa7hgxz5etSP-jJVwhSK_rP-_Usta8fEpiVtC50gLzF69hQ6_VK0zgpArekpmdsRCJK2Vnp60A" + "&" + "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "myTree",
"quality", "high",
"bgcolor", "#869ca7",
"name", "myTree",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else if (hasRequestedVersion) {
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
AC_FL_RunContent(
"src", "myTree",
"FlashVars", "lang=en&domain=http://vuk.no-ip.org&full_path=/gh/&google_maps_key=ABQIAAAAF5GHwa7hgxz5etSP-jJVwhSK_rP-_Usta8fEpiVtC50gLzF69hQ6_VK0zgpArekpmdsRCJK2Vnp60A",
"width", "100%",
"height", "100%",
"align", "middle",
"id", "myTree",
"quality", "high",
"bgcolor", "#869ca7",
"name", "myTree",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else {
var alternateContent = 'Alternate HTML content should be placed here. '
+ 'This content requires the Adobe Flash Player. '
+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
document.write(alternateContent);
}
// -->
</script>
<noscript>